Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {dedy::%player%} = 0
- {k.%player%} = 0
- {d.%player%} = 0
- on death of player:
- attacker is player
- add 5 to the attacker's balance
- send "&7[&cWalls&7] &7Zabiles &c%victim% &7dostajesz &c5 coins" to the attacker
- send "&7[&cWalls&7] &7Zabil cie &c%attacker%" to the victim
- on death of player:
- if attacker is player:
- if victim is player:
- add 1 to {k.pvp::%attacker%}
- add 1 to {dedy::%victim%}
- add 1 to {d.%victim%}
- add 1 to {k.%attacker%}
- on join:
- if {k.pvp::%player%} is not set:
- set {k.pvp::%player%} to 0
- set {dedy::%player%} to 0
- command /staty:
- trigger:
- send "&7[&bx&7]&7&M--------------&7[ &bSTATS &7]&7&M--------------&7[&bx&7]"
- send "&7Kille: &b%{k.pvp::%player%}%"
- send "&7Dedy: &b%{dedy::%player%}%"
- set {_kdr.%player%} to {k.%player%} / {d.%player%}
- send "&7KDR: &b%{_kdr.%player%}%"
- send "&7[&bx&7]&7&M--------------&7[ &bSTATS &7]&7&M--------------&7[&bx&7]"
- stop
- command /top:
- trigger:
- send "&7[&bx&7]&7&M--------------&7[ &bTOP-KILLS &7]&7&M--------------&7[&bx&7]"
- delete {top.kill::*}
- set {_num} to size of {k.pvp::*}
- loop {k.pvp::*}:
- set {top.kill::%loop-index%} to loop-value
- loop {_num} times:
- loop {top.kill::*}:
- {_v.%loop-number%} is not set:
- set {_v.%loop-number%} to loop-value
- set {_n.%loop-number%} to loop-index
- if loop-value is bigger than {_v.%loop-number%}:
- set {_v.%loop-number%} to loop-value
- set {_n.%loop-number%} to loop-index
- remove {_v.%loop-number%} from {top.kill::*}
- loop {_num} times:
- loop-number is less than or equal to 10:
- loop-number is 1:
- set {topelo1} to "%{_n.%loop-number%}% "
- set {topelopunkty1} to {_v.%loop-number%}
- loop-number is 2:
- set {topelo2} to "%{_n.%loop-number%}% "
- set {topelopunkty2} to {_v.%loop-number%}
- loop-number is 3:
- set {topelo3} to "%{_n.%loop-number%}% "
- set {topelopunkty3} to {_v.%loop-number%}
- loop-number is 4:
- set {topelo4} to "%{_n.%loop-number%}% "
- set {topelopunkty4} to {_v.%loop-number%}
- loop-number is 5:
- set {topelo5} to "%{_n.%loop-number%}% "
- set {topelopunkty5} to {_v.%loop-number%}
- loop-number is 6:
- set {topelo6} to "%{_n.%loop-number%}% "
- set {topelopunkty6} to {_v.%loop-number%}
- loop-number is 7:
- set {topelo7} to "%{_n.%loop-number%}% "
- set {topelopunkty7} to {_v.%loop-number%}
- loop-number is 8:
- set {topelo8} to "%{_n.%loop-number%}% "
- set {topelopunkty8} to {_v.%loop-number%}
- loop-number is 9:
- set {topelo9} to "%{_n.%loop-number%}% "
- set {topelopunkty9} to {_v.%loop-number%}
- loop-number is 10:
- set {topelo10} to "%{_n.%loop-number%}% "
- set {topelopunkty10} to {_v.%loop-number%}
- send "&b%loop-number%. &7%{_n.%loop-number%}% &b%{_v.%loop-number%}%"
- {_num} is less than 10:
- set {_r} to {_num}
- loop 1- - {_num} times:
- add 1 to {_r}
- send "&b%{_r}%. &7brak"
- send "&7[&bx&7]&7&M----------------------------------------&7[&bx&7]"
- command /loc <integer>:
- trigger:
- if arg 1 is 1:
- set {topkill.1} to location of player
- send "&aUstawiono"
- if arg 1 is 2:
- set {topkill.2} to location of player
- send "&aUstawiono"
- if arg 1 is 3:
- set {topkill.3} to location of player
- send "&aUstawiono"
- if arg 1 is 4:
- set {topkill.4} to location of player
- send "&aUstawiono"
- if arg 1 is 5:
- set {topkill.5} to location of player
- send "&aUstawiono"
- if arg 1 is 6:
- set {topkill.6} to location of player
- send "&aUstawiono"
- if arg 1 is 7:
- set {topkill.7} to location of player
- send "&aUstawiono"
- if arg 1 is 8:
- set {topkill.8} to location of player
- send "&aUstawiono"
- if arg 1 is 9:
- set {topkill.9} to location of player
- send "&aUstawiono"
- if arg 1 is 10:
- set {topkill.10} to location of player
- send "&aUstawiono"
- if arg 1 is 11:
- set {topkill.11} to location of player
- send "&aUstawiono"
- if arg 1 is 12:
- set {topkill.12} to location of player
- send "&aUstawiono"
- if arg 1 is 13:
- set {topkill.13} to location of player
- send "&aUstawiono"
- if arg 1 is 14:
- set {topkill.14} to location of player
- send "&aUstawiono"
- if arg 1 is 15:
- set {topkill.15} to location of player
- send "&aUstawiono"
- if arg 1 is 16:
- set {topkill.16} to location of player
- send "&aUstawiono"
- if arg 1 is 17:
- set {topkill.17} to location of player
- send "&aUstawiono"
- if arg 1 is 18:
- set {topkill.18} to location of player
- send "&aUstawiono"
- if arg 1 is 19:
- set {topkill.19} to location of player
- send "&aUstawiono"
- if arg 1 is 20:
- set {topkill.20} to location of player
- send "&aUstawiono"
- every 1 seconds:
- set line 1 of the block at {topkill.1} to "&4%{topelo1}%"
- set line 2 of the block at {topkill.1} to "Kille: &4%{topelopunkty1}%"
- set line 1 of the block at {topkill.2} to "&4%{topelo2}%"
- set line 2 of the block at {topkill.2} to "Kille: &4%{topelopunkty2}%"
- set line 1 of the block at {topkill.3} to "&4%{topelo3}%"
- set line 2 of the block at {topkill.3} to "Kille: &4%{topelopunkty3}%"
- set line 1 of the block at {topkill.4} to "&4%{topelo4}%"
- set line 2 of the block at {topkill.4} to "Kille: &4%{topelopunkty4}%"
- set line 1 of the block at {topkill.5} to "&4%{topelo5}%"
- set line 2 of the block at {topkill.5} to "Kille: &4%{topelopunkty5}%"
- set line 1 of the block at {topkill.6} to "&4%{topelo6}%"
- set line 2 of the block at {topkill.6} to "Kille: &4%{topelopunkty6}%"
- set line 1 of the block at {topkill.7} to "&4%{topelo7}%"
- set line 2 of the block at {topkill.7} to "Kille: &4%{topelopunkty7}%"
- set line 1 of the block at {topkill.8} to "&4%{topelo8}%"
- set line 2 of the block at {topkill.8} to "Kille: &4%{topelopunkty8}%"
- set line 1 of the block at {topkill.9} to "&4%{topelo9}%"
- set line 2 of the block at {topkill.9} to "Kille: &4%{topelopunkty9}%"
- set line 1 of the block at {topkill.10} to "&4%{topelo10}%"
- set line 2 of the block at {topkill.10} to "Kille: &4%{topelopunkty10}%"
- set line 1 of the block at {topkill.11} to "&4%{topelo11}%"
- set line 2 of the block at {topkill.11} to "Kille: &4%{topelopunkty11}%"
- set line 1 of the block at {topkill.12} to "&4%{topelo12}%"
- set line 2 of the block at {topkill.12} to "Kille: &4%{topelopunkty12}%"
- set line 1 of the block at {topkill.13} to "&4%{topelo13}%"
- set line 2 of the block at {topkill.13} to "Kille: &4%{topelopunkty13}%"
- set line 1 of the block at {topkill.14} to "&4%{topelo14}%"
- set line 2 of the block at {topkill.14} to "Kille: &4%{topelopunkty14}%"
- set line 1 of the block at {topkill.15} to "&4%{topelo15}%"
- set line 2 of the block at {topkill.15} to "Kille: &4%{topelopunkty15}%"
- set line 1 of the block at {topkill.16} to "&4%{topelo16}%"
- set line 2 of the block at {topkill.16} to "Kille: &4%{topelopunkty16}%"
- set line 1 of the block at {topkill.17} to "&4%{topelo17}%"
- set line 2 of the block at {topkill.17} to "Kille: &4%{topelopunkty17}%"
- set line 1 of the block at {topkill.18} to "&4%{topelo18}%"
- set line 2 of the block at {topkill.18} to "Kille: &4%{topelopunkty18}%"
- set line 1 of the block at {topkill.19} to "&4%{topelo19}%"
- set line 2 of the block at {topkill.19} to "Kille: &4%{topelopunkty19}%"
- set line 1 of the block at {topkill.20} to "&4%{topelo20}%"
- set line 2 of the block at {topkill.20} to "Kille: &4%{topelopunkty20}%"
- command /resetstaty <integer>:
- permission: admin
- trigger:
- clear {topelo%argument 1%}
- clear {topelopunkty%argument 1%}
Advertisement
Add Comment
Please, Sign In to add comment