cleartarget
The cleartarget command clears the block's target list.



"then(cleartarget)"


No arguments.



And example of the cleartarget command used in a script is as follows...




The following script uses the targetting system to poison enemies and players in range.


if(always)
{
then(cleartarget)

then(addtarget,player)
then(addtarget,enemy)
then(filtertarget,distance,<,196)

then(statustarget,poison,20)
}