Results 1 to 6 of 6

Thread: how can i make repeat somthing until done?

  1. #1
    Join Date
    Apr 2007
    Posts
    166
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default how can i make repeat somthing until done?

    does anyone know how i make my script reapeat somthing till its found?



    ps: you may see a ad above saying buy gold at ibuyrs2.com, this is a scam, they stole the code from rs2mils.com and scam people out of cash, it even says on the bottom of there page Copyright © 2004-2007, rs2mils.com not ibuyrs2.com

  2. #2
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ehm

    repeat
    if somthing then //if you do if ''somthing'' then thats means if somthing=true automaticaly so


    repeat
    if somthing then
    begin
    break;//breaksout the loop
    end;

    until(dunno)
    ~Hermen

  3. #3
    Join Date
    Aug 2007
    Location
    England
    Posts
    734
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    or

    repeat
    until(Thinghappens)
    The truth finally came out...


  4. #4
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    procedure findit;
    begin
      repeat
        wait(300+random(250));
      until(findcolorspiral(x,y,2706151,1,1,550,558))
    end;

    This will repeat the wait untill the color is found, then it will exit the procedure.

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

  5. #5
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    could be endless loop
    ~Hermen

  6. #6
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by hermpie View Post
    could be endless loop
    There is no point in creating the whole script for him. Therefor its his own job to learn about failsafes and ways or breaking out of the loop. If i had done that for him then he wouldn't learn anything.

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how do u make something repeat 28 times?
    By gore in forum OSR Help
    Replies: 11
    Last Post: 05-27-2008, 10:43 AM
  2. How Do I Make The Script Repeat Itself?
    By jlbmc in forum OSR Help
    Replies: 4
    Last Post: 01-08-2008, 07:14 AM
  3. ehm somthing with getdoorcolor
    By ShowerThoughts in forum OSR Help
    Replies: 2
    Last Post: 08-25-2007, 07:58 PM
  4. theres somthing wrong with our include
    By ShowerThoughts in forum OSR Help
    Replies: 10
    Last Post: 07-31-2007, 12:59 PM

Posting Permissions

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