mIRC Home    About    Download    Register    News    Help

Print Thread
#191727 14/12/07 06:08 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
How come this dosen't work? have been befor?

unload -rs $qt($mircdirprotection.mrc)

and the file is located in $mircdir . And it's named:

protection.mrc

copyed from the file name so arent a type or something like that.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #191731 14/12/07 06:50 PM
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Whats the error?

Can you verify that $qt($mircdirprotection.mrc) is the proper path?

DJ_Sol #191732 14/12/07 07:29 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Forgot to post the error sorry smirk

* /unload: no such file 'C:\mirc\protection.mrc'

and if i type in status: //echo -a $mircdir it gives me:

C:\mirc\

so path and file is right, so dunno why it dosent unload it. smirk


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #191733 14/12/07 07:41 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Have you checked the file is loaded? As a remote script? /unload displays that error when you try to unload a file that isn't loaded.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
yes, it's loaded. i see it in remote

;-------- Edit

Tested to type //echo -a $script(1) .. but i got this in the status: C:\mirc\\protection.mrc

so it had 1 more \ then it should, but how come this make it return a error when i want to unload the file? and yes, i loaded it with $mircdir\protection.mrc .. so removed it and now everything is ok.

Last edited by sparta; 14/12/07 08:19 PM.

if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #191736 14/12/07 08:30 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Looks like there's a bug with mIRC's normalisation of pathnames when checking the loaded script filenames against the one being unloaded. You should make a post on the bug reports forum about this.

Last edited by starbucks_mafia; 14/12/07 08:42 PM.

Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Ive never seen this. Could it be he loaded it with a command and had two /'s?

.load -rs $mircdir/protection.mrc

for instace.

Either way, mIRC should recognize the error and either halt or fix it.


Link Copied to Clipboard