xibatinha
Junior Member
Posts: 5 Likes: 1
Currently Offline
Last Online: Aug 10, 2016 18:38:24 GMT
View Profile
Registered On: Jul 22, 2016 8:50:09 GMT
|
Post by xibatinha on Jul 22, 2016 9:29:08 GMT
There is a script that I can run away from pks? like if i`m hunting in some cave and a player shows on screen or even atk me it turn the target off and go straight to dp and logout or something like that?
|
|
|
Post by Darth Maul on Jul 22, 2016 15:20:22 GMT
Hey xibatinha, You'd have to setup some labels. You'd need a hunting label that skips over the exiting label. You'd need an exiting label that would.. exit the spawn. And you'd need a script to check if a PKer is onscreen. If you know how to setup labels you could use this script to detect if a PKer is onscreen and switch to your leaving label. auto 200 | listas 'Pk' | foreach 'allplayers' $pk {if [$pr.skull >= 1] {gotolabel 'exit spawn' | wait 500 | turnoff}
|
|
xibatinha
Junior Member
Posts: 5 Likes: 1
Currently Offline
Last Online: Aug 10, 2016 18:38:24 GMT
View Profile
Registered On: Jul 22, 2016 8:50:09 GMT
|
Post by xibatinha on Jul 23, 2016 0:46:09 GMT
That`s work perfectly, do u know how to do ifplayeronscreen?, I mean...i don`t want to get trapped and them they get pk
|
|
xibatinha
Junior Member
Posts: 5 Likes: 1
Currently Offline
Last Online: Aug 10, 2016 18:38:24 GMT
View Profile
Registered On: Jul 22, 2016 8:50:09 GMT
|
Post by xibatinha on Jul 23, 2016 0:47:52 GMT
I tried that one but didn`t work
auto 100 ifplayeronscreen settargeting off {gotolabel pk | settargeting off | end}
|
|
|
Post by Darth Maul on Jul 23, 2016 4:17:13 GMT
Maybe this?
auto 200 | listas 'Pk' | foreach 'allplayers' $pk {if [$pr.skull >= 1 || $playersaround.10 >= 1] {gotolabel 'exit spawn' | wait 500 | turnoff}
|
|
xibatinha
Junior Member
Posts: 5 Likes: 1
Currently Offline
Last Online: Aug 10, 2016 18:38:24 GMT
View Profile
Registered On: Jul 22, 2016 8:50:09 GMT
|
Post by xibatinha on Jul 23, 2016 4:46:24 GMT
I did i little different and it work, I put it on shortkey and put the cavebot action to say the words, it`s perfect now, when a player shows on screen it goes to label pk and return to dp, nice thx for help
pk = auto 200 ifplayeronscreen settargeting off lpk = auto 200 ifplayeronscreen gotolabel 'pk'
|
|