Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Set evasion settings to "local allowed" or "IGN allowed" and "no reaction".
- #Change "if Field.GetCharacterCount() > 1:" to "if Field.GetCharacterCount() > 0:" when using one bot.
- import time
- import Field
- import Terminal
- import GameState
- allowedUser = ["GetToDisBag"]
- waitTime = 9
- portal = "up01"
- if GameState.IsInGame():
- chars = Field.GetCharacters()
- run = False
- if Field.GetCharacterCount() > 0:
- for char in chars:
- if not char in allowedUser:
- run = True
- print('Unknown player located')
- break
- if run:
- run = False
- time.sleep(waitTime)
- chars = Field.GetCharacters()
- for char in chars:
- if not char in allowedUser:
- run = True
- print('Prepare evade')
- break
- if run:
- print('Evading')
- Terminal.SetLineEdit('nextmapccportal', portal)
- Terminal.SetComboBox('eva_cmb', 3)
- time.sleep(1)
- while Terminal.IsRushing():
- print('Completed evade')
- time.sleep(1)
- Terminal.SetComboBox('eva_cmb', 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement