Date: 2014/03/26 10:57:04 UTC-07:00
Type: Denizen Script
classCommands:
type: World
requirements:
- permission [shakeyCmd.classCmd]
events:
on invisme command:
- define arg1 <c.args.get[1]>
- if %arg1% == null {
- cast [INVISIBILITY] duration:7600 <player.location.find.players.within[100]>
- narrate ["All players within a 100 block radius around you are now invisible!"]
- narrate ["You can turn everyone back to normal by doing /invisme -r"]
}
else if %arg1% == "-r"{
- cast [INVISIBILITY] remove
- narrate ["All players within a 100 block radius around you are visible again!"]
}
else {
- narrate ["<red>INVALID SYNTAX: Correct syntax is /invisme (-r)"]
}