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
RayJenkins
Newbie


Joined: 20 May 2002
Posts: 2
Location: USA

PostPosted: Sat Apr 20, 2002 11:57 am   

Money restriction
 
Hey, this is my first post :)

I am trying to set up a bot but I have no idea how to restrict the amount of money in order for my trigger to work!

This is the basic outline of what I'm trying to do:
%w gives you %d(between ## and ##) coins

I just can't figure out how to do it, please help!
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Apr 20, 2002 1:40 pm   
 
#IF is the usual method.
#TR {(%w) gives you (%d) coins} {#IF ((%2 > 15) AND (%2 < 30)) {something} {tell %1 wrong amount}}

LightBulb
Vague questions get vague answers
Reply with quote
RayJenkins
Newbie


Joined: 20 May 2002
Posts: 2
Location: USA

PostPosted: Sat Apr 20, 2002 1:49 pm   
 
thank you!!
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