1
General Discussion / OnEvent
« on: October 27, 2017, 03:01:21 pm »
I've been fighting with this off/on for a long while. Can we get a quick example of how to use on Event to cast a spell on someone when they ask for it?
Thank you!
EDIT: Got help from Herc himself!
Basic idea: notify via /tell or /group that it's time to trigger a spell. watch for keywords, then trigger a spell.
on Notifier: Announce: (choose spell) Announce to Group : Annoucement : KeyWord
on Spellcaster: OnEvents : On Incoming Text : "KeyWord|RI_Obj_CB:CastOn[SPELL,ToonName,1]"
Thank you!
EDIT: Got help from Herc himself!
Basic idea: notify via /tell or /group that it's time to trigger a spell. watch for keywords, then trigger a spell.
on Notifier: Announce: (choose spell) Announce to Group : Annoucement : KeyWord
on Spellcaster: OnEvents : On Incoming Text : "KeyWord|RI_Obj_CB:CastOn[SPELL,ToonName,1]"