Signup Now
Results 1 to 4 of 4
  1. #1
    Free User Schweppesmongot's Avatar
    Join Date
    Jul 2015
    Posts
    55
    Reputation
    14
    Rep Power
    18

    How come this action isnt working?

    If someone could help me i'd be really thankful! It's the last action needed for my whole script to work. xD
    I need both to work. They are the same so should be same solution I guess =D

    if not islocation() then
    getuseroption('spawn') == 'East' then
    gotolabel('RefillEast', 'ToCity')
    end


    if not islocation() then
    getuseroption('spawn') == 'West' then
    gotolabel('RefillWest', 'ToCity')
    end


    This is the error I receive in Windbot Console:

    error in Action script CheckPos2:
    ["getuseroption('spawn') == 'West' ..."]:Action: CheckPos2:2: unexpected symbol near '=='

  2. #2
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,769
    Reputation
    151
    Rep Power
    31
    You have a "then" too many, or you're lacking a "if" and a "end", depending on how u see it

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

  3. #3
    Free User Schweppesmongot's Avatar
    Join Date
    Jul 2015
    Posts
    55
    Reputation
    14
    Rep Power
    18
    Quote Originally Posted by ozzix View Post
    You have a "then" too many, or you're lacking a "if" and a "end", depending on how u see it
    Thanks, problem solved! <3

  4. #4
    Free User
    Join Date
    Feb 2015
    Posts
    55
    Reputation
    15
    Rep Power
    19
    Hey how i can add the reconect option to any script??

 

 

Posting Permissions

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