mIRC Home    About    Download    Register    News    Help

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

Re: Notify list [Re: afboymike] #232630 13/06/11 05:22 PM
Joined: Dec 2002
Posts: 2,021
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,021
Did you leave off the $ ?

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

Re: Notify list [Re: afboymike] #232631 13/06/11 05:24 PM
Joined: Jul 2006
Posts: 3,697
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,697
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


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: Notify list [Re: Wims] #232643 13/06/11 07:46 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
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
Re: Notify list [Re: Riamus2] #232645 14/06/11 03:34 AM
Joined: May 2011
Posts: 12
A
afboymike Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: May 2011
Posts: 12
And where do i run this command?
Sorry for all the stupid questions....

Re: Notify list [Re: afboymike] #232654 14/06/11 10:13 AM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
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
Re: Notify list [Re: afboymike] #232674 15/06/11 06:39 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
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"
Re: Notify list [Re: argv0] #232744 19/06/11 05:22 AM
Joined: May 2011
Posts: 12
A
afboymike Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: May 2011
Posts: 12
Thanks!!! :-)

Page 2 of 2 1 2