Actions
Support #1714
closed
AV
PA
Restore query windows
Support #1714:
Restore query windows
Start date:
11/14/2014
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Description
Would be nice to have an option to restore all windows on restart, incl. Query.
PA Updated by Per Amundsen almost 11 years ago
"File -> Options -> Windows -> Save and restore open servers"
This will save all open servers as autoconnect and add all open channels as autojoin channels.
For querys a quick script could be used.
AV Updated by Andreas vb almost 11 years ago
I have all servers in Server List, but need to figure out how to save all Queries automatically. :D
PA Updated by Per Amundsen almost 11 years ago
I'll make a small script for you and post it here a little later.
PA Updated by Per Amundsen almost 11 years ago
here you go :)
on *:OPEN:?:*:{
var %name = % $+ $network $+ _query
set -s [ %name ] $addtok( [ %name ] ,$target,32)
}
on *:CLOSE:?:{
var %name = % $+ $network $+ _query
set [ %name ] $remtok( [ %name ] ,$target,1,32)
}
raw 376:*:{
openquerys
}
raw 422:*:{
openquerys
}
alias query {
var %name = % $+ $network $+ _query
set [ %name ] $addtok( [ %name ] ,$1,32)
!query $1-
}
alias -l openquerys {
var %name = % $+ $network $+ _query , %s = 1
while ($gettok( [ %name ] ,%s,32)) {
if (!$query($v1)) {
echo -s $gettok( [ %name ] ,%s,32)
query $gettok( [ %name ] ,%s,32)
}
inc %s
}
}
AV Updated by Andreas vb almost 11 years ago
Thanks, I'll see if it works.
Everything in Scripts?
PA Updated by Per Amundsen almost 11 years ago
Yes, just press alt + r and paste the script into a blank file, then press save :)
PA Updated by Per Amundsen over 10 years ago
- Tracker changed from Feature to Support
- Status changed from New to Resolved
- Target version set to 1.9.6
PA Updated by Per Amundsen over 10 years ago
- Status changed from Resolved to Closed
Actions