Jeppa. That did the trick:
PHP Code:
$tag_list['option']['trace'] = array(
'callback' => 'handle_external',
'external_callback' => 'handle_bbcode_trace_callback',
'strip_empty' => true
);
$tag_list['no_option']['trace'] = array(
'callback' => 'handle_external',
'external_callback' => 'handle_bbcode_trace_callback2',
'strip_empty' => true
);
if(!function_exists('handle_bbcode_trace_callback'))
{
function handle_bbcode_trace_callback(&$parsed, $value, $option)
{
if ( $option > 5 )
{
$result = 7 + $option;
return "Hello this is ".$value.",<br />my number is ".$result;
}
else
{
$result = 1 + $option;
return "Hello this is ".$value.",<br />my number is ".$result;
}
}
}
if(!function_exists('handle_bbcode_trace_callback2'))
{
function handle_bbcode_trace_callback2(&$parsed, $value, $option)
{
return "Hello this is ".$value."!";
}
}
From here all gates are open now

Thanks for your help!
cu
Gargi