|
yared Beginner
Joined: 11 Dec 2003 Posts: 17 Location: Netherlands
|
Posted: 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? |
|
|
|
Talahaski Enchanter
Joined: 10 Oct 2000 Posts: 656 Location: USA
|
Posted: 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. |
|
|
|
|
|