“switchoffmsg” is a string attribute, specifying text to print when the user switches off the object. If not specified, the SwitchedOff template is printed.
See also switchonmsg.