ZBrushCentral

Can I do like, "If something execute correctly, then some other scripts execute"?

[IF, [IPress,Tool:SubTool:Split Unmasked Points]
,//then
[IPress,some commands]
[IPress,some commands]
[IPress,some commands]
,//else
[note,“please mask somewhere!”]
]

I would like to execute the scripts when the object is masked,
but I write the script like above, something is went wrong.

sorry the noob question, but if someone teach me, it is really appreciated.