mIRC Home    About    Download    Register    News    Help

Print Thread
#109600 31/01/05 01:24 AM
Joined: Dec 2002
Posts: 174
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 174
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
Joined: Jan 2005
Posts: 10
E
Pikka bird
Offline
Pikka bird
E
Joined: Jan 2005
Posts: 10
$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: 174
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 174
Nope still nothing blush(

#109603 31/01/05 01:50 AM
Joined: Jan 2005
Posts: 10
E
Pikka bird
Offline
Pikka bird
E
Joined: Jan 2005
Posts: 10
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: 174
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 174
$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,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
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


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

#109607 31/01/05 02:11 AM
Joined: Jan 2005
Posts: 10
E
Pikka bird
Offline
Pikka bird
E
Joined: Jan 2005
Posts: 10
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: 174
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 174
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,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
You can modify the on QUIT event that you have in your script, so that it would send the random message.


Gone.
#109610 31/01/05 02:17 AM
Joined: Jan 2005
Posts: 10
E
Pikka bird
Offline
Pikka bird
E
Joined: Jan 2005
Posts: 10
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: 174
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 174
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
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Have you by any chance aliased your /quit command?
  • //echo -a $isalias(quit) - $isalias(quit).fname

#109613 31/01/05 09:41 AM
Joined: Jan 2005
Posts: 44
S
Ameglian cow
Offline
Ameglian cow
S
Joined: Jan 2005
Posts: 44
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: 174
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 174
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
Joined: Aug 2004
Posts: 423
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
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: 106
L
Vogon poet
Offline
Vogon poet
L
Joined: Feb 2003
Posts: 106
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


-
Just because it never happened doesn't mean it isn't true.

Link Copied to Clipboard