BBot - The best bot of the world
consult the kills [ant red] - 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: consult the kills [ant red] (/thread-21182.html)



consult the kills [ant red] - frank100 - 07-05-2020

I need to configure this macro to consult the kills and if there is 'x' number of frags, the tibia is closed.

i am have some problems and i need help!

Self.Say(!kills) When.Yell(injustified kill, >=2) Tibia.Close()


RE: consult the kills [ant red] - doxmey - 07-07-2020

(07-05-2020, 11:53 AM)frank100 Wrote: I need to configure this macro to consult the kills and if there is 'x' number of frags, the tibia is closed.

i am have some problems and i need help!

Self.Say(!kills) When.Yell(injustified kill, >=2) Tibia.Close()

I got one that exits after 1 frag, you can edit it to count frags and exit after 2.


Code:
1 {Frag} When.SystemMessage(CLOSE TIBIA, Warning! The murder of ) Exit()  {CLOSE TIBIA} Tibia.Close() Exit()



RE: consult the kills [ant red] - frank100 - 07-09-2020

(07-07-2020, 11:20 PM)doxmey Wrote:
(07-05-2020, 11:53 AM)frank100 Wrote: I need to configure this macro to consult the kills and if there is 'x' number of frags, the tibia is closed.

i am have some problems and i need help!

Self.Say(!kills) When.Yell(injustified kill, >=2) Tibia.Close()

I got one that exits after 1 frag, you can edit it to count frags and exit after 2.


Code:
1 {Frag} When.SystemMessage(CLOSE TIBIA, Warning! The murder of ) Exit()  {CLOSE TIBIA} Tibia.Close() Exit()



how do I close when I have 2 frags?