BBot - The best bot of the world
Request if loot is in bp go to label dp - 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: Request if loot is in bp go to label dp (/thread-19748.html)



Request if loot is in bp go to label dp - iNG - 04-11-2016

I need a script which if for example an item is looted it goes to the DP label.

e.g. if you loot boh
go to label DP and deposit

ty


RE: Request if loot is in bp go to label dp - Elmgren1337 - 04-11-2016

So you mean like. If you bot a Free acc char. And you loot something rare, it goes directly back and deposits, so you dont lose it if you die? Tongue hehehe


RE: Request if loot is in bp go to label dp - Catar - 04-11-2016

you can do macro as full check, and one of few conditions may be

!boh!>=1 [check]
go.label(dp)
exit()
{check}
go.label(hunt)
exit()


Im just giving you idea, yo have to work it out yourself.


im using macro as fullcheck myself.


EXAMPLE
Code:
task:=Creatures.TaskKilled(Hellspawn)
mpoty:=Misc.ItemCountEx(268)
upoty:=Misc.ItemCountEx(7643)
!upoty!<40 [else1]
CaveBot.GoLabel(powrot)
exit()
{else1}
!mpoty!<120 [else2]
CaveBot.GoLabel(powrot)
exit()
{else2}
!task!>=!zadanie! [else3]
CaveBot.GoLabel(powrot)
exit()
{else3}
CaveBot.GoLabel(expi)
exit()