im trying to create a new custom txt file with $nick

i tried

Code:
/write -il1 $nick $+log.txt <text>


but it doesnt work correctly

fix please?