BBot - The best bot of the world
check if the player ta pk or pz to - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Support (https://forums.bmega.net/forum-6.html)
+--- Forum: Support & Help (https://forums.bmega.net/forum-8.html)
+--- Thread: check if the player ta pk or pz to (/thread-21256.html)



check if the player ta pk or pz to - gerinho - 02-09-2021

is there a macro or label to check if the player ta pk or pz to be able to enter the safe zone? pz waits 60 seconds. without pz it immediately enters the safe zone.


RE: check if the player ta pk or pz to - doxmey - 02-11-2021

This macro goes on the cavebot where you want the bot to wait. Create a label before labeled "pk".

Code:
0 {pk} Status.PZBlock()==1 [2] pz:=1 Status.PZBlock()==0 [1] pz:=0 Exit()  {1} CaveBot.GoLabel(pk) Exit()  {2} pz:=0 Exit()

Then you need a fullcheck like this after the macro, and create a label after labeled "continuepk" so thats where the bot goes after the pz block is over.

Code:
FullCheck (33637 31978 6:Full continuepk Else pk Code !pz==0)



RE: check if the player ta pk or pz to - gerinho - 02-12-2021

(02-11-2021, 09:43 PM)doxmey Wrote: This macro goes on the cavebot where you want the bot to wait. Create a label before labeled "pk".

Code:
0 {pk} Status.PZBlock()==1 [2] pz:=1 Status.PZBlock()==0 [1] pz:=0 Exit()  {1} CaveBot.GoLabel(pk) Exit()  {2} pz:=0 Exit()

Then you need a fullcheck like this after the macro, and create a label after labeled "continuepk" so thats where the bot goes after the pz block is over.

Code:
FullCheck (33637 31978 6:Full continuepk Else pk Code !pz==0)

thank you very much I gave you reputation


RE: check if the player ta pk or pz to - PyrooRUMG - 07-03-2021

(02-11-2021, 09:43 PM)doxmey Wrote: This macro goes on the cavebot where you want the bot to wait. Create a label before labeled "pk".

Code:
0 {pk} Status.PZBlock()==1 [2] pz:=1 Status.PZBlock()==0 [1] pz:=0 Exit()  {1} CaveBot.GoLabel(pk) Exit()  {2} pz:=0 Exit()

Then you need a fullcheck like this after the macro, and create a label after labeled "continuepk" so thats where the bot goes after the pz block is over.

Code:
FullCheck (33637 31978 6:Full continuepk Else pk Code !pz==0)

is there a way to make this attack the pker instead ?