|
symposes Novice
Joined: 26 Apr 2006 Posts: 34
|
Posted: Tue Jun 23, 2009 2:58 am
problems with #gag |
I remember in zmud, I could make an alias
#alias {k} {kill %1;#gag}
and this would send no echo to my screen, but would send the kill command to the mud
Also worked with triggers
#tr {door} {#gag} <- Gagged all instances of the word door
#tr {door} {open door;#gag} <- Gagged the command sent, "open door" but NOT the door string.
My problem is with Cmud handling #gag
#alias {k} {kill %1;#gag} <- works as it did in Zmud
#tr {door} {#gag} <- Also works as it did in Zmud
#tr {door} {open door;#gag} <- This however is my question, this trigger, in Cmud 2.37 will not gag the command sent, but still continue to gag all instances of door
I tried this
#alias {od} {open door;#gag}
#tr {door} {od;#gag}
this appears to gag the string, AND the alias, but if i remove #gag from the trigger, it gags the string, but not the alias. :(
Id like to gag the commands i send, but not gag the text of the trigger.
Im just curious if that is still possible, and ifso, how. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Jun 23, 2009 8:58 pm |
Instead of #GAG, use #SEND or #SENDRAW (this one is if you need to send something completely unprocessed by CMud). Neither echos anything to the screen.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
symposes Novice
Joined: 26 Apr 2006 Posts: 34
|
Posted: Tue Jun 23, 2009 11:48 pm |
That did the trick, thanks!
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|