Results 1 to 5 of 5

Thread: case question

  1. #1
    Join Date
    Sep 2008
    Location
    Chicago
    Posts
    224
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default case question

    How can I use case for something like antiban?

  2. #2
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    yes.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  3. #3
    Join Date
    Sep 2008
    Location
    New Zealand
    Posts
    157
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    By having a random number finder as the case and then executing given chunks if that number is generated e.g:

    SCAR Code:
    case Random(50) of
        0:begin
            //first antirandom function here...
          end;
        1:begin
           //second antirandom function here
          end;
        2:begin
            //third antirandom function here
          end;
        3:begin
            //fourth antirandom function here
          end;
        4:begin
            //fifth antirandom function here
          end;
        5:begin
            //sixth antirandom function here
          end;
    end;

    By using there is a 1/50 chance each of the randoms will occur and a 6/50 chance that any antirandom would occur.

  4. #4
    Join Date
    Sep 2008
    Location
    Chicago
    Posts
    224
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by tank phobia View Post
    By having a random number finder as the case and then executing given chunks if that number is generated e.g:

    SCAR Code:
    case Random(50) of
        0:begin
            //first antirandom function here...
          end;
        1:begin
           //second antirandom function here
          end;
        2:begin
            //third antirandom function here
          end;
        3:begin
            //fourth antirandom function here
          end;
        4:begin
            //fifth antirandom function here
          end;
        5:begin
            //sixth antirandom function here
          end;
    end;

    By using there is a 1/50 chance each of the randoms will occur and a 6/50 chance that any antirandom would occur.

    Thanks!

  5. #5
    Join Date
    Dec 2006
    Location
    Program TEXAS home of AUTOERS
    Posts
    7,934
    Mentioned
    26 Post(s)
    Quoted
    237 Post(s)

    Default

    can be use for alot of stuff like antiban mostly.

    or coord clicking :P

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Case help
    By Aser in forum OSR Help
    Replies: 3
    Last Post: 11-22-2008, 05:21 AM
  2. Question on Case/Of
    By Macrosoft in forum OSR Help
    Replies: 11
    Last Post: 07-25-2008, 04:06 AM
  3. Case..Of Help
    By Drew_Dawg in forum OSR Help
    Replies: 7
    Last Post: 02-02-2008, 11:47 PM
  4. Case OF
    By Jagex_Fagex in forum News and General
    Replies: 3
    Last Post: 10-25-2006, 08:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •