|
Mythprod Beginner
Joined: 09 Sep 2005 Posts: 11
|
Posted: Mon Sep 26, 2005 3:08 am
Sending a string to the window without getting sent to mud |
I have a trigger that i would like to check for a short description of someone and then spit it back out to the screen without sending it to the MUD. I read this somewhere and can't find it now. I can get zmud to spit the name back at me when it sees the string easy enough but can't remember the command to not send to mud.
Thanks! |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Sep 26, 2005 3:21 am |
You have a few choices.
#ECHO, which is supposed to make your text look as though it came from the mud
#SAY, which prints a message plus a newline to the window without sending it to the mud
#SAYPROMPT, which is the same as #SAY but without the newline
#SHOW, which not only prints text but also expands variables and functions
#SHOWDB, which is a #SHOW for database variables to list them in a neat, easy-to-read list |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Mythprod Beginner
Joined: 09 Sep 2005 Posts: 11
|
Posted: Mon Sep 26, 2005 3:32 am |
Thanks!
|
|
|
|
billaben Wanderer
Joined: 02 Sep 2005 Posts: 60
|
Posted: Mon Sep 26, 2005 6:15 am |
Be warned however, anything that hits the screen can activate your Triggers. even #SAY
|
|
|
|
|
|