Page 1 of 1
Addon
Posted: Sat Dec 15, 2012 5:50 am
by Jamnyk
Hi. I need addon who seeing key-word (eg. "war") on guild chat performs some action(eg. say "ok" on guild chat, or click a button). How to make it? Can you help me? (sorry for bad English)
Re: Addon
Posted: Sat Dec 15, 2012 5:55 am
by lisa
Posted: Sat Dec 15, 2012 6:13 am
by Jamnyk
I saw it, but I do not know how to edit that performed my command :/ I edited the last lines in .lua file, but it still not work

It can't read guild chat maybe?
Re: Addon
Posted: Sat Dec 15, 2012 6:33 am
by lisa
lisa wrote:bobdole wrote:Wow this addon looks so cool. So I loaded it and now it does the rest?
It monitors system messages for "enter battle", if you have a different language client then you will need to edit it.
Click the little icon which should be near minimap and you can change the text, also there is a check box you can untick to turn it off.
This is basically my madman addon rehashed to make chars join seige, so there is probably code that isn't needed in the addon itself but it will do the job required.
If you want something else then it would need to be written up specifically for what you want. Not something I have spare time for, just so you know.
Re: Addon
Posted: Sat Dec 15, 2012 6:51 am
by Jamnyk
I want to register guild to siege war, but we have only two, three times in month. I think that addon can help us with that. I mean... one person write "war" on guild chat then addon catch a war...
Useronenick say : War
Usertwonick's addon trying to catch war
Userthreenick's addon trying to catch war
Userfournick's addon trying to catch war
My English is very bad

Re: Addon
Posted: Sat Dec 15, 2012 8:12 am
by lisa
This is an earlier version which monitors guild chat for words, I don't see any reason why you couldn't use the other version that monitors system chat though.
This is the code done when the addon see's the specified text in guild chat, if you want it to do anything else you will have to edit it yourself.
line 178
Code: Select all
SendChatMessage("Entering siege", "GUILD")
GuildHouseWarEnterButton_OnClick()
Re: Addon
Posted: Sat Dec 15, 2012 12:03 pm
by Jamnyk
Eh, it still not work.. But thank you Lisa

Have a nice day
@edit oo, it work! i love you Lisa xD
Re: Addon
Posted: Sat Dec 15, 2012 3:54 pm
by wilifox
Please can you post your modificated addon?? I want register to wars guild thx you
Re: Addon
Posted: Sat Dec 15, 2012 3:59 pm
by Jamnyk
I and my friend work on it... (yy.. work on/in/with?)
Re: Addon
Posted: Sat Dec 15, 2012 6:28 pm
by lisa
wilifox wrote:Please can you post your modificated addon?? I want register to wars guild thx you
Jamnyk wrote:I and my friend work on it... (yy.. work on/in/with?)
I am sorry but I have no idea what either of you are asking/saying.
Both addons posted work as intended, the one posted this topic monitors guild chat, the one posted at the link I provided monitors system chat.
Both do what they are meant to do, they aren't broken or need fixing.
Re: Addon
Posted: Sun Dec 16, 2012 3:33 am
by Jamnyk
Ok Lisa, all is ok. I have only one question : I have this code
Code: Select all
SendChatMessage("Entering siege", "GUILD")
GuildHouseWarEnterButton_OnClick()
and i would like to do break between...
Code: Select all
SendChatMessage("Entering siege", "GUILD")
one second break
GuildHouseWarEnterButton_OnClick()
wait/yrest not work

How to do break between the lines?
Re: Addon
Posted: Sun Dec 16, 2012 4:02 am
by lisa
they decided to take out time functions out of game a long time ago which is why we needed d303fix in order to be ablew to do anything, waiting isn't an easy thing anymore.
Having said that the addon itself should be waiting before doing the code.
in system chat version it is 10 seconds.
in Guild chat version it is 5 seconds -- I think I had the time delay in there *shrug*
Re: Addon
Posted: Sun Dec 16, 2012 8:59 am
by Jamnyk
Ok, thank you for help
