mIRC Home    About    Download    Register    News    Help

Print Thread
#109600 31/01/05 01:24 AM
Joined: Dec 2002
Posts: 173
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 173
For some reason the quit message in options/irc/messages will work for $read quitmsg.txt but when i try to put the text file in a directory called Text where i would prefer text files to go in won't work as $read Text\quitmsg.txt

#109601 31/01/05 01:31 AM
E
EvilErnieADI
EvilErnieADI
E
$read($mircdir $+ text\quitmsg.txt)

see if that works.

or perhaps you are just mistyping something. paste code so we can see?

Last edited by EvilErnieADI; 31/01/05 01:33 AM.
#109602 31/01/05 01:32 AM
Joined: Dec 2002
Posts: 173
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 173
Nope still nothing blush(

#109603 31/01/05 01:50 AM
E
EvilErnieADI
EvilErnieADI
E
Paste the line you have in the quit msg bar so we can see. And also what version of mirc you're using. And confirm that quitmsg.txt is spelled thus, and in the text directory.

#109604 31/01/05 01:52 AM
Joined: Dec 2002
Posts: 173
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 173
$read($mircdir $+ text\quitmsg.txt)

That's what you gave me few mins ago

Also i'm using 6.16 and the text file is the same spellings, as i said it seems to work if it's in the mirc directory alone, thinking maybe it's a mirc bug or another script confliction somewhere but if it was a conflict i doubt it would work either way.

#109605 31/01/05 01:57 AM
Joined: Feb 2004
Posts: 2,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
It works perfect here.

In alt+o -> irc -> messages -> quit message, i put: $read(text\quitmsg.txt)

Then in my mIRC folder, I made a folder named text, and put a file named quitmsg.txt in it, with a couple of lines.

Then upon testing, it gave each time a random line from the file after issuing a /quit.

Greets

#109606 31/01/05 01:59 AM
Joined: Dec 2002
Posts: 173
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 173
I guess i have problem somewhere it's not working frown

#109607 31/01/05 02:11 AM
E
EvilErnieADI
EvilErnieADI
E
works for me also. both in quit msg settings and directly typed.
try checking any scripts you have that relate to on QUIT....

also, monitor your quit msg by opening a second instance of mirc and when you quit type /quit

are there any error messages in status window? and also what DOES show up as your quit message? we will get to the bottom of this... crazy

#109608 31/01/05 02:13 AM
Joined: Dec 2002
Posts: 173
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 173
i have a few on quit in certain scripts, but if i removed them im sure the script would stop working, when the nickname does quit it shows my nickname.

i guess this is something i can't fix, i guess i have to put up and have it placed in the mirc directory only frown

#109609 31/01/05 02:15 AM
Joined: Feb 2004
Posts: 2,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
You can modify the on QUIT event that you have in your script, so that it would send the random message.

#109610 31/01/05 02:17 AM
E
EvilErnieADI
EvilErnieADI
E
well... if you remove the on QUIT events, your script should not stop working. Not unless you added some kind of anti ripping scripts that would make everything stop working if any files are changed.

try putting ; marks in front of all the lines in your on QUIT events and see what happens next time you quit.

Example: put the ; marks in front of all the lines of on quit like this!

;on 1:QUIT:{
;echo w00t
;}

#109611 31/01/05 02:26 AM
Joined: Dec 2002
Posts: 173
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 173
Yea i've been during that few minutes ago and still no joy, doesn't matter going to plan b putting txt file in mirc dir works then, thanks for your help

#109612 31/01/05 08:07 AM
I
Iori
Iori
I
Have you by any chance aliased your /quit command?
  • //echo -a $isalias(quit) - $isalias(quit).fname

#109613 31/01/05 09:41 AM
S
Splatted
Splatted
S
Quote:
$read($mircdir $+ text\quitmsg.txt)

That's what you gave me few mins ago



this should be sufficient if your text directory is in your mirc directory.

$read(text\quitmsg.txt)

#109614 31/01/05 04:41 PM
Joined: Dec 2002
Posts: 173
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 173
When i did //echo -a $isalias(quit) - $isalias(quit).fname

i get a $false -

And no haven't touched my quit command in aliases

Last edited by Kev_Uk; 31/01/05 04:55 PM.
#109615 31/01/05 05:01 PM
C
clutz1572
clutz1572
C
have you checked for any error msgs in your status window? it's a dumb question i know but, sometimes it can be overlooked. if there is, that will give a good indication of what the problem is... and also post it if there is a error msg on this..

edit
oops, i didn't see EvilErnieADI's commants on that... (sorry)

Last edited by clutz1572; 31/01/05 05:04 PM.
#109616 01/02/05 11:29 AM
Joined: Feb 2003
Posts: 105
L
Vogon poet
Offline
Vogon poet
L
Joined: Feb 2003
Posts: 105
Kev, type //echo $mircdir and let us know what it says.
If it returns a path with spaces in it, it could be the prob


Link Copied to Clipboard