Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: Wishko
Forum: Lua/XML Help 07-10-12, 01:36 PM
Replies: 15
Views: 26,088
Posted By Wishko
msg = msg:lower() for keyword in pairs(mas) do ...

msg = msg:lower()
for keyword in pairs(mas) do
if msg:match(keyword) then
-- the message contains this keyword
break
end
end
Oh, very-very big thanks! I used this and it works...
Forum: Lua/XML Help 07-10-12, 04:17 AM
Replies: 15
Views: 26,088
Posted By Wishko
How I can get a number of key value (msg) in...

How I can get a number of key value (msg) in table (mas)?
It's for this:
Forum: Lua/XML Help 07-09-12, 03:06 PM
Replies: 15
Views: 26,088
Posted By Wishko
Thanks! This addon can send the information...

Thanks!
This addon can send the information manually, but I want to add such a feature so people can get information without my participation. And I do not think that many people will be spamming...
Forum: Lua/XML Help 07-09-12, 02:31 PM
Replies: 15
Views: 26,088
Posted By Wishko
Button:RegisterEvent("CHAT_MSG_GUILD") Button:Regi...

Button:RegisterEvent("CHAT_MSG_GUILD")
Button:RegisterEvent("CHAT_MSG_OFFICER")
Button:RegisterEvent("CHAT_MSG_BATTLEGROUND")
Button:RegisterEvent("CHAT_MSG_BATTLEGROUND_LEADER")
Button:RegisterEvent(...
Forum: Lua/XML Help 07-08-12, 05:04 AM
Replies: 15
Views: 26,088
Posted By Wishko
I try to use they, but after...

I try to use they, but after
RegisterEvent("CHAT_MSG_GUILD")

"channelString", channelNumber, "channelName" returns nil and nothing :(


And I try to use this. When I send a message to the channel...
Forum: Lua/XML Help 07-07-12, 02:46 PM
Replies: 15
Views: 26,088
Posted By Wishko
Very big thanks! I can get name of channel...

Very big thanks!
I can get name of channel (trade, lfg, general), but I can't get name of guild, party, raid, say (recieving nil from channelString, channelNumber, channelName). How to get them?
Forum: Lua/XML Help 07-06-12, 02:47 PM
Replies: 15
Views: 26,088
Posted By Wishko
How to hook message from chat?

Anybody writes message to chat, for example:

[Guild][Name]: chatmessage

How I can hook message text, sender name and channel name from chat?

Thanks!
P.S.: sorry for my english, it's very bad :(
Showing results 1 to 7 of 7