Here's what I'm trying to do (and it was so easy in TF, I find it really irritating that it's such a struggle with Mac clients):
A mush I play on requires
+talk public=<whatever>
I want to type in
=pub <whatever>
I can make a trigger that does this by taking an input of "=pub $$message" and putting in a reply of "+talk public=%%message," which works but also sends the =pub line to the mush, causing a Huh? message. As a post on the old forum noted this could become a problem if one's trigger matched a local command on the game (plus it's rather irritating and spammy getting the error messages). But if I gag the text, none of it goes through to the mush at all - neither the input trigger NOR the "reply." I need the reply to go through, and to have the input devoured.
Enter the MUSHcoder. As long as =pub isn't already a commend try this:
&pubalias me=$=pub ?*:th [switch(%0,{:},+talk public=:%1,{;},+talk public=;%1,+talk public=%0%1)]
Of course... I don't use events except for output kind of things (hilighting pages, and channels, etc). This might not be the kind of solution you're looking for, but it's what I've done on a game.
->Day<-
-----------------------------
"The problem with multiplayer games is that you have to play with other people."
-Gabe @ Penny Arcade
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)