-
Notifications
You must be signed in to change notification settings - Fork 4
/
autobleh.mrc
83 lines (71 loc) · 2.24 KB
/
autobleh.mrc
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
; mIRC autobleh - Updated: Jan 1, 2016
; Created by KindOne - irc.freenode.net ##kindone
; This script is based on the irssi version (Credits for them. Awesome script) - http://autobleh.projectnet.org/
; Syntax:
; /fb KindOne - Ban
; /fk KindTwo - Kick
; /fq MeanOne - Quiet on hostmask/cloak - (charybdis)
; /fr EvilOne - Remove - (charybdis)
; /fbk lolwut - Kick/Ban on hostmask/cloak
; /fbr ChanServ - Remove/Ban on hostmask/cloak
alias fb {
if ($me isop $chan) { mode $chan +b $address($1,2) }
else { set %command_1 mode $chan +b-o $address($1,2) $me | get_op }
}
alias fk {
if ($me isop $chan) { kick $chan $1 Did you see what you made me do. }
else {
set %command_1 kick $chan $1 Did you see what you made me do.
set %command_2 mode $chan -o $me
get_op
}
}
alias fq {
if ($me isop $chan) { mode $chan +q $address($1,2) }
else { set %command_1 mode $chan +q-o $address($1,2) $me | get_op }
}
alias fbr {
if ($me isop $chan) {
mode $chan +b $address($1,2) $+ $chr(36) $+ ##arguments
.raw remove $chan $1 :Did you see what you made me do.
}
else {
set %command_1 mode $chan +b $address($1,2) $+ $chr(36) $+ ##arguments
set %command_2 .raw remove $chan $1 :Did you see what you made me do.
set %command_3 mode $chan -o $me
get_op
}
}
alias fbk {
if ($me isop $chan) {
mode $chan +b $address($1,2)
kick $chan $1 Did you see what you made me do.
}
else {
set %command_1 mode $chan +b $address($1,2)
set %command_2 kick $chan $1 Did you see what you made me do.
set %command_3 mode $chan -o $me
get_op
}
}
alias fr {
if ($me isop $chan) { .raw remove $chan $1 :Did you see what you made me do. }
else { set %command_2 .raw remove $chan $1 :Did you see what you made me do. | get_op }
}
on me:*:op:#:{
if (%command_1) {
%command_1
%command_2
%command_3
unset %command_1
unset %command_2
unset %command_3
}
}
alias -l get_op { .msg ChanServ op $chan $me }
; Freenode specific.
; "A Bad Connection"
alias abc {
if ($me isop $chan) { mode $chan +b $address($1,2) $+ $ $+ ##fix_your_connection }
else { set %command_1 mode $chan +b-o $address($1,2) $+ $ $+ ##fix_your_connection $me | get_op }
}