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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Ambelghan
Novice


Joined: 04 Apr 2010
Posts: 49

PostPosted: Sat May 15, 2010 8:53 am   

Help:My new text window is grabbing other stuff
 
Hi, let's say I created a new window for duplicating speech from anything, it works well. and I have it in a split with my main MUD window. The problem arises when I tab into the speech window and have a script running, the script tends to pause after roundtimes and I notice that script generated ECHOS will go to the speech window if I have it selected. Is there anyway around this? Thanks.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat May 15, 2010 7:01 pm   
 
Use #PRINT.
_________________
EDIT: I didn't like my old signature
Reply with quote
Ambelghan
Novice


Joined: 04 Apr 2010
Posts: 49

PostPosted: Sun May 16, 2010 4:35 am   
 
Replace the #ECHO in all my scripts with #PRINT? OK, thanks. Anyone else have anything to add to the pot?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun May 16, 2010 5:31 am   
 
I could've sworn I posted a different version, so here's the long version:

Code:
------------------------------------------------------
| command | display in window       | triggers match |
------------------------------------------------------
| #ECHO   | that has focus          | yes            |
| #SAY*   | based on script context | yes            |
| #SHOW   | based on script context | yes            |
| #PRINT  | based on script context | no             |
------------------------------------------------------


Basically, #ECHO is designed to print to whatever window that presumably the user is currently paying attention to. Similarly, #ECHO, #SAY, and #SHOW are designed to simulate text from the game so that triggers can match and operate on those messages.
_________________
EDIT: I didn't like my old signature
Reply with quote
Ambelghan
Novice


Joined: 04 Apr 2010
Posts: 49

PostPosted: Sun May 16, 2010 10:35 pm   
 
Thanks MattLofton
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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