PDA

View Full Version : leech script



zero70
11-20-2011, 05:30 PM
sleep 15



loop {

flee_count = UserVars.op['flee_count'].to_i + 1

if not GameObj.pcs and (GameObj.npcs.size > 2) and (GameObj.npcs.size < flee_count) and Spell[518].affordable?

pause_script('bigshot')

waitrt?

waitcastrt?

fput 'release'

fput 'stance offensive'

fput 'inc 518'

fput 'stance guarded'

start_script("sloot2")

wait_while { running?("sloot2")}

unpause_script('bigshot')

sleep 10

elsif not GameObj.pcs and (Spell[9516].timeleft < 15) and (GameObj.npcs.size == 1) and (Spell[516].affordable?) and (percentmana < 70) and (GameObj.npcs.size < flee_count)

pause_script('bigshot')

waitrt?

waitcastrt?

multifput 'release', 'inc 516'

unpause_script('bigshot')

sleep 30

end;

sleep 0.25

}



its not mine but it works pretty well