Quote:

; not working
.$iif($_mcode(C,$chan),$style(1)) No CTCP's $chr(91) %tmpmdw $+C $chr(93) :mode $chan $_cmode(C,$chan)


$iif($_mcode(C,$chan),$style(1)) No CTCP's $chr(91) %tmpmdC $+ C $chr(93) :mode $chan $_cmode(C,$chan)

%tmpmdw is not set by calling $_mode(C,$chan) %tmpmdC is!