Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Thread.new {
- while true
- wait_until{(not Spell[9049].active? and not Spell[9812].active? and not dead? and running?('sbounty')) and percenthealth <= 80 and (!standing? or stunned? or webbed?) and ((GameObj.npcs.any? { |npc| npc.type !~ /passive/ and npc.status !~ /dead/ }) or (GameObj.loot.each { |i| i.noun =~ /cloud/}))}
- bigshotPaused = GSC.pauseScript 'bigshot'
- GSC.bput "sym trans confirm", "space between the corporeal|^You have already|^You strain"
- unpause_script 'bigshot' if bigshotPaused
- end
- }
- Thread.new {
- while true
- wait_until{(percenthealth <= 50 and not dead? and not stunned? and running?('sbounty')) }
- bigshotPaused = GSC.pauseScript 'bigshot'
- GSC.bput "sym restoration", "^You have already|^You strain/"
- unpause_script 'bigshot' if bigshotPaused
- end
- }
- Thread.new {
- while true
- wait_until { !calmed? }
- fput 'unhide'
- bigshotPaused = GSC.pauseScript 'bigshot'
- wait_until { calmed? }
- unpause_script 'bigshot' if bigshotPaused
- end
- }
- Thread.new {
- while true
- wait_until{(percenthealth < 65) }
- fput "quit"
- fput "quit"
- fput "quit"
- kill_script 'sbounty' if running? 'sbounty'
- kill_script 'bigshot' if running? 'bigshot'
- end
- }
- Thread.new {
- while true
- wait_until{ dead? }
- Script.kill 'sbounty'
- Script.kill 'bigshot'
- fput 'depart confirm'
- fput 'depart confirm'
- sleep 10
- Script.kill 'monitor'
- Script.kill 'transcend'
- end
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement