Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {raf.off} = false
- {raf.vip} = false
- command /rafchat [<text>]:
- aliases: /rf, /ch, /vchat
- trigger:
- if arg 1 is not set:
- send "&6--------->>&2Chat &4By &1Rafi789&6<<---------"
- send "&4==========&6KOMENDY&4=========="
- send "1.&6/rafchat on/off &2<-- &bWłącza wyłącza chat dla vipa"
- send "2.&6/rafchat c &2<-- &bCzyści chat"
- if player has permission "skrypt.rafi":
- if arg 1 is "on":
- {raf.vip} is false:
- set {raf.vip} to true
- broadcast "&6Chat dla &1VIPÓW &bZostaje włączony przez: &7%player% &fSkrypt by rafi789"
- if arg 1 is "off":
- {raf.vip} is true:
- set {raf.vip} to false
- broadcast "&6Chat dla &1VIPÓW &bZostaje &4WYŁĄCZONY &bprzez: &7%player% &fSkrypt by rafi789"
- if arg 1 is "c":
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast "&6Chat Wyczyszczono przez: &4%player% &fSkrypt by rafi789"
- on chat:
- if {raf.vip} is true:
- if player has permission "rafi.chat":
- set {_vip} to "&7%display name of player%&8: &7%message%"
- replace all "{DISPLAY}" with "%display name of player%" in {_vip}
- replace all "{MESSAGE}" with "%message%" in {_vip}
- send "%{_vip}%" to all players
- cancel event
- else:
- send "&6Chat dostępny tylko dla vipa/svipa!"
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment