Remember mIRC is processing linear. The one-event-sollution could therefore "look" cleaner, a multi-event-sollution won't be faster. Concerning speed issues:
1) use elseif / else wherever possible
2) a single-event-sollution could be faster if you want to process specific conditions twice or more. If e.g. the number if uppercase chars in text matters twice, why should you calculate them twice? the calculation could be done once in the "header" of your "master" on-text-event
3) sort the processing order of all if-statements from "easiest" to "most complex"
e.g.
do not use:
if ( ((!$findfile(something)) && ($regex($1-,somecomplexregex))) || ($me !isreg $chan)) { stuff }
but:
if (($me !isreg $chan) || (($regex($1-,somecomplexregex)) && (!$findfile(something))) ) { stuff }
(assuming that findfile takes most time, !isreg comparison the least)
But there are also disadvantages for a single on-text-event (merging all events might make debugging / changing a specific part / using switches etc harder)
_____
And why do you use (quote):
on text {
if (no numbers in it) halt
continue calculate script
}
and not:
on text {
if (numbers in it) { calculate }
}
imho that looks clearer