i might be wrong but this looks wrong to me
if (! == $strip($1)) { if ($nick isop $chan) { if ($1 == files) { halt } | msg $nick That op command cannot be found. Please try again. }
$1 cant == "!" and "files"