noobsai Posted May 23, 2014 Posted May 23, 2014 Hi I've added a usable item called cash ticket and all I want is the function that makes the my usable cash ticket generates cashpoints (@cash ) ranging from 10-20 points randomly. Thanks, Quote
Emistry Posted May 23, 2014 Posted May 23, 2014 ...........{ .@amount = rand( 10,20 ); #CASHPOINTS += .@amount; dispbottom "Gained "+.@amount+" Cash"; },{},{} Quote
Emistry Posted May 23, 2014 Posted May 23, 2014 .................{ #CASHPOINTS += rand( 10,20 ); },{},{} Quote
noobsai Posted May 23, 2014 Author Posted May 23, 2014 thank you emistry, how to add a message in the chatbox on how much he get based on the random number. Quote
Question
noobsai
Hi I've added a usable item called cash ticket and all I want is the function that makes the my usable cash ticket generates cashpoints (@cash ) ranging from 10-20 points randomly.
Thanks,
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.