Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
check if the player ta pk or pz to
#1
Lightbulb 
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.
Reply
#2
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)
Reply
#3
(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
Reply
#4
(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 ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)