Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Presented By: Adam, from skGravity
- # WelcomeMessages
- # Coded in skript
- # skGravity does not take responsibilty for what words/phrases/anything our skripts are used for. For more, visit our website @ www.skgravity.onuniverse.com
- options:
- pM: &cYou do not have enought permissions!
- command /wm [<text>] [<text>]:
- permission: wm.use
- permission message: {@pM}
- trigger:
- if arg 1 is "join":
- if arg 2 is set:
- set {join} to "%arg-2%"
- send "&e[WM] &fThe join message has been set to &e%{join}%"
- else:
- send "&e[WM] &fEnter a join message. &e[EG: %PLAYER% has joined the server!]"
- if arg 1 is "firstjoin":
- if arg 2 is set:
- set {firstjoin} to "%arg-2%"
- send "&e[WM] &fThe first join message has been set to &e%{firstjoin}%"
- else:
- send "&e[WM] &fEnter a first join message. &e[EG: %PLAYER% has joined the server! (FOR THE FIRST TIME!)]"
- if arg 1 is "help":
- send "&c[ADMIN HELP]"
- send "&e/wm join <Message> &fSets the normal join message."
- send "&e/wm firstjoin <Message> &fSets the first join message."
- if arg 1 is not set:
- if arg 2 is not set:
- send "&e[WM] &fAn error has occured. Do &e/wm help&f for our commands."
- on first join:
- broadcast "%{firstjoin}%"
- on join:
- if {join} is set:
- broadcast "%{join}%"
Advertisement
Add Comment
Please, Sign In to add comment