Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. command /joinvanish <text>:
  2. permission: calta.mod
  3. permission message: &4You do not have access to that command.
  4. trigger:
  5.  
  6. if arg 1 is "toggle":
  7. if {joinvanish.%player%} is set to true:
  8. set {joinvanish.%player%} to false
  9. send "&aYou will now be visible when logging on."
  10. if {joinvanish.%player%} is set to false:
  11. set {joinvanish.%player%} to true
  12. send "&aYou will no longer be visible when logging on."
  13. else:
  14. set {joinvanish.%player%} to true
  15. send "&aYou will no longer be visible when logging on."
  16.  
  17.  
  18. if arg 1 is "on":
  19. set {joinvanish.%player%} to true
  20. send "&aYou will no longer be visible when logging on."
  21.  
  22. if arg 1 is "off":
  23. set {joinvanish.%player%} to false
  24. send "&aYou will now be visible when logging on."
  25.  
  26. else:
  27. send "&cInvalid arguments!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement