Thanks
- skj
This forum is a read-only archive of the Gammon Software forum (2000–2026). No new posts can be made. Search the archive.
Posted by Unregistered user on Mon 24 Jul 2000 12:00 AM — 6 posts, 25,951 views.
For reasons that are a bit obscure to me, GetAlias and GetTrigger do not work when called from JScript or PerlScript.
Thus, I have added two new routines, which will appear in version 3.02 - GetAliasInfo and GetTriggerInfo.
These return information about the alias/trigger, using different syntax that does work in any scripting language.
For instance, here is how you would get what a trigger matches on, in JScript:
world.note(world.gettriggerinfo ("monster", 2));
See the web page http://www.gammon.com.au/mushclient/functions.htm for more details.