|
Li Newbie
Joined: 23 May 2010 Posts: 1
|
Posted: Sun May 23, 2010 6:44 am
help on trigger if |
my trigger is very simple but i cant find this in help files...
pattern:
ABC gives you 100 gold.
(the gold value range is from 1 to 300)
if the gold value is > 100, then put the amount i got into a chest e.g {put 152 gold in chest}
if the gold value is <= 100, the drop the amount e.g {drop 32 gold}
thanks a lot |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Sun May 23, 2010 9:21 am |
#TR {gives you (%d) gold.} {#IF (%1>100) {put %1 gold in chest} {drop %1 gold}}
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|