/usr/share/epic5/script/autoquery is in epic5 2.0.1-1build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | if (word(2 $loadinfo()) != [pf]) { load -pf $word(1 $loadinfo()); return; };
addset autocreate_split_queries bool;
set autocreate_split_queries off;
alias _autoquery {
@ :name = encode($servernum(),$tolower($0));
if ((:num = winnum($name)) == -1) {
if (getset(autocreate_split_queries) == [ON]) {
window new server $servernum() query $0 name $name swap last;
} else {
window new_hide swap last server $servernum() query $0 name $name swap last;
};
} elif (querywin($0 $servernum()) == -1) {
^window $num server $servernum() query $0;
};
};
on #-msg -29 "*" {
_autoquery $0;
};
on #-encrypted_privmsg -29 "*" {
if ([$0] == [$1]) {
_autoquery $0;
};
};
#weirdo'2k6
|