I have got an error while doing /unload -nrs in my script ... wonder why...
on *:unload:{
unloadmodule IRCD
}
alias unloadmodule {
hdel MSD.module $1
hfree -w MSD. $+ $1 $+ *
.dline -l @DAEMON $fline(@DAEMON,$1,1,1)
sockclose MSD. $+ $1 $+ *
.unload -nrs $1 $+ .mod
}
it returns me:
* /unload: invalid switch (line 77, daemon.mrc)