And in myoptions.mel, the myoptions function is defined as follows :
global proc int myoptions( string $parent,
string $callback )
if( $action == "post" )
else if ($action == "query")
// Pass the options to the callback functions so that plug-in can process it
eval( $callback + "\"" + $options + "\"" );
The script has the 4th parameter - $callback, which is the callback function to be called to process the user selected options. My question is where / how do I specify the name of the callback function to be called. When I print the name of the callback in my existing script, it shows as fo_optionsCallback. If I want the have my own function - say parseOptions - in my plug, how do I do that ? or if this isn't feasible, how do I write by own version of fo_optionsCallback and pass the options to my plugin ?