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


Joined: 12 Aug 2003
Posts: 5

PostPosted: Tue Aug 12, 2003 12:35 pm   

Capture the group
 
I usually play mud as a healer, wich require my constant attention to every member of the group and his condition.
Is there a posibility to capture all the group in a different window, and to refresh it every time I send a group command to the mud?

I was trying to use the #cap comand, but unsuccessfuly - it captures only the first row, and I need to see all the members of the group.
Reply with quote
Caled
Sorcerer


Joined: 21 Oct 2000
Posts: 821
Location: Australia

PostPosted: Tue Aug 12, 2003 3:39 pm   
 
give examples of mud output. Cant give you a solution without a clue as to what *you* are seeing...because without knowing what you're seeing, we don't know what you're wanting, exactly.
Reply with quote
Svetik
Newbie


Joined: 12 Aug 2003
Posts: 5

PostPosted: Tue Aug 12, 2003 8:58 pm   
 
this is the mud output:

91H 72M 82V 607X 110C EXC:NWS>
Name H Ì V
--------------------------------------
Keren |||| ||||| |||
Morvel ||||| ||| ||||

now I need to capture the whole table in the new window. the only thing that changes it is the quantity of the {|}
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Aug 12, 2003 10:25 pm   
 
You need to identify some particular line that always appears after the output from the group command has finished. In this case, I'll assume that it is a blank line, but if there is a better one, change the temporary trigger's pattern:
#ALIAS group {#T+ capGroup;#TEMP {$} {#T- capGroup};~group}
#TRIGGER "capGroup" {*} {#CAPTURE group}

What this does is create an alias that will enable the trigger that will capture the info. The alias also creates a temporary trigger that will check to see if the output from the group command has finished and then sends the command to the MUD.
Reply with quote
Svetik
Newbie


Joined: 12 Aug 2003
Posts: 5

PostPosted: Wed Aug 13, 2003 9:37 am   
 
Thanks, it is working, but only when there is no spam. and I need it for the times when there are to much spam to see anything. those times - i give the group comand and the reaction comes after 1-2 rounds, so I see the fight insted of the group in the new window :(

also, some times the output is like this:
91H 72M 82V 607X 110C EXC:NWS> Name H Ì V
--------------------------------------
Keren |||| ||||| |||
Morvel ||||| ||| ||||

and now it does not work :(
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