Results 1 to 3 of 3

Thread: 'THEN' Expected in script

  1. #1
    Join Date
    Oct 2007
    Location
    if(FindMyHouse(x,y,'ous',MyPlace,15))then
    Posts
    97
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default 'THEN' Expected in script

    I know all of you scripters out there when you saw the title of the thread you thought... "Look at JAD's tutorial."

    I did.

    But this keeps telling me that:

    SCAR Code:
    begin
     Writeln('Attempting to walk to point 1');
      if not RadialWalk(PathColour[0], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[1], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[2], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[3], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[4], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[5], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[6], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[7], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[8], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[9], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[10], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[11], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[12], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[12], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[13], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[14], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[15], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[16], 75, 105, 70, 1, 0); then
      if not RadialWalk(PathColour[17], 75, 105, 70, 1, 0); then
       Logout;
     Flag;
     Writeln('Walked to point 1');
     Wait(100+random(1000));
     FailSafe;

    (that's not all of the script, but could you please notify whats wrong?)


    http://i224.photobucket.com/albums/d...iton/buxto.jpg

    WORKING Free RS Membership! (Click on the Bux.to sig!)


  2. #2
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    in the
    If(Not(blabla);Then

    Delete the ;


    if not RadialWalk(PathColour[0], 75, 105, 70, 1, 0); then
    should be
    if not RadialWalk(PathColour[0], 75, 105, 70, 1, 0) then

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  3. #3
    Join Date
    Oct 2007
    Location
    if(FindMyHouse(x,y,'ous',MyPlace,15))then
    Posts
    97
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ahh.

    Thank you very much.

    JuKKa r t3h smart =]

    You've helped me with all my problems, so far...I think.


    http://i224.photobucket.com/albums/d...iton/buxto.jpg

    WORKING Free RS Membership! (Click on the Bux.to sig!)


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Identifier expected in script?
    By fabis94 in forum OSR Help
    Replies: 3
    Last Post: 08-23-2008, 03:56 PM
  2. Then Expected in script
    By Starbridge in forum OSR Help
    Replies: 5
    Last Post: 06-02-2008, 05:35 AM
  3. Bah!! Identifier Expected in Script.
    By siroober in forum OSR Help
    Replies: 3
    Last Post: 05-03-2008, 11:46 PM
  4. Identifier expected in script
    By wasapiguy2 in forum OSR Help
    Replies: 2
    Last Post: 03-25-2008, 09:57 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
  •