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


Joined: 25 Feb 2004
Posts: 4
Location: USA

PostPosted: Sun Mar 07, 2004 6:57 am   

Quick question
 
i have been trying to make a loop.

for example

#LOOP 10 {show mob %i}

but i run into
*** Press return to continue, q to quit ***

so i miss alot of information.
is there a way to make a loop to run and if it sees
*** Press return to continue, q to quit ***
to press enter by itself and finish the loop

Thank you,

Newbie23452
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun Mar 07, 2004 10:31 am   
 
Check you mud's help for a 'page', 'scroll', 'screen', or 'pause' command. They all pretty much do these days and usually a setting of 0 will tell the mud it doesn't need to produce that highly irritating message.

If your mud doesn't, then based on your description of the problem the mud also exhibits extremely poor behavior by dumping your commands. The scripting solution around this is more trouble then it is worth.
Reply with quote
newbie23452
Newbie


Joined: 25 Feb 2004
Posts: 4
Location: USA

PostPosted: Mon Mar 08, 2004 5:08 am   
 
i did some mroe research and found out if i use this command

#LOOP 10 {show mob %i;" ";" ";" "}
that works. it sends a blank line to the mud. same as pressing enter.
And just use word pad or another program to find and replace

*** Press return to continue, q to quit ***
with a blank
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Mon Mar 08, 2004 12:10 pm   
 
quote:
Originally posted by Vijilante

Check you mud's help for a 'page', 'scroll', 'screen', or 'pause' command. They all pretty much do these days and usually a setting of 0 will tell the mud it doesn't need to produce that highly irritating message.


The "pager" is an important part of any MUD. Of course the design could have been done differently but it all depends on the purpose of the displayed text. In some telnet applications it is a pain to do scrollback. Actually some don't have any scrollback and then the page paus is really important.

This motivates why the feature once was added. Now 5-7 years later we have clients such as zMUD with a huge scrollback. Making use of MXP a MUD can adapt itself to the client and turn off features not needed by the specific client. Unfortunately MXP doesn't appear to be very popular at the moment.
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