Advertisement
Guest User

SimpleNightvisionSkript

a guest
May 29th, 2015
477
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /nv <text>:
  2. usage: /nv <on/off>
  3. description: Toggles Nightvision
  4. aliases: nightvision
  5. trigger:
  6. if argument 1 = "on":
  7. if player has permission "nightvision.on":
  8. apply night vision to the player
  9. send "&aNightvision has been applied!"
  10. else:
  11. send "&4You Don't have permission to that command!"
  12. if argument 1 = "off":
  13. if player has permission "nightvision.off":
  14. remove night vision from the player
  15. send "&cNightvision has been removed!"
  16. else:
  17. send "&4You Don't have permission to that command!"
Advertisement
RAW Paste Data Copied
Advertisement