Is there a reference somewhere when which GMCP information is received? Since stuff like "gmcp.Char.Skills.List" is being used as an event handler it would be handy to know how often to expect that refreshing.
Also I assume all code in a script registered to an event handler is executed every time that event fires? Because I don't want to be executing a huge complicated block of code every few seconds because that is how often the event fires
GMCP events
Re: GMCP events
I don't believe there is a document showing when the various GMCP events arrive... that's controlled by the MUD. Except for when you specifically request something from the MUD over GMCP.
And yes, every time the event fires the code inside the event handler is executed. If you wish to minimize the effect of this, add a flag and check it at the top of the event handler, issuing a return whenever you don't want the rest of the code to run.
And yes, every time the event fires the code inside the event handler is executed. If you wish to minimize the effect of this, add a flag and check it at the top of the event handler, issuing a return whenever you don't want the rest of the code to run.
Re: GMCP events
Just put an echo for when you're doing the processing, run around and play, and you'll know...