alphadawg Posted November 26, 2013 Share Posted November 26, 2013 I am making a gunning bot for puzzle pirates. I have everything working fine, I just need to set up a anti ban function to randomize the procedures call list. Begin wait(RandomRange(1000,1500)); //gunning algo 1; 2; 3; 4; 5; 6; 7; 8; 9; 0; 11; 12; 13; 14; 15; 16; end.; I would like to randomize between 1-16 in different sequences each time. Thanks for all your help. Quote Link to comment Share on other sites More sharing options...
slacky Posted November 26, 2013 Share Posted November 26, 2013 (edited) Could you give up some more proper piece of code? Wall, I guess I can try to understand what you are after.. if I get it correctly you want something like this: procedure AntiBan; begin case RandomRange(1,16) of 1: DoSomethingRandom1; 2: DoSomethingRandom2; 3: DoSomethingRandom3; 4: DoSomethingRandom4; 5: DoSomethingRandom5; 6: DoSomethingRandom6; //... (you get the point) end; end; Edited November 26, 2013 by slacky Quote Link to comment Share on other sites More sharing options...