Way to swallow input but keep reply on trigger? |
Way to swallow input but keep reply on trigger? |
Guest_Ellerisse_* |
May 11 2003, 10:08 AM
Post
#1
|
Guests |
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. |
|
|
May 12 2003, 10:41 PM
Post
#2
|
|
Advanced Member Group: Members Posts: 65 Joined: 2-May 03 From: Austin, Texas, damnit. Member No.: 5 |
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 -------------------- |
|
|
Lo-Fi Version | Time is now: 1st November 2024 - 03:25 AM |