-
Notifications
You must be signed in to change notification settings - Fork 0
/
Admin.mrc
531 lines (530 loc) · 18.7 KB
/
Admin.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
on *:text:$god:#: {
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 800, [ $+ [ %auth ] $+ ])) {
if (%god [ $+ [ %auth ] ] == 1) {
unset %god [ $+ [ %auth ] ]
notice $nick God Disabled.
var %a [
var %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 800 $+ %b $1 $+ :disabled
HALT
}
if (!%god [ $+ [ %auth ] ]) {
set %god [ $+ [ %auth ] ] 1
notice $nick God Enabled.
var %a [
var %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 800 $+ %b $1 $+ :enabled
}
}
else { notice $nick You need bot access: 800 For this command. }
}
on *:TEXT:$channels:#: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 700, [ $+ [ %auth ] $+ ])) {
notice $Nick Channel Owner Registred by
var %c 0
var %t $ini(channels.ini, channels, 0)
while (%c < %t) {
inc %c
set %h $readini(channels.ini, channels, $ini(channels.ini, channels, %c))
Notice $Nick $readini(channels.ini, channels, $ini(channels.ini, channels, %c)) $readini(channels.ini, owner, [ [ %h ] ]) $readini(channels.ini, Reg, [ [ %h ] ])
}
notice $nick End of Channels Found %c Channels.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 700 $+ %b $1 $+ :Registred channels
}
else {
notice $nick You Need bot access: 700 For this command.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 700 $+ %b %a $+ Lack access $+ %b $1 $+ :Registred channels
}
}
on *:TEXT:$reg *:*: {
whois $nick
whois $3
set %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 700, [ $+ [ %auth ] $+ ])) {
writeini users $+ $network $+ .ini $2 $+ 500 $3 $3
writeini users $+ $network $+ .ini $2 $+ users $3 $3
writeini users $+ $network $+ .ini $2 $+ access $3 500
notice $nick Channel $2 Added with owner: $3 $+ .
join $2
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 700 $+ %b $1 $+ :Register channel $2-
writeini ma.ini $3 $+ 500 $2 $2
writeini set $+ $network $+ .ini $2 giveops 300
writeini set $+ $network $+ .ini $2 Givevoice 100
writeini set $+ $network $+ .ini $2 Setters 500
writeini set $+ $network $+ .ini $2 Userscript 300
writeini set $+ $network $+ .ini $2 Uset 100
writeini set $+ $network $+ .ini $2 Protect 0
writeini set $+ $network $+ .ini $2 Autovoice 0
writeini set $+ $network $+ .ini $2 inviteme 100
writeini set $+ $network $+ .ini $2 Bans 300
writeini set $+ $network $+ .ini $2 Enfops 400
writeini set $+ $network $+ .ini $2 Enfvoice 100
writeini channels.ini channels $2 $2
writeini channels.ini Owner $2 $3
writeini channels.ini Reg $2 %auth
}
else {
notice $nick You Need bot access: 700 For this command.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 700 $+ %b %a $+ Lack access $+ %b $1 $+ :Register Channel $2-
}
}
on *:TEXT:$unreg *:*: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 700, [ $+ [ %auth ] $+ ])) {
var %c 0
var %t 1000
while (%c < %t) {
inc %c
remini ma.ini $readini(users.ini, $2 $+ 500, $ini(users.ini, $2 $+ 500, %c)) $+ 500 $2
remini ma.ini $readini(users.ini, $2 $+ 400, $ini(users.ini, $2 $+ 400, %c)) $+ 400 $2
remini ma.ini $readini(users.ini, $2 $+ 300, $ini(users.ini, $2 $+ 300, %c)) $+ 300 $2
remini ma.ini $readini(users.ini, $2 $+ 200, $ini(users.ini, $2 $+ 200, %c)) $+ 200 $2
remini ma.ini $readini(users.ini, $2 $+ 100, $ini(users.ini, $2 $+ 100, %c)) $+ 100 $2
}
remini users $+ $network $+ .ini $2 $+ 500
remini users $+ $network $+ .ini $2 $+ 400
remini users $+ $network $+ .ini $2 $+ 300
remini users $+ $network $+ .ini $2 $+ 200
remini users $+ $network $+ .ini $2 $+ 100
remini users $+ $network $+ .ini $2 $+ users
remini users $+ $network $+ .ini $2 $+ access
remini set $+ $network $+ .ini $2
remini channels.ini channels $2
notice $nick Channel $2 Deleted.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 700 $+ %b $1 $+ :Unregister channel $2-
}
else {
notice $nick You Need bot access: 700 For this command.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 700 $+ %b %a $+ Lack access $+ %b $1 $+ :Unregister Channel $2-
}
}
on *:TEXT:$simul *:*: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 1000, [ $+ [ %auth ] $+ ])) {
if ($2 == $Me) {
$3-
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b $1 $+ :Do $2-
}
}
else {
notice $nick You Need bot access: 1000 For this command.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b %a $+ Lack access $+ %b $1 $+ :Do $2-
}
}
on *:TEXT:$do *:*: {
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 1000, [ $+ [ %auth ] $+ ])) {
$2-
}
else {
notice $nick You Need bot access: 1000 For this command.
}
}
on *:TEXT:$slap *:*: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 500, [ $+ [ %auth ] $+ ])) {
describe # slaps $2 $+ !!
}
else { Describe # slaps $nick :o
}
}
on *:TEXT:$slap:#: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 500, [ $+ [ %auth ] $+ ])) {
msg # Slap you? no sweetie not you.. <3
}
else { Describe # slaps $nick
}
}
on *:TEXT:$kiss:#: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 500, [ $+ [ %auth ] $+ ])) {
describe # kisses $nick :*
}
else { Describe # slaps $nick :o
}
}
on *:TEXT:$love:#: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 500, [ $+ [ %auth ] $+ ])) {
describe # kisses $nick <3
}
else { Describe # slaps $nick :o
}
}
on *:TEXT:$kiss *:*: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 500, [ $+ [ %auth ] $+ ])) {
describe # kisses $2
}
else { Describe # slaps $nick :o
}
}
on *:TEXT:$love *:*: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 500, [ $+ [ %auth ] $+ ])) {
describe # loves $2 <3
}
else { Describe # slaps $nick :o
}
}
on *:TEXT:$nick *:*: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 800, [ $+ [ %auth ] $+ ])) {
nick $2
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 800 $+ %b $1 $+ :Nick $2-
}
else {
notice $nick You Need bot access: 800 For this command.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 800 $+ %b %a $+ Lack access $+ %b $1 $+ :Nick $2-
}
}
on *:TEXT:$say *:*: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 600, [ $+ [ %auth ] $+ ])) {
msg $chan $$2-
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 600 $+ %b $1 $+ :Nick $2-
}
else {
notice $nick You Need bot access: 500 For this command.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 600 $+ %b %a $+ Lack access $+ %b $1 $+ :Say $2-
}
}
on *:TEXT:$emote *:*: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 600, [ $+ [ %auth ] $+ ])) {
describe $chan $$2-
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 600 $+ %b $1 $+ :Emote $2-
}
else {
notice $nick You Need bot access: 500 For this command.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 600 $+ %b %a $+ Lack access $+ %b $1 $+ :Emote $2-
}
}
on *:TEXT:$part:#: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 600, [ $+ [ %auth ] $+ ])) {
part $chan Destroyed by $nick
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 600 $+ %b $1 $+ :Part $2-
}
else {
notice $nick You Need bot access: 600 For this command.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 600 $+ %b %a $+ Lack access $+ %b $1 $+ :Part $2-
}
}
on *:TEXT:$part *:*: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 600, [ $+ [ %auth ] $+ ])) {
part $2 Destroyed by $nick
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 600 $+ %b $1 $+ :Part $2-
}
else {
notice $nick You Need bot access: 600 For this command.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 600 $+ %b %a $+ Lack access $+ %b $1 $+ :Part $2-
}
}
on *:TEXT:$join *:*: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 600, [ $+ [ %auth ] $+ ])) {
join $2
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 600 $+ %b $1 $+ :Join $2-
}
else {
notice $nick You Need bot access: 600 For this command.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 600 $+ %b %a $+ Lack access $+ %b $1 $+ :Join $2-
}
}
on *:TEXT:$adminclvl *:*: {
whois $nick
var %auth $readini(dafauth.ini, auths, $nick)
if ($readini(admins.ini, 1000, [ $+ [ %auth ] $+ ])) {
if ($2 == berend) { notice $Nick You cant clvl my boss. }
if ($3 == 1000) {
writeini admins.ini admins $2 $2
writeini admins.ini admins2 $2 $3
writeini admins.ini 1000 $2 $2
writeini admins.ini 900 $2 $2
writeini admins.ini 800 $2 $2
writeini admins.ini 700 $2 $2
writeini admins.ini 600 $2 $2
writeini admins.ini 500 $2 $2
notice $nick Admin $2 added in level 500-1000.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b $1 $+ :Admin Clvl $2-
}
if ($3 == 900) {
remini admins.ini 1000 $2
writeini admins.ini admins $2 $2
writeini admins.ini admins2 $2 $3
writeini admins.ini 900 $2 $2
writeini admins.ini 800 $2 $2
writeini admins.ini 700 $2 $2
writeini admins.ini 600 $2 $2
writeini admins.ini 500 $2 $2
notice $nick Admin $2 added in level 500-900.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b $1 $+ :Admin Clvl $2-
}
if ($3 == 800) {
remini admins.ini 1000 $2
remini admins.ini 900 $2
writeini admins.ini admins $2 $2
writeini admins.ini admins2 $2 $3
writeini admins.ini 800 $2 $2
writeini admins.ini 700 $2 $2
writeini admins.ini 600 $2 $2
writeini admins.ini 500 $2 $2
notice $nick Admin $2 added in level 500-800.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b $1 $+ :Admin Clvl $2-
}
if ($3 == 700) {
remini admins.ini 1000 $2
remini admins.ini 900 $2
remini admins.ini 800 $2
writeini admins.ini admins $2 $2
writeini admins.ini admins2 $2 $3
writeini admins.ini 700 $2 $2
writeini admins.ini 600 $2 $2
writeini admins.ini 500 $2 $2
notice $nick Admin $2 added in level 500-700.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b $1 $+ :Admin Clvl $2-
}
if ($3 == 600) {
remini admins.ini 1000 $2
remini admins.ini 900 $2
remini admins.ini 800 $2
remini admins.ini 700 $2
writeini admins.ini admins $2 $2
writeini admins.ini admins2 $2 $3
writeini admins.ini 600 $2 $2
writeini admins.ini 500 $2 $2
notice $nick Admin $2 added in level 500-600.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b $1 $+ :Admin Clvl $2-
}
if ($3 == 500) {
remini admins.ini 1000 $2
remini admins.ini 900 $2
remini admins.ini 800 $2
remini admins.ini 700 $2
remini admins.ini 600 $2
writeini admins.ini admins $2 $2
writeini admins.ini admins2 $2 $3
writeini admins.ini 500 $2 $2
notice $nick Admin $2 added in level 500-500.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b $1 $+ :Admin Clvl $2-
}
}
else {
notice $nick You Need bot access: 1000 For this command.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b %a $+ Lack access $+ %b $1 $+ :Admin Clvl $2-
}
}
on *:TEXT:$addadmin *:*: {
whois $nick
var %auth $readini(dafauth.ini, auths, $nick)
if ($readini(admins.ini, 1000, [ $+ [ %auth ] $+ ])) {
if ($3 == 1000) {
writeini admins.ini admins $2 $2
writeini admins.ini admins2 $2 $3
writeini admins.ini 1000 $2 $2
writeini admins.ini 900 $2 $2
writeini admins.ini 800 $2 $2
writeini admins.ini 700 $2 $2
writeini admins.ini 600 $2 $2
writeini admins.ini 500 $2 $2
notice $nick Admin $2 added in level 500-1000.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b $1 $+ :Admin add $2-
}
if ($3 == 900) {
writeini admins.ini admins $2 $2
writeini admins.ini admins2 $2 $3
writeini admins.ini 900 $2 $2
writeini admins.ini 800 $2 $2
writeini admins.ini 700 $2 $2
writeini admins.ini 600 $2 $2
writeini admins.ini 500 $2 $2
notice $nick Admin $2 added in level 500-900.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b $1 $+ :Admin add $2-
}
if ($3 == 800) {
writeini admins.ini admins $2 $2
writeini admins.ini admins2 $2 $3
writeini admins.ini 800 $2 $2
writeini admins.ini 700 $2 $2
writeini admins.ini 600 $2 $2
writeini admins.ini 500 $2 $2
notice $nick Admin $2 added in level 500-800.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b $1 $+ :Admin add $2-
}
if ($3 == 700) {
writeini admins.ini admins $2 $2
writeini admins.ini admins2 $2 $3
writeini admins.ini 700 $2 $2
writeini admins.ini 600 $2 $2
writeini admins.ini 500 $2 $2
notice $nick Admin $2 added in level 500-700.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b $1 $+ :Admin add $2-
}
if ($3 == 600) {
writeini admins.ini admins $2 $2
writeini admins.ini admins2 $2 $3
writeini admins.ini 600 $2 $2
writeini admins.ini 500 $2 $2
notice $nick Admin $2 added in level 500-600.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b $1 $+ :Admin add $2-
}
if ($3 == 500) {
writeini admins.ini admins $2 $2
writeini admins.ini admins2 $2 $3
writeini admins.ini 500 $2 $2
notice $nick Admin $2 added in level 500-500.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b $1 $+ :Admin add $2-
}
}
else {
notice $nick You Need bot access: 1000 For this command.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b %a $+ Lack access $+ %b $1 $+ :Admin add $2-
}
}
on *:TEXT:$deladmin *:*: {
whois $nick
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, 1000, [ $+ [ %auth ] $+ ])) {
if ($2 == berend) { notice $Nick You cant Delete my boss. }
remini admins.ini admins2 $2
remini admins.ini admins $2
remini admins.ini 500 $2
remini admins.ini 600 $2
remini admins.ini 700 $2
remini admins.ini 800 $2
remini admins.ini 900 $2
remini admins.ini 1000 $2
notice $nick Admin: $2 Delted.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b $1 $+ :Admin del $2-
}
else {
notice $nick You Need bot access: 1000 For this command.
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 1000 $+ %b %a $+ Lack access $+ %b $1 $+ :Admin del $2-
}
}
on *:TEXT:$oa:#: {
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, admins, [ $+ [ %auth ] $+ ])) {
notice $nick You Have $readini(admins.ini, admins2, [ $+ [ %auth ] $+ ]) oaccess.
}
else {
notice $nick You dont have admin access to Daffy
}
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 0 $+ %b $1 $+ :Oaccess $2-
}
on *:TEXT:$oa *:*: {
var %auth2 $readini(dafauth.ini, nicks, $2)
var %auth $readini(dafauth.ini, nicks, $nick)
if ($readini(admins.ini, admins, [ $+ [ %auth2 ] $+ ])) {
notice $nick $+ $2 Has $readini(admins.ini, admins2, [ $+ [ %auth2 ] $+ ]) oaccess.
}
else {
notice $nick $2 doesn't have admin access to Daffy
}
set %a [
set %b ]
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 0 $+ %b $1 $+ :Oaccess $2-
}
on *:TEXT:$admins:#: {
notice $nick Daffy's Admin(s):
notice $nick 1000 berend
notice $nick End of Admins.
set %a [
set %b ]
var %auth $readini(dafauth.ini, nicks, $nick)
msg #Daffy.overwatch %a $+ $nick $+ : $+ %auth $+ %b %a $+ $chan $+ : $+ 0 $+ %b $1 $+ :Admins $2-
}