Skript is a Bukkit plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone to program a plugin for them.
1) Place sticky piston on the ground and activate it.
2) Place iron block next to the piston extension with this code loaded:
on place of iron block:
loop blocks in radius 1 of location of event-block:
if loop-block is any piston extension:
broadcast " It's working!"
if "%loop-block%" is "any piston extension":
broadcast " It's working, sort of..."
1) Place sticky piston on the ground and activate it. 2) Place iron block next to the piston extension with this code loaded:
on place of iron block: loop blocks in radius 1 of location of event-block: if loop-block is any piston extension: broadcast " It's working!" if "%loop-block%" is "any piston extension": broadcast " It's working, sort of..."
Only the latter part of the code will trigger.