It does not work because mIRC tries to evaluate %word (which is probably nothing). You can use $eval to combine "word" and %n before it evaluates it.

$eval($+(%,word,%n),2)