Jump to content

[HELP]If And EndIf


Recommended Posts

anybody can check this script it always say..

ERROR: syntax error (illegal character)
    If $Server ==

heres the script..

Func Server()
    $Server = IniRead(@ScriptDir & "\Accounts\AL1.ini", "Settings", "Server", "")
    If $Server == 눈바이스 Then
        MouseClick("left", 625, 668, 2)
        MouseClick("left", 645, 824, 2)
    EndIf
    If $Server == 파르카 Then
        MouseClick("left", 614, 683, 2)
        MouseClick("left", 645, 824, 2)
    EndIf
    If $Server == 시즈 Then
        MouseClick("left", 607, 701, 2)
        MouseClick("left", 645, 824, 2)
    EndIf
    If $Server == 헬리온 Then
        MouseClick("left", 608, 714, 2)
        MouseClick("left", 645, 824, 2)
    EndIf
    If $Server == 큔 Then
        MouseClick("left", 600, 731, 2)
        MouseClick("left", 645, 824, 2)
    EndIf
    If $Server == 반저 Then
        MouseClick("left", 603, 747, 2)
        MouseClick("left", 645, 824, 2)
    EndIf
EndFunc
Link to comment
Share on other sites

anybody can check this script it always say..

ERROR: syntax error (illegal character)
    If $Server ==

heres the script..

Func Server()
    $Server = IniRead(@ScriptDir & "\Accounts\AL1.ini", "Settings", "Server", "")
    If $Server == 눈바이스 Then; use quotes, "눈바이스" instead of 눈바이스
EndFunc
regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...