Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $bRunning = True
- GUICtrlSetData($StartButton, "Initializing...")
- GUICtrlSetState($StartButton, $GUI_DISABLE)
- GUICtrlSetState($CharInput, $GUI_DISABLE)
- GUICtrlSetState($RenderingBox, $GUI_ENABLE)
- ;WinSetTitle($GUI, "", "DoA Gems Bot " & $Version & " - " & GUICtrlRead($CharInput))
- TraySetToolTip(GUICtrlRead($CharInput))
- If GUICtrlRead($CharInput) = "" Then
- $gwInstanceHandle = Initialize(ProcessExists("gw.exe"), True, True, False)
- If $gwInstanceHandle = False Then
- MsgBox(0, "Error", "Guild Wars it not running.")
- Exit
- EndIf
- Else
- $gwInstanceHandle = Initialize(GUICtrlRead($CharInput), True, True, False)
- If $gwInstanceHandle = False Then
- MsgBox(0, "Error", "Can't find a Guild Wars client with that character name.")
- Exit
- EndIf
- EndIf
- GUICtrlSetData($StartButton, "Pause")
- GUICtrlSetState($StartButton, $GUI_ENABLE)
- WinSetTitle($GUI, "", GetCharname() & " - " & $botname & " " & $Version)
- $bInitialized = True
- AdlibRegister('CheckGuildWars', 1000)
- EndIf
- Case $RenderingBox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement