wow 中第一个LUA程序,HELLO VITRUM

function hello_world_initialize()
— add our very first chat command!
SlashCmdList["HELLOW"] = hello_world_command;
SLASH_HELLOW1 = "/hellow";
SLASH_HELLOW2 = "/hw";
end

function hello_world_command(msg)
— this function handles our chat command
message(msg);
end