Mbwana Beginner
Joined: 18 May 2002 Posts: 10 Location: Canada
|
Posted: Sun May 19, 2002 5:16 pm
Having troubles with vendor script. |
Okay, I want to make it so that my bot only accepts wagers between 100000 coins and 5000000 coins. I've tried to apply this to the vendor script that I already have working, but I cant seem to get it to work. This is the vendor script I have...
Pattern-
%1 gives you %2 coins.
Trigger-
#VAR Ante %2
#VAR Possible %1
#MATH NewGold @CurGold+@Ante
gold
save
Then, I have it connected to another trigger once it saves...
Pattern-
Saved...
Trigger-
#IF (@CurGold=@NewGold) {
#Var player @possible
tell @player Welcome to craps, @player , please tell me your game choice of the games listed in my bio. |Example- tell Zeligar Any, tell Zeligar 7-11, tell Zeligar aces, etc.|
config -prompt
title is playing craps with @player, please wait
#T+ Craps
#T- Vendor
} {}
Somehow I want to make it so that if someone save gave me 50000 coins or 10million coins, he would give it back to the person. Any help would be greatly appreciated.
Mbwana LifeWind
"Hope is the denial of reality." |
|