i think most misread your request: i think the correct way should be:
on *:text:*:#: { if ( (Jim isin $1- ) || (Jim $+ $chr(63) isin $1- ) ) { /msg $chan yes $nick $+ ? } }
on *:text:*:?: { if ( (Jim isin $1- ) || (Jim $+ $chr(63) isin $1- ) ) { /msg $nick yes $nick $+ ? } }

in this way you'll react on who-ever calls your name (in channel (#) or in private (?))


when nothing else matters but irc