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?
If you want to load the contents of the log into the window, try this:
menu * {
$iif($isfile($logdir $+ $mklogfn($active)),Load log): loadbuf -a $qt($logdir $+ $mklogfn($active))
}
* /log: invalid parameters
Why do this not work? Can It be my log settings?
Which of the 2 scripts doesn't work? Because the first one is not what you asked for, nor is it correct.
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.
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?