script.IsSkillEnabled() returns if the bot's checkbox is enabled, therefore it always receives True. To check if the skill is activated, use this script.IsSkillActivated()
Nvm, there's no need.just wanted to wait till the skill is charged if i use it so just did it this wayif script.IsSkillActivated(2): script.StatusMessage('Skill Used') script.PauseMovementEx(105)
Actually i'd like to know why when i use:def onSkillActivated(2): i do get a "SyntaxError unexpected token '2' " can u help me out with that question pls?and i'd like to know the correct usage of that function
def onSkillActivated(skill): if skill == 1: script.Alarm('Left skill is activated') else: script.Alarm('Right skill is activated')