Backstab Script by thisideasucks
// Backstab Script
# Set attack range
@setvar! attackRange 1
//clear targets
hotkey "Cancel Current Target"
hotkey "Clear Target Queue"
// check for magical hat trick script state to avoid using attack while magical hat equipped
if varexist "bwiz" and find "bmain" self
if not targetexists and not casting and not find "bwiz" backpack
while queued
//donothing
endwhile
dclick "bmain"
wait 100
endif
endif
// Find new target if none
if not targetexists
hotkey "Target Closest Non-Friendly Monster"
hotkey "Attack Last Target"
wait 500
endif
//heal
if diffhits > 30 and not hidden
hotkey "Drink Heal"
wait 1500
endif
//cure
if poisoned
hotkey "Drink Cure"
wait 1500
endif








