1c7

WelcomeMessage [v1.0.2]

1c7
Aug 12th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. # Presented By: Adam, from skGravity
  2. # WelcomeMessages
  3. # Coded in skript
  4. # skGravity does not take responsibilty for what words/phrases/anything our skripts are used for. For more, visit our website @ www.skgravity.onuniverse.com
  5.  
  6. options:
  7. pM: &cYou do not have enought permissions!
  8.  
  9. command /wm [<text>] [<text>]:
  10. permission: wm.use
  11. permission message: {@pM}
  12. trigger:
  13. if arg 1 is "join":
  14. if arg 2 is set:
  15. set {join} to "%arg-2%"
  16. send "&e[WM] &fThe join message has been set to &e%{join}%"
  17. else:
  18. send "&e[WM] &fEnter a join message. &e[EG: %PLAYER% has joined the server!]"
  19. if arg 1 is "firstjoin":
  20. if arg 2 is set:
  21. set {firstjoin} to "%arg-2%"
  22. send "&e[WM] &fThe first join message has been set to &e%{firstjoin}%"
  23. else:
  24. send "&e[WM] &fEnter a first join message. &e[EG: %PLAYER% has joined the server! (FOR THE FIRST TIME!)]"
  25. if arg 1 is "help":
  26. send "&c[ADMIN HELP]"
  27. send "&e/wm join <Message> &fSets the normal join message."
  28. send "&e/wm firstjoin <Message> &fSets the first join message."
  29. if arg 1 is not set:
  30. if arg 2 is not set:
  31. send "&e[WM] &fAn error has occured. Do &e/wm help&f for our commands."
  32.  
  33.  
  34. on first join:
  35. broadcast "%{firstjoin}%"
  36.  
  37. on join:
  38. if {join} is set:
  39. broadcast "%{join}%"
Advertisement
Add Comment
Please, Sign In to add comment