Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /chat [<text>] [<text>]:
- trigger:
- if player has permission "chat.pc":
- if arg 1 is empty:
- send " &8» &7Poprawne uzycie: &9/chat <off/on/clear>" to player
- else if arg 1 is "on":
- if {chat.stan} is true:
- send " &8» &cChat jest juz wlaczony" to player
- stop trigger
- set {chat.stan} to true
- broadcast " &6&lVirtualMC"
- broadcast " &8» &7Chat zostal wlaczony przez &3%player%"
- else if arg 1 is "off":
- if {chat.stan} is false:
- send " &8» &cChat jest juz wylaczony" to player
- stop trigger
- set {chat.stan} to false
- loop 100 times:
- broadcast " "
- broadcast " &6&lVirtualMC"
- broadcast " &8» &7Chat zostal wylaczony przez &3%player% &7z powodu &3%arg 2%"
- else if arg 1 is "c":
- loop 100 times:
- broadcast " "
- broadcast " &6&lVirtualMC"
- broadcast " &8» &7Chat zostal wyczyszczony przez &3%player%"
- else:
- send "&8» &7Poprawne uzycie &b/chat <off/on/c>" to player
- stop trigger
- else:
- send " &8» &7Nie masz permissji do &3(MyEpicHC.chat)"
- command /cc:
- trigger:
- if player has permission "chat.cc":
- loop 100 times:
- broadcast " "
- broadcast " &6&lVirtualMC"
- broadcast " &8» &7Chat zostal wyczyszczony przez &3%player%"
- else:
- send " &8» &7Nie masz permissji do &3(myepichc.chat.clear)"
- on chat:
- if {chat.stan} is false:
- if player has permission "chat.vip" or "chat.vip":
- stop trigger
- else:
- cancel event
- send " &8» &7Chat jest aktualnie wylaczony"
- send " &8» &7Aby moc pisac zakup range &3VIP &7lub &3SVIP"
- stop
Advertisement
Add Comment
Please, Sign In to add comment