JavaScript:
UI.AddHotkey(["Rage", "Anti Aim", "General", "Key assignment"], "Freestand", "Freestand");
function freestand() {
if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Freestand"])) {
UI.SetValue(["Rage", "Anti Aim", "Directions", "Auto direction"], 1);
} else {
UI.SetValue(["Rage", "Anti Aim", "Directions", "Auto direction"], 0);
}
}
Cheat.RegisterCallback("Draw", "freestand");