Hello,
I'm sorry for the late reply, but if you want to change/delete the message, then you have to figure out the script node name:
// Run this
string $scriptNodes[] = ls -typ "script"
;
// Result
myScriptNode
sceneConfigurationScriptNode
In our example above Maya created a node called script1, so to simply change the message we could do this:
scriptNode -e -bs "confirmDialog -m \"Yo Yo\"" script1;
// To delete the node, simply do this:
delete script1;
Hope this helps,
Norbert Nacu