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


Joined: 02 Mar 2007
Posts: 23
Location: China, BeiJing

PostPosted: Sun Mar 11, 2007 8:44 am   

How to send a command to zmud?
 
When I try to buy something and input "list" command, a lot of goods show up, and here is my mud:

== not finished 52% == (ENTER next,q quit,b back)

I use:
#trig {ENTER next,q quit,b back} {#exec {a;a}}
But it doesn't work. I have to press ENTER key and then "a;a" shows up. How to send a "ENTER" to zmud?
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sun Mar 11, 2007 1:23 pm   
 
#TRIGGER "pager" {== not finished %d% == ~(ENTER next,q quit,b back~)} {#CR} "" {prompt|nocr}

#CR sends a carriage return i.e. [enter] the prompt|nocr options tell it to trigger on a line without a newline (mud prompt, most login questions, etc)

Optionally turn up or off your muds page length/scroll command if available.
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
liujc
Beginner


Joined: 02 Mar 2007
Posts: 23
Location: China, BeiJing

PostPosted: Sun Mar 11, 2007 5:28 pm   
 
It worked. Thanks!
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