Chat Filter
Posted: Sat Nov 13, 2010 11:25 am
Hi,
I've been looking and I can't find anything to do what I need.
I need to get a warning if someone whispers me or chats on guild chat or even says with a certain content, The idea is to get a warning if anyone calls me out or asks me if i'm a bot then I could answer with a random phrase and say something like: "I'm not in the mood now" and either log out or leave.
I've found some relevant events at RoM wiki (the link provided in rom-bot's wiki) but how can I catch those events?
And if rom-bot can't catch events then maybe do a RoM addon that canc cacth them and somehow comunicate w/ rom-bot, directly or indirectly!
Something like:
1--Addons catches event and check its
2--if it contains any of the given strings then tell rom-bot
3--if the comunication is not to interrupt the bot immeadiatly then it is saved in a global and the bots check such global in a given event, say onLeaveCombat as an example.
4--if it has been triggered then respond with a random adequate phrase and load a diff path or simply log out.
(the response part could be managed by the addon instead, it might be simpler)
note: the response would have to wait like a random rest time like 3-5 secs to seem natural!
I've been looking and I can't find anything to do what I need.
I need to get a warning if someone whispers me or chats on guild chat or even says with a certain content, The idea is to get a warning if anyone calls me out or asks me if i'm a bot then I could answer with a random phrase and say something like: "I'm not in the mood now" and either log out or leave.
I've found some relevant events at RoM wiki (the link provided in rom-bot's wiki) but how can I catch those events?
And if rom-bot can't catch events then maybe do a RoM addon that canc cacth them and somehow comunicate w/ rom-bot, directly or indirectly!
Something like:
1--Addons catches event and check its
2--if it contains any of the given strings then tell rom-bot
3--if the comunication is not to interrupt the bot immeadiatly then it is saved in a global and the bots check such global in a given event, say onLeaveCombat as an example.
4--if it has been triggered then respond with a random adequate phrase and load a diff path or simply log out.
(the response part could be managed by the addon instead, it might be simpler)
note: the response would have to wait like a random rest time like 3-5 secs to seem natural!