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
icemanvko
Beginner


Joined: 05 Mar 2003
Posts: 19
Location: USA

PostPosted: Thu Apr 29, 2004 4:49 am   

Sending Triggered Line to Status WIndow
 
#trigger {grouptalks} {addtext gr1 10 1 <???>}

I know this should be an easy one, but i have an alias addtext that will add text to the status bar at the row column specified thanks to Charbal's Status Window Extender.

And I want to have the last 5 group talks be coppied to lines 10-15 of the status window. I know this will require a #case with a variable to place them in 10-15, and I can work that part out. The easy part is the part I can't seem to figure out. How do I copy the entire line into the place where I have the ??? there is probably a #function somewhere that does this. I am just not sure what it is.

If i see mud output like this:
Shalan (100%) grouptalks 'I have tanks'

I want the trigger action to be

addtext gr1 10 1 Shalan (100%) grouptalks 'I have tanks'


Easy enough right? I did 8 searches so i tried to work this out honest :) Please help.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Apr 29, 2004 11:30 am   
 
Your looking for the %line Predefined Variable.
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