Masi
Senior Tutor
Staff Member
Posts: 241 Likes: 198
Mini-Profile Background: {"image":"https://media.giphy.com/media/2bIP0gHS5cLhS/giphy.gif","color":"6b8d6b"}
Mini-Profile Text Color: ffffff
Currently Offline
Last Online: Nov 23, 2019 2:02:15 GMT
View Profile
Registered On: Mar 31, 2016 16:11:57 GMT
|
Post by Masi on May 6, 2016 21:21:25 GMT
Simple script for servers which have pz for pking set to less or more than the 15 minutes which elfbot is set to by default. The script will show how long untill the pz disappears for the last player killed around you. Change $pztime to how long(in seconds) pz lasts on your server.
set $pztime 60 auto 1 listas 'Get PZ Time' | foreach 'screenplayers' $pkpz if [$pkpz.hppc == 0] { set $showname $pkpz.name | set $pztime2 [$deltatime+$pztime] | set $pztime3 1 } auto 1 listas 'Show PZ Time' | if [$pztime3 != 0] { set $pztime3 [$pztime2-$deltatime] | setpos [$screenleft-195] [$screenbottom-10] | displaytext "PZ for $showname will end in [$formattime.$pztime3]." } if [$pztime3 == 0] { setpos [$screenleft-195] [$screenbottom-10] | displaytext "PZ for $showname has ended." }
|
|
|
Post by Darth Maul on May 16, 2016 9:04:33 GMT
Nice script Masi, I slightly changed your title so it's easier to find when searched.
|
|
galaha
New Member
Posts: 1 Likes: 0
Currently Offline
Last Online: May 7, 2022 20:44:10 GMT
View Profile
Registered On: May 7, 2022 18:06:18 GMT
|
Post by galaha on May 7, 2022 19:36:45 GMT
how can i set this script? hotkey or icon?? someone can help me
|
|