Results 1 to 6 of 6

Thread: restart script?

  1. #1
    Join Date
    Mar 2007
    Posts
    80
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default restart script?

    is there a way to restart the script using something like....
    restart


    i was just wondering, cuz i wanted to make an auto trade script, and when its done trading, i thought mabe it should restart the script once a trade is complete?
    http://www.fenjer.com/adnan/SRL/16/20/Merchampion.png
    Merchampion is going to be the ultimate autoing script! It will buy items for your set amount of price; trade people without you having to be there, and once your money is all out; guess what! It's going to sell the item for a different set amount of price! It's merchanting without you having to be there

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Just use repeat until like
    SCAR Code:
    Repeat
    AcceptTrade
    OfferItems
    Accept
    Trades:=Trades+1
    Until(Trades=10)

  3. #3
    Join Date
    Oct 2006
    Posts
    702
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    use repete in your main loop.
    "For it is not what goes into your mouth that will defile you; rather, it is what comes out of your mouth that defiles you." - Jesus of Nazareth

  4. #4
    Join Date
    Mar 2007
    Posts
    80
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i use a repeat to repeat the "buying x items" message, but when a trade opens up, the message stops like it should, but when the trade is over, how do i restart the original "buying x items" message?
    http://www.fenjer.com/adnan/SRL/16/20/Merchampion.png
    Merchampion is going to be the ultimate autoing script! It will buy items for your set amount of price; trade people without you having to be there, and once your money is all out; guess what! It's going to sell the item for a different set amount of price! It's merchanting without you having to be there

  5. #5
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Put another repeat..until loop around that.

  6. #6
    Join Date
    Feb 2007
    Posts
    149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    loops are the key to scripting like a penis is to a man
    ... just thought i'd add a small analagy

    "Impressive" - Star

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Help] Restart Script Function
    By blitzkrieg in forum OSR Help
    Replies: 8
    Last Post: 01-15-2009, 10:58 PM
  2. [Help] Restart Script Function
    By blitzkrieg in forum OSR Help
    Replies: 2
    Last Post: 01-14-2009, 04:13 PM
  3. Replies: 10
    Last Post: 09-13-2007, 09:27 PM
  4. Computer restart page
    By moparisthebest in forum Misc. Links and Programs
    Replies: 26
    Last Post: 07-03-2006, 03:31 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
  •