Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- set {chat.alay} to false
- set {chat.lock} to false
- Options:
- CH: &3[&aChat&3] &7
- command /chat [<text>] [<text>]:
- permission: chat.admin
- permission message: Anda Tidak Punya Permiss
- trigger:
- arg 1 is not set:
- send "&3/chat alay on/off"
- send "&3/chat lock on/off"
- send "&3/chat clearchat/cc"
- send "&eAuthor : ZeroOfROR A.K.A RasyidR"
- arg 1 is "alay":
- arg 2 is not set:
- send "{@CH}/chat alay on/off"
- arg 2 is "on":
- if {chat.alay} is false:
- broadcast "{@CH}Chat Alay Di Aktifkan Oleh %player%"
- set {chat.alay} to true
- else:
- send "{@CH}Sudah Aktif.Untuk Menon-aktifkannya Ketik /chat alay off"
- arg 2 is "off":
- if {chat.alay} is true:
- broadcast "{@CH}Chat Alay Di Non-Aktifkan Oleh %player%"
- set {chat.alay} to false
- else:
- send "{@CH}Sudah Non-Aktif.Untuk aktifkannya Ketik /chat alay on"
- arg 1 is "lock":
- arg 2 is not set:
- send "{@CH}/chat lock on/off"
- arg 2 is "on":
- if {chat.lock} is false:
- broadcast "{@CH}Chat Lock Di Aktifkan Oleh %player%"
- set {chat.lock} to true
- else:
- send "{@CH}Sudah Aktif.Untuk Menon-aktifkannya Ketik /chat alay off"
- arg 2 is "off":
- if {chat.lock} is true:
- broadcast "{@CH}Chat Lock Di Non-Aktifkan Oleh %player%"
- set {chat.lock} to false
- else:
- send "{@CH}Sudah Non-Aktif.Untuk aktifkannya Ketik /chat alay on"
- arg 1 is "clearchat" or "cc":
- loop 150 times:
- broadcast "&e "
- broadcast "{@CH}Chat Di Clear Oleh %player%"
- on chat:
- if {chat.lock} is true:
- if player has permission "chat.admin":
- stop
- else:
- cancel event
- send "&7Chat Sedang Off"
- stop
- if {chat.alay} is true:
- replace all "a", and "A" with "4" in the message
- replace all "I", and "i" with "1" in the message
- replace all "e", and "E" with "3" in the message
- replace all "s", and "S" with "5" in the message
- replace all "o", and "O" with "0" in the message
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement