[FMJ]chode Posted May 5, 2005 Share Posted May 5, 2005 Can someone just quickly do me a whileloop looking like the folowing. I can't join IRC anymore due to my internet and i have nowhere else to turn if $readini(thing.ini,thing,$rand(0,10)) isin $readini(thing.ini,main,things) try a different random number <- thats the bit im having trouble with Link to comment
MrJax Posted May 5, 2005 Share Posted May 5, 2005 var %a = $rand(1,10) while ($readini(thing.ini,thing,%a) isin $readini(thing.ini,main,things)) { %a = $rand(1,10) } Something like that? Link to comment
Mike Posted May 5, 2005 Share Posted May 5, 2005 var %a = $rand(0,10) while ($readini(thing.ini,thing,%a) isin $readini(thing.ini,main,things)) { %a = $rand(0,10) } echo $+(",%a,") isn't in it. Edit: Uh, what he said ^ Link to comment
Oli Posted May 5, 2005 Share Posted May 5, 2005 chode next time just msn me man locked. Link to comment
Recommended Posts