mIRC Homepage
Posted By: darkrift unload -n - 18/04/05 08:02 AM
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)
Posted By: DaveC Re: unload -n - 18/04/05 08:35 AM
Looks like its a small parseing fault with the switches, like because it either -a or -rs and then -n on top of -rs, use -rsn tghis functions correctly
Posted By: darkrift Re: unload -n - 18/04/05 09:48 AM
thx it works perfectly grin
© mIRC Discussion Forums