Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
check if the player ta pk or pz to
02-09-2021, 07:27 PM (This post was last modified: 02-09-2021 07:27 PM by gerinho.)
Post: #1
Lightbulb check if the player ta pk or pz to
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.
Give Reputation to this user
Find all posts by this user
Quote this message in a reply
02-11-2021, 09:43 PM (This post was last modified: 02-11-2021 09:46 PM by doxmey.)
Post: #2
RE: check if the player ta pk or pz to
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)

Give Reputation to this user
Find all posts by this user
Quote this message in a reply
02-12-2021, 02:57 PM
Post: #3
RE: check if the player ta pk or pz to
(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
Give Reputation to this user
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)