Results 1 to 5 of 5

Thread: InFight/OutFight?

  1. #1
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default InFight/OutFight?

    Ok, I am making a cooking script/ Fighting Script... I right now, it looks for raw chickens, but if it doesnt find one, it attacks a chicken. I was going to put in wait, but the fight times are diff, so I wanted to put, until its out of a fight, Is the command OutFight? Or is there a command for that?

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  2. #2
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    OutFight; Waits until you are not in fight.
    InFight; checks if you are in fight.

  3. #3
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    so, say this was my attacking proc,,
    SCAR Code:
    if (findcolor(x, y, 924802, MSX1, MSY1, MSX2, MSY2)) then
          MMouse(x, y, 1, 1)
            if (IsUpText('hicken')) then
            Mouse(x, y, 0, 0, True)
    would i put
    SCAR Code:
    if (findcolor(x, y, 924802, MSX1, MSY1, MSX2, MSY2)) then
          MMouse(x, y, 1, 1)
            if (IsUpText('hicken')) then
            Mouse(x, y, 0, 0, True)
            OutFight;
    Like that?

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  4. #4
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Yup, thats right.

  5. #5
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Ok, Thanks Alot

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. New InFight function (using TPA)
    By marpis in forum Research & Development Lounge
    Replies: 5
    Last Post: 01-09-2009, 12:10 AM
  2. InFight not working
    By SirPa in forum OSR Help
    Replies: 20
    Last Post: 11-16-2008, 04:43 AM
  3. How do I use InFight
    By Mistagnerd in forum OSR Help
    Replies: 21
    Last Post: 11-17-2007, 08:42 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
  •