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
jurz
Novice


Joined: 22 Feb 2002
Posts: 48
Location: Latvia

PostPosted: Wed Jul 30, 2003 5:03 pm   

Capture problem
 
Hi,

I've following mud output

HP: 614/631 CP: 375/375 >[war] Torturer : test3
or also might be
[war] Torurer : test3

and I'm capturing this to another window when the output
matches 2nd version everything is ok I got clear channel talk in
another window, however when mud outputs 1st variant I get prompt
crap in window.

Can I somehow modify the text that zmud captures, so that
I get clear channel talk in a window?


Thanks in advance
-Jurz
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Jul 31, 2003 12:39 am   
 
You could use the #WINDOW command to specific text in the specific window. You should be cautious of this however. The text you are looking to capture is user text, and depending on your trigger design a malicious user could adversly affect your scripts. If the trigger is designed to not accept special characters then this would not be a problem, but some lines would never get captured. The choice of which trade off to take is yours.
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