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


Joined: 11 Dec 2003
Posts: 17
Location: Netherlands

PostPosted: Wed Jan 21, 2004 10:39 pm   

How2: YES/NO popup
 
Version 4.62 / VME 2.0 valheru.com

TRIGGER
CLASS: Bugs4
PATTERN: An old gardner is wandering around here admiring the wonders of nature.
COMMAND: #YE GARDNER;tgm;#t- Bugs4;#alarm +4:00 {#T+ Bugs4} AlBugs4}

ALIAS
NAME: tgm
COMMAND: kill gardner

What I miss here is that either I choose YES or NO it will still execute the tgm alias.
How can I add the NO value?
Reply with quote
Talahaski
Enchanter


Joined: 10 Oct 2000
Posts: 656
Location: USA

PostPosted: Wed Jan 21, 2004 11:05 pm   
 
#YESNO "Where to you want to go today?" {do this if yes} {do this if no}

so, if you wanted to only perform tgm if yes, then perform everything else no matter what you would do.

#YE GARDNER {tgm} {#noop};#t- Bugs4;#alarm +4:00 {#T+ Bugs4} AlBugs4}

if you want to only do everything if the answer is yes then..

#YE GARDNER {tgm;#t- Bugs4;#alarm +4:00 {#T+ Bugs4} AlBugs4} {#noop}

it all depends on what you want to do.
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