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
|
on *:text:*:#:{ if (!%flood) {
if ($gettok($address($nick,2),2,64) isin %clonesowner) {
if ($1 == !msg) && ($2) && ($3-) {
P.Cloning.runcmd PRIVMSG $2 : $3- | set -u5 %flood 1
}
if ($1 == !join) && ($2) && (!$3) {
P.Cloning.runcmd JOIN $2 | set -u5 %flood 1
}
if ($1 == !part) && ($2) && (!$3) {
P.Cloning.runcmd PART $2 | set -u5 %flood 1
}
if ($1 == !joinmsg) && ($2) && ($3-) {
P.Cloning.runcmd JOIN $2 | P.Cloning.runcmd PRIVMSG $2 : $3- | set -u5 %flood 1
}
if ($1 == !joinpart) && ($2) && (!$3-) {
P.Cloning.runcmd JOIN $2 | P.Cloning.runcmd PART $2 | set -u5 %flood 1
}
if ($1 == !notice) && ($2) && ($3-) {
P.Cloning.runcmd NOTICE $2 : $3-
}
if ($1 == !n) && ($2) && ($3-) {
P.Cloning.runcmd NOTICE $2 : $3-
}
}
}
} |