Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- broadcast "7Thank you for using ONECMD's skript!"
- broadcast "7Message &aONECMD &cif you have found any bugs!"
- broadcast "7/CPI - default.server.info – Shows information about the server"
- broadcast "7Made by &bONECMD&c!"
- command /cast <string>:
- permission: ONECMD.broadcast
- permission message: "&cTowers&b &8: &7You don't have permission's"
- trigger:
- broadcast “&8Towers &8» %arg-1%"
- command /Towers:
- permission: default.server.info
- usage: /Towers
- executable by: players and console
- aliases: /towers, /Tower, /TOWER, /tower
- trigger:
- broadcast "&8Thank you for using &bONECMD &8Custom Essentials skript have fun!"
- on chat:
- replace all "fuck" with "****" in the message
- replace all "cunt" with "****" in the message
- replace all "bitch" with "****" in the message
- replace all "nigger" with "****" in the message
- replace all "pussy" with "****" in the message
- replace all "faggot" with "****" in the message
- replace all "kys" with "Hope you live " in the message
- replace all "onecmd" with "ONECMD" in the message
- replace all "OneCmd" with "ONECOMMAND" in the message
- command /clearchat:
- aliases: /cc, /clearc, /chatc
- permission: ONECMD.clearchat
- trigger:
- loop 200 times:
- broadcast " "
- broadcast "&8[&dCLEARCHAT&8] &b%player%, &7has cleared the chat!"
- command /chatlock:
- aliases:
- permission: ONECMD.lockchat
- trigger:
- set {locker} to "%player%"
- set {locked} to 1
- broadcast "&8[&aCHATLOCK&8] &7Chat has been locked by &4bplayer%"
- command: /chatunlock:
- aliases: /chatu, /uchat, /uc
- permission: ONECMD.chatunlock
- trigger:
- set {locked} to 0
- broadcast "&8[aCHATLOCK&8] &cChat has been unlocked by &b%player%"
- on chat:
- if player has permission "ONECMD.bypass":
- stop
- if {locked} is 1:
- cancel event
- message "&8[&aCHATLOCK&8] &7Chat is currently locked by &b%{locker}%"
- on death of player:
- broadcast “&8[&cDEATH&8] &b%player% &7went &b&LOOF”
- on unload:
- broadcast "&7Thanks so much for using my custom skript - &bONECMD"
Add Comment
Please, Sign In to add comment