i cant attack monsters using my script please help me

06/30/2010 06:08 lordovsaba#1
hi my script wont attack monsters i am using cofr33dom

here is my script please help me tell me whats wrong with my script

thanks for reading

here is my script
PHP Code:
while true
    loot item Meteor
    loot item DragonBall
    loot item GoldBullion
    loot item GoldBars
    loot item GoldBar
    loot item Gold
    loot item RainbowGem
    loot item DragonGem
    loot item MoonGem
    loot item ThunderGem
    loot item GloryGem
    loot item TwinCityGate
    loot item DesertCityGate 
    loot item ApeCityGate
    loot item CastleGate
    loot item BirdIslandGate
    loot item StoneCityGate
    sleep 1000
end
when true
    attack self with FatalStrike
    sleep 1000
end
while true
    attack BirdMen
    sleep 1000
end
sleep 1000
var maxhp hp

when hp 
maxhp maxhp hp end

when maxhp 
hp >= 70 use item Stancher end
when maxhp 
hp >= 100 use item Resolutive end
when maxhp 
hp >= 250 use item Painkiller end
when maxhp 
hp >= 500 use item Amrita end
when maxhp 
hp >= 800 use item Panacea end
when maxhp 
hp >= 1200 use item Ginseng end
when maxhp 
hp >= 2000 use item Vanilla end

# Insert your code here, the above code will do the smart autopotter
# while true end # Uncomment this while if you just want a smart potter by itself 
06/30/2010 07:05 gl0verseer#2
Quote:
Originally Posted by lordovsaba View Post
hi my script wont attack monsters i am using cofr33dom

here is my script please help me tell me whats wrong with my script

thanks for reading

here is my script
PHP Code:
while true
    attack BirdMen
    loot item Meteor
    loot item DragonBall
    loot item GoldBullion
    loot item GoldBars
    loot item GoldBar
    loot item Gold
    loot item RainbowGem
    loot item DragonGem
    loot item MoonGem
    loot item ThunderGem
    loot item GloryGem
    loot item TwinCityGate
    loot item DesertCityGate 
    loot item ApeCityGate
    loot item CastleGate
    loot item BirdIslandGate
    loot item StoneCityGate
    sleep 1000
end
when true
    attack self with FatalStrike
    sleep 1000
end
sleep 1000
var maxhp hp

when hp 
maxhp maxhp hp end

when maxhp 
hp >= 70 use item Stancher end
when maxhp 
hp >= 100 use item Resolutive end
when maxhp 
hp >= 250 use item Painkiller end
when maxhp 
hp >= 500 use item Amrita end
when maxhp 
hp >= 800 use item Panacea end
when maxhp 
hp >= 1200 use item Ginseng end
when maxhp 
hp >= 2000 use item Vanilla end

# Insert your code here, the above code will do the smart autopotter
# while true end # Uncomment this while if you just want a smart potter by itself 
try that
06/30/2010 07:22 lordovsaba#3
Quote:
Originally Posted by gl0verseer View Post
try that
i still have same problem it wont attack with that script
although i have made a new script and it will butit stops attacking monsters after about 10 mins here is the new script please help
PHP Code:
when hp 500
   
use item vanilla
end
while true
    attack BirdMan
    loot item Meteor
    loot item DragonBall
    loot item GoldBullion
    loot item GoldBars
    loot item GoldBar
    loot item Gold
    loot item RainbowGem
    loot item DragonGem
    loot item MoonGem
    loot item ThunderGem
    loot item GloryGem
    end