Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {%player%::tecza} is not set:
- set {%player%::tecza} to false
- on chat:
- if {%player%::tecza} is true:
- set {_n} to "%player's name%"
- set {_l} to length of {_n}
- set {_s} to ""
- loop {_l} times:
- set {_i} to {_l} - (loop-number)
- set {_i} to {_i} + 1
- set {_k::%{_i}%} to last character of {_n}
- set {_n} to {_i}-1 first characters of {_n}
- loop {_l} times:
- set {_r} to "&a" or "&b" or "&c" or "&d" or "&e" or "&3" or "&5" or "&6" or "&9"
- set {_s::%loop-number%} to colored "%{_r}%%{_k::%loop-number%}%"
- set {_s} to "%{_s}%%{_s::%loop-number%}%"
- set {_d} to "%player's display name%"
- replace all "%player's name%" with {_s} in {_d}
- set player's display name to {_d}
- command /teczowy:
- trigger:
- if player has permission "teczowy.nick":
- if {%player%::tecza} is true:
- set {%player%::tecza} to false
- send "&9CHAT &8> &7Wylaczyles &ateczowy nick&7!"
- else:
- set {%player%::tecza} to true
- send "&9CHAT &8> &7Wlaczyles &ateczowy nick&7!"
- else:
- send "&cNie masz dostepu do tej komendy!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement