snowreaper03 Posted October 23, 2005 Posted October 23, 2005 can u make it do send("$number1") like i know you can set the var and set various var's but i dont know how to make it do the numbers randomly i know im a noob please i just really dont understand this
GaryFrost Posted October 23, 2005 Posted October 23, 2005 can u make it do send("$number1") like i know you can set the var and set various var's but i dont know how to make it do the numbers randomlyi know im a noob please i just really dont understand this look up Random in the helpRandom ( [Min [, Max [, Flag]]] ) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
snowreaper03 Posted October 23, 2005 Author Posted October 23, 2005 look up Random in the helpRandom ( [Min [, Max [, Flag]]] )i knew that much but how do i get it to send the random
snowreaper03 Posted October 23, 2005 Author Posted October 23, 2005 $msg = Random(1, 32, 1)Send($msg)8)haha tks valuater once again
/dev/null Posted October 23, 2005 Posted October 23, 2005 i knew that much but how do i get it to send the randomsend(random(0,100,1))CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *
snowreaper03 Posted October 23, 2005 Author Posted October 23, 2005 crap i need it to be solid numbers not decimals
Valuater Posted October 23, 2005 Posted October 23, 2005 crap i need it to be solid numbers not decimalsthe code i gave you does not send decimals8)
GaryFrost Posted October 23, 2005 Posted October 23, 2005 using the flag, as kurt and valuator showed, example Random(0,100,1) 0 - min 100 - max 1 - result is integer SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
/dev/null Posted October 23, 2005 Posted October 23, 2005 (edited) crap i need it to be solid numbers not decimalsI'm not sure what you mean by "solid numbers", but if you need floating point values, you should take a look at the help file entry of random().EDIT: Wow, three answers within the same minute CheersKurt Edited October 23, 2005 by /dev/null __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now