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
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Fri Jun 19, 2009 11:08 pm   

#PICK Cancel
 
I have a script that uses a #pick, #prompt, and #yesno. Basically it asks some questions. However, the problem is if I cancel out of the #pick I don't want the script to continue and show the #prompt and #yesno. How do I do that? I don't see an option for the cancel button to put in an exit for the script.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Jun 19, 2009 11:36 pm   
 
#ABORT 1 is about your only option if you want to stick with those commands, but that might not always work for you.

Option #2 is where you stop using the commands in favor of their equivalent functions, which can record their answers to variables that you then validate.
_________________
EDIT: I didn't like my old signature
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