I tried finding something about this in the Mudlet manual, and I know it's possible to do in Mush (what I used as a client before Mudlet), but all the commands in the Mudlet manual seem to revolve around sending commands directly to the MUD. I'd like to send certain things to scripts, for example if I'm using the mapper to get somewhere and there's no longer a warp there, I'd like to send the command automatically to the mapper script to 'SPE CLEAR' so I don't get spammed with "There is no wormhole here" messages.
0
Answers
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
You can send to the trigger/alias engine. expandAlias() is how you do that.
Assuming you're not dealing with compiled code (which, unless things have changed with the mapper script since I stopped using Mudlet, you aren't), you might also cut out the middle man by just looking at the mapper's "spe clear" alias and figuring out what function it calls. Once you know that, you can just have your trigger make the same function call.