use this:
Code:
if ( $eval($+(%,cur,$nick),2) > $eval($+(%,max,$nick),2) ) { 
set $+(%,cur,$nick) $eval($+(%,max,$nick),2)
} 
 

or

'[$nick' should be '[ $nick' notice the space


Code:
//if ( khaled isgod ) echo yes | else echo no