Results 1 to 6 of 6

Thread: need a li bit help pl0x

  1. #1
    Join Date
    Oct 2007
    Location
    If (Online) then Loc := ('On comp') else Loc := ('Somewhere else!');
    Posts
    2,020
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default need a li bit help pl0x

    ok so im making a script but i keep getting this error

    Line 157: [Error] (12800:59): Close round expected in script C:\Documents and Settings\User\Desktop\ardybanana.scar


    and here is the line??

    SCAR Code:
    if (FindObjCustom(x, y, ['anana', 'nana'], [Banana1], (198, 165)) then

    thanx for the help i know im a lil bit of a pain asking all the time

    ~scaper~


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

    Default

    You need another ) at the end before the 'then'. so it would be,

    if (FindObjCustom(x, y, ['anana', 'nana'], [Banana1], (198, 165))) then
    notice the extra ) before then.

    np for helping

    noidea
    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
    Oct 2007
    Location
    If (Online) then Loc := ('On comp') else Loc := ('Somewhere else!');
    Posts
    2,020
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    no i still get close round expexted in scrit..?

    SCAR Code:
    begin
         if (FindObjCustom(x, y, ['anana', 'nana'], [Banana1], (198, 165))) then
          getmousepos(x, y);

    Line 198: [Error] (12841:59): Close round expected in script C:\Documents and Settings\User\Desktop\ardybanana.scar


    still open fro debates but thanls noidea for your help

    ~scaper~

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

    Default

    the problem is that you have a parentheses around what should be your tolerance.. It should look something like this:
    SCAR Code:
    if FindObjCustom(x, y, ['anana', 'nana'], [Banana1], 10) then
      GetMousePos(x, y);

    Your tolerance doesnt necessarily have to be 10 however..

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

    Default

    lol I can't believe I missed that, Thanks it'sChris. I was just about to post that.

    noidea
    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

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

    Default

    No problem.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Free Sig pl0x...
    By Tickyy in forum Graphics and Multimedia
    Replies: 7
    Last Post: 12-04-2008, 01:27 PM
  2. a lil help pl0x??why am i getting t
    By Scaper in forum OSR Help
    Replies: 2
    Last Post: 05-27-2008, 11:55 PM
  3. Help with first script pl0x!
    By wtf i sp4nk in forum OSR Help
    Replies: 6
    Last Post: 10-14-2006, 02:10 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
  •