Results 1 to 12 of 12

Thread: how do u make something repeat 28 times?

  1. #1
    Join Date
    Jul 2007
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default how do u make something repeat 28 times?

    hey guys,
    need help how do u make finding a bitmap repeat so it clicks on the bitmap 28 times?

    or do u's have a script that picks flax and banks it? and it doesnt need anti random and stuff.

    thanks for either

  2. #2
    Join Date
    Dec 2007
    Location
    Wizzup?'s boat
    Posts
    1,013
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    for i:=0 to i=28 do
    begin
      ...//<what you want it to do
    end;

    you also have to declare variable "i" as

    SCAR Code:
    i : integer;
    Project: Welcome To Rainbow

  3. #3
    Join Date
    Apr 2008
    Location
    Northwest england
    Posts
    1,179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You could do for i := 0 to 28 do

    or repeat
    stuff;
    i:=i+1;
    until i>=28


    if you want to drop invent do

    for i := 1 to 28 do
    dropitem(i);

    EDIT: ive reread your original post and noticed i to pick flax you really dont want to use bitmap
    i wil suggest in order of the most siutable

    TPA's
    FindObjCustom2 by starblaster
    FindObjCustom also by starblaster

    and do repeat
    thing to pick flax
    until invfull;
    Blank!

  4. #4
    Join Date
    Dec 2007
    Location
    Wizzup?'s boat
    Posts
    1,013
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yes, repeat would work too
    Project: Welcome To Rainbow

  5. #5
    Join Date
    Dec 2007
    Location
    Michigan, USA
    Posts
    280
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by waddo View Post
    You could do for i := 0 to 28 do

    or repeat
    stuff;
    i:=i+1;
    until i>=28


    if you want to drop invent do

    for i := 1 to 28 do
    dropitem(i);

    EDIT: ive reread your original post and noticed i to pick flax you really dont want to use bitmap
    i wil suggest in order of the most siutable

    TPA's
    FindObjCustom2 by starblaster
    FindObjCustom also by starblaster

    and do repeat
    thing to pick flax
    until invfull;
    Waddo, in the future, please use scar tags
    SCAR Code:
    procedure NoobUseTags;
    begin
      if NoobNoUseScarTag then
        WriteLn('WTF is wrong with you!?!?');
    end.
    Thanks
    ~MikeVSkater
    Kindof Inactive...

  6. #6
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Very nice piece of code you got there skater.

  7. #7
    Join Date
    Dec 2007
    Location
    Michigan, USA
    Posts
    280
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by itschris917 View Post
    Very nice piece of code you got there skater.
    Thanks =] Figured it'd fit here
    Kindof Inactive...

  8. #8
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    you'd be best off with

    SCAR Code:
    repeat
      //stuff here...
    until(InvFull)

    which makes sure you'll click it until the inventory is full.

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  9. #9
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Or maybe use A GoTo statement with the I Variable used for counting, when to break out of the loop .

  10. #10
    Join Date
    Jul 2007
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol thanks for the help but it doesnt need to be good because i just need it for a private server to use so like which would be the simplest to use?

    to make it pick up flax spin them and then go to bank and bank them?

  11. #11
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    repeat

    until(InvFull)

    would be best.

    if it's timer's server please avoid lagging it too much...

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  12. #12
    Join Date
    Jul 2007
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nah its not his server its ummm advanced scape it really good :P

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How Do I Make The Script Repeat Itself?
    By jlbmc in forum OSR Help
    Replies: 4
    Last Post: 01-08-2008, 07:14 AM
  2. how can i make repeat somthing until done?
    By takeout in forum OSR Help
    Replies: 5
    Last Post: 09-11-2007, 11:01 PM
  3. need some help with times
    By ShowerThoughts in forum OSR Help
    Replies: 4
    Last Post: 08-29-2007, 01:42 PM
  4. repeat a certain amount of times
    By rkroxpunk in forum OSR Help
    Replies: 15
    Last Post: 04-11-2007, 03:52 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
  •