mIRC Home    About    Download    Register    News    Help

Print Thread
#117685 18/04/05 08:02 AM
Joined: Oct 2004
Posts: 24
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Oct 2004
Posts: 24
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)


the way it's supposed to be !

UnderNet #scripting - #mircscripting
#117686 18/04/05 08:35 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
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

#117687 18/04/05 09:48 AM
Joined: Oct 2004
Posts: 24
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Oct 2004
Posts: 24
thx it works perfectly grin


the way it's supposed to be !

UnderNet #scripting - #mircscripting

Link Copied to Clipboard