Auto Scripts
Basic syntax:
Condition Operator Value {
List of actions when condition is met
}
Condition Operator Value {
List of actions when condition is met
} else {
List of actions when condition is NOT met
}
Additionally, actions can be added outside of branches at the "top-level" to execute regardless of conditions:
Condition Operator Value {
List of actions when condition is met
}
List of actions that execute regardless of conditions
Examples:
if ItemCount(3155) < 100 {
StopTargeting()
Goto("Refill")
} else {
Goto("Continue")
}
if IsBlessed() == false {
Say("!bless")
}
if HasCooldown("Ultimate Blood Rage") == false {
Say("utito rai tempo")
}
List of available condition functions:
- ItemCount(itemId)
- TargetName()
- Stamina()
- Capacity()
- IsBlessed()
- HasCooldown(name)
- HasBuff(name)
List of available action functions:
- EnableHealer()
- DisableHealer()
- ToggleHealer()
- EnableSioHealer()
- DisableSioHealer()
- ToggleSioHealer()
- EnableTargeting()
- DisableTargeting()
- ToggleTargeting()
- EnableWalker()
- DisableWalker()
- ToggleWalker()
- EnableLooterInclusion()