This is the correct construction:
on @$*:TEXT:/^([+-])TK$/i:#: { if ($nick == <bot_owner_nick>) { mode # $+($regml(1),smiljnut) 1 msg # 12Lockdown $iif($regml(1) == -,de) Active } }
What you have currently is incorrect.