Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {torch} = false
- command /lightsout [<text>]:
- usage: /lightsout <on/off>
- trigger:
- if arg 1 is "on":
- set {torch} to true
- broadcast "<Cyan>[<Gray>UHC<Cyan>] <Red>Lights Out is now Enabled!"
- if arg 1 is "off":
- set {torch} to false
- broadcast "<Cyan>[<Gray>UHC<Cyan>] <Red>Lights Out is now Disabled!"
- on place of torch:
- {torch} is true:
- message "<Light Red>Lights out!"
- cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement