Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {waited.chat} = false
- {socialspy.%player%} = false
- options:
- #menadĹĽer chatu
- tag: [&eHero&2HC&r]
- wait.msg: &cPoczekaj 5 sekund zanim coĹ› napiszesz !
- chat.admin.permission: chat.admin
- chat.no-delay.permission: chat.no-delay
- chat.off.msg: &4Globalny chat jest aktualnie wyłączony, nie możesz teraz nic pisać.
- chat.on.broadcast: &c%player% &ewłączył globalny chat
- chat.off.broadcast: &c%player% &ewyłączył globalny chat
- chat.cleared.broadcast: &eChat został wyczyszczony przez &6%player%
- #Prywatne wiadomości
- #MenadĹĽer chatu
- on chat:
- if {chat} is false:
- player is op:
- stop
- else:
- cancel event
- send "{@chat.off.msg}"
- player has permissions "{@chat.no-delay.permission}":
- stop
- else:
- if {waited.chat} is false:
- set {waited.chat} to true
- wait 5 real seconds
- set {waited.chat} to false
- else:
- cancel event
- send "{@tag} - {@wait.msg}"
- command /chat [<text>] [<text>]:
- trigger:
- player has permissions "{@chat.admin.permission}":
- arg 1 is not set:
- send "&7----------&c&lCHAT&r&7----------"
- send "&e/chat clear - &7Czyszczenie chatu"
- send "&e/chat on - &7Wlaczanie chatu"
- send "&e/chat off - &7Wylaczanie chatu"
- arg 1 is "clear":
- loop 100 times:
- broadcast " "
- broadcast "{@chat.cleared.broadcast}"
- arg 1 is "on":
- set {chat} to true
- broadcast "{@chat.on.broadcast}"
- arg 1 is "off":
- set {chat} to false
- broadcast "{@chat.off.broadcast}"
- #Prywatne wiadomości
- command /msg [<player>] [<text>]:
- aliases: /w, /pw, /pm
- trigger:
- arg 1 is not set:
- send "&cUżyj - &7/msg (Gracz) (Wiadomość)"
- arg 1 is not "%player%":
- arg 1 is set:
- send "&6%player% &7> &6Ja &f>> &7%coloured arg 2%" to arg 1
- send "&6Ja&7 > &6%arg 1% &f>> &7%coloured arg 2%"
Advertisement
Add Comment
Please, Sign In to add comment