mIRC Homepage
Posted By: Deep3D Reload log - 21/04/10 02:40 AM
I would like to make a add button in status, channel or query window.

Load Log:/-what ever- ? Is there any easy solution for this?
Posted By: RusselB Re: Reload log - 21/04/10 03:34 AM
Possibility
Code:
menu status,channel,query {
  Load Log : .log $active
}

Posted By: hixxy Re: Reload log - 21/04/10 07:10 AM
If you want to load the contents of the log into the window, try this:

Code:
menu * {
  $iif($isfile($logdir $+ $mklogfn($active)),Load log):  loadbuf -a $qt($logdir $+ $mklogfn($active)) 
}
Posted By: Deep3D Re: Reload log - 21/04/10 01:37 PM
* /log: invalid parameters
Posted By: Deep3D Re: Reload log - 22/04/10 02:35 PM
Why do this not work? Can It be my log settings?
Posted By: 5618 Re: Reload log - 22/04/10 02:54 PM
Which of the 2 scripts doesn't work? Because the first one is not what you asked for, nor is it correct.
Posted By: Deep3D Re: Reload log - 23/04/10 01:23 AM
The second one.
Posted By: Deep3D Re: Reload log - 23/04/10 11:39 AM
Why does this not work?
Posted By: gomp Re: Reload log - 29/04/10 12:34 PM
Not sure if I usderstand you..

But if you press ALT + R in mIRC and add this there:

menu channel {
Log:run $chan($active).logfile
}





menu status {
Log:run $window($active).logfile
}


menu query {
Log:run $window($active).logfile
}


Then you at least will have a log button on the right click meny in the status and in the channel.



Posted By: Deep3D Re: Reload log - 30/04/10 05:01 AM
I'll try to explane again:
- You know the feature reload logs, I don't want query or channel to allways show old logs on a fresh connect, join ect. So therefor I need a button Reload log:/command for only reload log when I need it. This can't be to complicated?
Posted By: Deep3D Re: Reload log - 30/04/10 06:26 AM
This is it!

Code:
Reload log:loadbuf $active $qt($window($active).logfile)
© mIRC Discussion Forums