Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Mythprod
Beginner


Joined: 09 Sep 2005
Posts: 11

PostPosted: 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!
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
Mythprod
Beginner


Joined: 09 Sep 2005
Posts: 11

PostPosted: Mon Sep 26, 2005 3:32 am   
 
Thanks!
Reply with quote
billaben
Wanderer


Joined: 02 Sep 2005
Posts: 60

PostPosted: Mon Sep 26, 2005 6:15 am   
 
Be warned however, anything that hits the screen can activate your Triggers. even #SAY
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net