BBot - The best bot of the world
Item use on monster X times? - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Requests (https://forums.bmega.net/forum-17.html)
+--- Thread: Item use on monster X times? (/thread-18562.html)



Item use on monster X times? - ozyrixe - 10-01-2015

Hello i need scrypt to use item XYZ on 4 diffrence monsters with this same name then continue waypoints. Is that real? Or its too hard macro? If u know, please help me Wink


RE: Item use on monster X times? - 100 ek - 10-02-2015

Those monsters whole time stay in same place ?


RE: Item use on monster X times? - ozyrixe - 10-02-2015

Nope, they running on small spot.
Edit: I need to check ID this monster to macro, but how to check this?


RE: Item use on monster X times? - damiansnk - 10-02-2015

u must to specify your request better.


RE: Item use on monster X times? - ozyrixe - 10-02-2015

I want to do that script:
Wpt1
Wpt2
Wpt3
Wpt4
Etc...
Wpt10- From this waypoint character enter to place where is monsters what i need to use on them item. 4 Times on 4 monsters with this same name.
Wpt15- Leave spot because i got 4/4, if not just make again waypoint from 10.
Etc...

(Monsters dont stay, they running away from me)


RE: Item use on monster X times? - damiansnk - 10-02-2015

the item changing ID after 4 uses?

ItemID=XXXX
id:=Creature.ByName(creature name)
Creatures.ByName(creature name)>=1 [catch]
{catch}
Cavebot.Stop()
Creature.Follow(!id!)
Creature.ShootOn(!id!, !ItemID!)
Cavebot.Start()

in Repenters task hellgate I created that macro.
but I deleted that script cuz it's useless now so I can't remember more about that.
Automatic or manually I can't say also witch one worked good.
So u must to test them by urself

ItemID=XXXX
id:=Creature.ByName(creature name)
Creatures.ByName(creature name)>=1 [catch]
{catch}
Creature.Follow(!id!)
Creature.ShootOn(!id!, !ItemID!)

to create fully worked repenters task script I wasted around 100h in scripting ( 4 weeks )
when I done it they incrased rewards LOL Big Grin

if u wanna do that script I got some base about that
mushroom , fire , watering missions done.
in magic I got 1 versions where u must to trap 4 colors in 1 place


RE: Item use on monster X times? - ozyrixe - 10-02-2015

Haha, i want this to OTS. But i remember this hellgate, i was bought premium scroll only for hellgate account. I done scripts and on the next day they change it...
Anyway i will try this macro soon, thanks again Wink