Code:
local function handler(msg)
msg = string.lower(msg);
local args = {};
for word in string.gmatch(msg,"[^%s]+") do
table.insert(args,word);
end
if ( args[1] == "delete" ) then
KRAHLog_raidmembers = {}
end
end
SLASH_RAIDLOG1, SLASH_RAIDLOG2 = '/rlog', '/raidlog';
SlashCmdList["RAIDLOG"] = handler;
Mhm, but its not working. I am cunfused about LUA, sorry
(