“...I've been working since 2008 with Ruby / Ruby on Rails, love a bit of Elixir / Phoenix and learning Rust. I also poke through other people's code and make PRs for OpenSource Ruby projects that sometimes make it. Currently working for InPay...”

Rob Lacey
Senior Software Engineer, UK

World Of Warcraft AddOn - pt 1. Hello World

My first World Of Warcraft AddOn, ok so I found a nice tutorial on WowWiki – http://www.wowwiki.com/AddOn_programming_tutorial/Introduction .

- HelloWorld.toc

## Interface: 40000
## Title: Hello World!
## Notes: My first AddOn
HelloWorld.lua
HelloWorld.xml

- HelloWorld.lua

function HelloWorld()
  print("Hello World!");
end

- HelloWorld.xml

<Ui xmlns="http://www.blizzard.com/wow/ui/" 
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
 xsi:schemaLocation="http://www.blizzard.com/wow/ui/ 
 ..\..\FrameXML\UI.xsd">
  <Script File="HelloWorld.lua"/>
  <Frame name="HelloWorldFrame">
    <Scripts>
      <OnLoad>
        HelloWorld();
      </OnLoad>
   </Scripts>
  </Frame>
</Ui>

And there if you look in the chat console ‘Hello World!’. Kungla is so impressed he needs to have a proper long sit down.

GPK of the Day TOMMY Tomb