|
baldguy633 Newbie
Joined: 08 Nov 2005 Posts: 3
|
Posted: Tue Nov 08, 2005 3:44 pm
Simple question |
How do I keep the text that is sent to the MUD as the result of a successful trigger from being displayed?
Example:
#trigger {{*} arrives from the west} { kill %1}
Then in the screen you'll see:
kill zugg
-------------
The reasoning is, I've got several triggers that send three and four commands and they can get pretty spammy. I'd like to only see the results of the commands that were sent. |
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Tue Nov 08, 2005 4:34 pm |
#send
I think |
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Tue Nov 08, 2005 4:48 pm |
*nod Guinn*
#trigger {{%w} arrives from the west} {#send kill %1} |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Wed Nov 09, 2005 1:08 am |
Actually Vitae your syntax is wrong, due to an error in the Help file. To #SEND a multi word string you need to enclose it in braces {}
#SEND {Kill %1} |
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Wed Nov 09, 2005 1:49 pm |
heh, actually, I use #send alot.
I just forgot to use the {}'s
altho these work fine
#SEND _________________________________________________________________________
#SEND ------------|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|
#SEND "~@GPortal reset order Portal reset order Portal reset order~@M"
And I don't have the {}'s around them.
I've never figured out what reasons some work and some don't. |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Wed Nov 09, 2005 5:37 pm |
a multi word string
All those examples are considered only 1 word with the exception of the last one which is quoted with " " so its treated as a literal and wont expand. |
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Wed Nov 09, 2005 8:30 pm |
Makes sense to me :-)
<3 nexela |
|
|
|
|
|