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


Joined: 24 Nov 2005
Posts: 19

PostPosted: Fri Nov 25, 2005 6:34 am   

Clearing a window
 
How do I go about clearing a window of text? I have a script that captures what skills I need but instead of having it post there EVERY time I ask and have a big long list I want it to clear it when I ask so only 1 instance of asking is in the new window.

Thank you
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Nov 25, 2005 7:00 am   
 
#CLR. If being used from another window, the syntax you will need will be :windowname:#CLR.
_________________
EDIT: I didn't like my old signature
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Fri Nov 25, 2005 6:41 pm   
 
As a collorary you can do something like:

#ALIAS doclear {#FORALL %names {:%i:#CLR}}
Reply with quote
Gwino
Newbie


Joined: 18 Aug 2013
Posts: 1

PostPosted: Tue Oct 15, 2013 1:27 pm   Tried easier way
 
TonDiening wrote:
As a collorary you can do something like:

#ALIAS doclear {#FORALL %names {:%i:#CLR}}


I found that #CLR support argument (window name) so you can try:
#ALIAS docclear {#FORALL %names {#CLR %i}}

I tried and CMUD does not recognize %i after ":" but works using %i as argument for #CLR command

I think for zMud is the same

i Apologize for my bad english

Andrea
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