Date: 2014/09/27 18:16:18 UTC-07:00
Type: Denizen Script
toggleon Command:
type: world
events:
flag global state: false
on toggleon command:
- ^if !<player.is_op> {
- ^narrate "<&f>You must be op to use this command."
- determine fulfilled
- queue clear
}
- ^if <state> {
flag global state: false
} else {
flag global state: true
}
- determine fulfilled
zane49erpluggin:
type: world
events:
- if <state>{
on player places block:
- flag global material:<context.material.name>
- flag global location:<context.location.simple>
- narrate "you placed <global.flag[material]> at <global.flag[location]>"
}
# http://scripts.citizensnpcs.co/view/p6gpl0