Once you have the recognition system down, adding in functions would be totally modular.
Want gating? Add the sub routine with the trigger.
Want healing? Do the same
Want pet assistance? Same thing.
A nice little checkbox menu with options for the BOT might be nice to have also
Funny, I was on my way home tonight thinking the same thing. Every sub would simply be called based on a value showing up in the journal. Then a check is run against a) is the person who said that allowed to use me? b) does the person meet the criteria for the action (eg, if it's asking for a res is it a ghost)? c) potential error checking related responses to the request (eg, target not close enough or can't res in that location in journal msg "move closer idiot").
Could be quite cool really. Some other modules could be along the lines of "follow me", "area peace", "peace target", "stay", "repair my stuff", "Add xxx to party", on and on! Great potential!
I'd start by parking him in Doom lol.
The modes could be "Guild Tag", "Password", "Fully Automatic (answer to anyone)", "Fully Manual (answer to nobody until added to the list)". Also something about commands requiring party chat would be good too; is that based on journal text color or is there a better way to do it?
Oh, and Konesky, I never doubted your object type accuracy (and JaF confirmed for me that it was one of four), I just found the "Sandstone Archway" funny and wanted to post it
Your snippet was actually very helpful!
XII