Advertisement
Guest User

lightsout

a guest
Jul 26th, 2014
570
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. variables:
  2. {torch} = false
  3.  
  4. command /lightsout [<text>]:
  5. usage: /lightsout <on/off>
  6. trigger:
  7. if arg 1 is "on":
  8. set {torch} to true
  9. broadcast "<Cyan>[<Gray>UHC<Cyan>] <Red>Lights Out is now Enabled!"
  10. if arg 1 is "off":
  11. set {torch} to false
  12. broadcast "<Cyan>[<Gray>UHC<Cyan>] <Red>Lights Out is now Disabled!"
  13.  
  14.  
  15. on place of torch:
  16. {torch} is true:
  17. message "<Light Red>Lights out!"
  18. cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement