mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Riamus2 #232629 13/06/11 05:17 PM
Joined: May 2011
Posts: 15
A
Pikka bird
OP Offline
Pikka bird
A
Joined: May 2011
Posts: 15
no file named logdirnotify.ini on my pc :-(

afboymike #232630 13/06/11 05:22 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
Did you leave off the $ ?

//run $logdirnotify.ini <-- exactly like that.

afboymike #232631 13/06/11 05:24 PM
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Another possibility is that the code doesn't handle space in the path, which would result in the filename being incorrect, use that code instead:
Code:
on *:notify:.writeini -n $qt($logdirnotify.ini) $network $nick $date $time


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #232643 13/06/11 07:46 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Right. Like Wims said, if you have a space in your path, then you'd want $qt() around the filename/path as that puts quotes around it. Then, to access the file, use:

//run $qt($logdirnotify.ini)


Invision Support
#Invision on irc.irchighway.net
Riamus2 #232645 14/06/11 03:34 AM
Joined: May 2011
Posts: 15
A
Pikka bird
OP Offline
Pikka bird
A
Joined: May 2011
Posts: 15
And where do i run this command?
Sorry for all the stupid questions....

afboymike #232654 14/06/11 10:13 AM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Commands are run from the command line (where you type to talk to people).


Invision Support
#Invision on irc.irchighway.net
afboymike #232674 15/06/11 06:39 AM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
You can also create a popup for this. Add the following to the bottom of the script you created:

Code:
menu menubar {
  View Notify Log:run $qt($logdirnotify.ini)
}


The menu item will be available in the "Commands" menu at the top of mIRC (after Tools).


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #232744 19/06/11 05:22 AM
Joined: May 2011
Posts: 15
A
Pikka bird
OP Offline
Pikka bird
A
Joined: May 2011
Posts: 15
Thanks!!! :-)

Page 2 of 2 1 2

Link Copied to Clipboard