BBot - The best bot of the world
New macro Utito tempo - 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: New macro Utito tempo (/thread-20825.html)



New macro Utito tempo - edwino4 - 01-20-2018

Hi. (I used search before i create this topic)

Someone can make for me macro on utito tempo when certain monster are on screen?


I used something like that:
500 {utito creatures} Creatures.ByName(Undead Dragon, Draken Abomination, Ghastly Dragon)>=1 Status.Buff()==0 Self.Mana()=>300 Self.Say(utito tempo)

but bot ddnt always use utito. He use it often but not always. Its something wrong with this macro?

Ok i created 3 separatly macros with just one monster name in line. Thanks and can closed Topic.


RE: New macro Utito tempo - Catar - 01-21-2018

(01-20-2018, 11:26 PM)edwino4 Wrote: Its something wrong with this macro?


Yes there is

Creatures.ByName(..) command only works with one string.
If u want to use for multiple, u need to add them up.

your macro would be like this:

Code:
500 {utito creatures}
crQ:=0
CBN:=Creatures.ByName(Undead Dragon)
VarAdd(crQ, !CBN)
CBN:=Creatures.ByName(Draken Abomination)
VarAdd(crQ, !CBN)
CBN:=Creatures.ByName(Ghastly Dragon)
VarAdd(crQ, !CBN)
!crQ>=1
Status.Buff()==0
Self.Mana()>=300
Self.Say(utito tempo)


You can also use this. Puts ID of creature into variable, then checks if variable is one of the list (i use this way personally)

Code:
MonsID:=Creature.Attacking()
Creature.NameIn(!MonsID, Undead Dragon, Draken Abomination, Ghastly Dragon)==1



RE: New macro Utito tempo - Kazan - 01-21-2018

(01-20-2018, 11:26 PM)edwino4 Wrote: Hi. (I used search before i create this topic)

Someone can make for me macro on utito tempo when certain monster are on screen?


I used something like that:
500 {utito creatures} Creatures.ByName(Undead Dragon, Draken Abomination, Ghastly Dragon)>=1 Status.Buff()==0 Self.Mana()=>300 Self.Say(utito tempo)

but bot ddnt always use utito. He use it often but not always. Its something wrong with this macro?

Ok i created 3 separatly macros with just one monster name in line. Thanks and can closed Topic.


Much easier will be like this;

Create manual macros with variable changing Exp:=1 / Exp:=0 and put them before entering hunt area and before leaving hunt area and use that auto macro;

100 {Utito} !Exp!==1 Self.Mana()>=300 Self.Attacking()==1 Status.Buff()==0 Self.Say(Utito Tempo)

Smile


RE: New macro Utito tempo - edwino4 - 01-21-2018

Thanks for all !