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
scosglen
Newbie


Joined: 15 Sep 2001
Posts: 4

PostPosted: Sun Oct 30, 2005 5:12 am   

How do I capture a tell and send it to another window?
 
How do I capture a tell and send it to another window?
Reply with quote
Slaem
Apprentice


Joined: 20 Sep 2005
Posts: 135

PostPosted: Sun Oct 30, 2005 7:51 am   
 
This is a very common question, and there are several posts you can view for lots of examples via a Search (try "tells").

Here's the basic example from the #CAPTURE doc:

Quote:
#TRIGGER {tells you} {#CAP tell;#GAG}
When a line containing the string ‘tells you’ is received from the MUD, the capture command copies the line to the tell window, and the gags it from the current window.



Also see the documentation for #WINDOW, #TRIGGER, and #GAG to learn about those commands. (click the words to visit the doc pages)
Reply with quote
Apollyon
Wanderer


Joined: 02 Oct 2001
Posts: 76
Location: USA

PostPosted: Fri Nov 04, 2005 5:23 pm   
 
Are you trying to send tells that someone is sending you to your current window? If so you could try something like this:

#trigger {(*) tells you, '(*)} {#echo %1 just told me(CHARNAME) "%2"}

If you use something like that, no matter what window you are in, when someone sends a tell to you it will pop up

#alias {Breply} {:Bob:reply %-1} [for an alt named Bob]

you can then use that alias to send a reply using the character that was sent the tell
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