Skip to content

Sample Configuration#

armour.conf.sample#

The below is the current version of armour.conf.sample

   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
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
# ------------------------------------------------------------------------------------------------
#     _                                    
#    / \   _ __ _ __ ___   ___  _   _ _ __ 
#   / _ \ | '__| '_ ` _ \ / _ \| | | | '__|
#  / ___ \| |  | | | | | | (_) | |_| | |   
# /_/   \_\_|  |_| |_| |_|\___/ \__,_|_|   
#                                          
#
# Abuse and channel management script for eggdrop bots on the IRC networks.
#
# Armour automatic onjoin scanning be be placed in one of three modes:
#    ON        :    Automatic scans upon client channel /join
#    SECURE    :    Restricted channel modes (e.g., +Dm) with actions post-scan
#    OFF       :    Manual scans only
#
# ------------------------------------------------------------------------------------------------
# SUPPORTING
# ------------------------------------------------------------------------------------------------
#
#    whitelists
#    blacklists
#    dnsbl scans  :    dnswl exemptions and remote 'bounce' bot supported
#    port scans   :    remote 'bounce' bot supported
#    onchan scans :    remote 'bounce' bot supported
#
# ------------------------------------------------------------------------------------------------
# WHITELIST & BLACKLIST TYPES:
# ------------------------------------------------------------------------------------------------
#
#    user    :        authenticated username
#    host    :        hostmask, hostname, IP and CIDR notation accepted
#    regex   :        nick!user@host/rname
#    text    :        channel text matches
#    country :        geo location ip lookup
#    asn     :        autonomous system number lookup
#    chan    :        onchan #channel
#    rname   :        realname
#
# ------------------------------------------------------------------------------------------------
# WHITELIST ACTIONS:
# ------------------------------------------------------------------------------------------------
#
#    A:    Accept User (exempt scans)
#    O:    Op User
#    V:    Voice User
#
# ------------------------------------------------------------------------------------------------
# BLACKLIST ACTIONS
# ------------------------------------------------------------------------------------------------
#
#    B:    KickBan User
#
# ------------------------------------------------------------------------------------------------
#
# Code by       :  Empus @ Undernet - empus@undernet.org
# Last modified :  2024-03-18
#
# Please contact me should you need any assistence, but I hope most config options are explanatory.
#
# Issues and feature requests can be submitted on GitHub:
#
#        https://github.com/empus/armour
#
# Or by asking in #armour on Undernet
#
# ------------------------------------------------------------------------------------------------
namespace eval arm {
# ------------------------------------------------------------------------------------------------



# ------------------------------------------------------------------------------------------------
# GENERAL SETTINGS
# ------------------------------------------------------------------------------------------------

# -- bot name variable
# -- used to automate db filename and assist script updates
# -- ensure this *.conf file is named as BOTNAME.conf
# -- if multiple Armour bots run from the same eggdrop directory, each MUST have a different value
set cfg(botname) "EDITME"

# -- md5 type (md5|md5sum) - [md5sum]
# -- make sure this binary suits your system, otherwise passwords will not work!!
# - linux: md5sum
# - bsd: md5
set cfg(md5) "md5sum"

# -- alert users if they don't have a password set? (0|1) - [0]
set cfg(alert:nopass) 1

# -- debug type? (putlog|putloglev) - [putloglev]
# putlog will log everything to partyline (very verbose!)
# putloglev allows debug levels to be used by enabling each level (1-5) with .console +N
#    .console +1
#    .console +2
#    .console +3
#   ... etc
set cfg(debug:type) "putloglev"



# ------------------------------------------------------------------------------------------------
# UPDATE SETTINGS
# ------------------------------------------------------------------------------------------------

# -- run hourly check for new script updates? (0|1) - [1]
# -- notes are sent to global level 500 users when updates are found
set cfg(update) 1

# -- send notes to global 500 users when new script versions are found? (0|1) - [1]
set cfg(update:notes) 1

# -- automatically update script when new updates are found? (0|1) - [0]
# -- notes are sent to global level 500 users when updates are installed
# -- requires cfg(update) to be enabled
set cfg(update:auto) 0

# -- github branch to check and apply updates from - [master]
set cfg(update:branch) "master"

# -- automatically remove old script backups after N days - [7]
set cfg(update:flush) 7

# -- enable debug mode to download and stage new updates but do not execute (0|1) - 0
set cfg(update:debug) 0



# ------------------------------------------------------------------------------------------------
# USER REGISTRATION SETTINGS
# ------------------------------------------------------------------------------------------------

# -- allow users to self-register bot usernames? (0|1) - [1]
set cfg(register) 1

# -- if allowed, users must be in which channels to self-register usernames?
# space delimited; can be empty to allow in all chans
set cfg(register:inchan) "#chan1 #chan2"

# -- what global access level to give to newusers? - [1]
# -- applies to 'newuser' command when no global level given, and to 'register' command
set cfg(register:level) 1

# -- send notes to global level 500 users when newuser is created with 'register' cmd? (0|1) - [1]
set cfg(note:register) 1

# -- random password string length
set cfg(randpass) 10



# ------------------------------------------------------------------------------------------------
# NETWORK SETTINGS
# ------------------------------------------------------------------------------------------------

# -- ircd type [1-2] - [1]
# 1: ircu/Unreal (e.g., Undernet, Quakenet)
# 2: IRCnet/EFnet
# 3: InspIRCd/Solanum/ircd-seven
set cfg(ircd) 1

# -- connected via ZNC bouncer? (0|1) - [0]
# this changes 'jump' command behaviour
set cfg(znc) 0

# -- add automatic blacklist host entry upon g-line? (0|1) - [1]
set cfg(gline:auto) 1

# -- required G-Line reason mask for above to apply (wildcards) - [G-Lined *]
set cfg(gline:mask) "G-Lined *"

# -- mask for which G-Lines do NOT add blacklist entry (wildcard) - [AUTO *]
set cfg(gline:nomask) "G-lined (AUTO *"

# -- bot realname on IRC
set cfg(realname) "Armour - https://armour.bot"

# -- hostname of services - [undernet.org]
set cfg(servicehost) "undernet.org"



# ------------------------------------------------------------------------------------------------
# BOT SETTINGS
# ------------------------------------------------------------------------------------------------

# -- command prefix [c]
# If prefix is a letter, command follows (i.e. c op <chan> <nick>)
# If prefix is a control char, command is embedded (i.e. !op <chan> <nick>)
# prefix cannot be *
set cfg(prefix) "c"

# -- allow use of nickname (with or without nick completion char :) as control char? (0|1) - [1]
set cfg(char:nick) 1

# -- require tab completion char ':' on nickname prefix?    (0|1) - [1]
set cfg(char:tab) 1

# -- allow global prefix char '*'  (0|1) - [0]
set cfg(char:glob) 1

# -- allow command shortcuts? (0|1) - [1]
# k = kick      kb = kickban    b = black
# a = add       v = view        r = rem
# e = exempt    s = stats       t = topic
# o = op        d = deop        u = userlist
set cfg(cmd:short) 1

# -- default mode on load? (on|off|secure) - [on]
set cfg(mode) "on"

# -- automatically change mode based on changing of mode +D and -D? (0|1) - [1]
set cfg(mode:auto) 1

# -- allow jump command to specify server? (0|1) - [1]
set cfg(jump) 1

# -- send help and syntax responses from public commands via /notice? (0|1) - [0]
set cfg(help:notc) 0

# -- also sent web documentation links in help command responses? (0|1)? - [1]
set cfg(help:web) 1

# -- only output usage and web links in help responses? (0|1)? - [1]
set cfg(help:webonly) 1

# -- stack voice modes when in secure mode? - [0|1]
# -- this will slow down voicing of new users, by the time set in cfg(stack:secs)
set cfg(stackvoice) 1

# -- stackvoice timer (secs) - [5]
set cfg(stack:secs) 5

# -- default whitelist reason - [regular]
set cfg(def:wreason) "regular"

# -- default blacklist reason - [abuse]
set cfg(def:breason) "abuse"

# -- auto add blacklist entries on floodnet?
set cfg(auto:black) 1

# -- netsplit memory timeout (mins) - [60]
set cfg(split:mem) 60

# -- lockdown eggdrop dcc commands? (0|1) - [1]
set cfg(lockegg) 1

# -- if locked egg, what flag is required for all commands? - [n]
set cfg(lockegg:flag) "n"

# -- default temporary exemptions last for how long? (mins) - [5]
# - via 'exempt' command, time can be overriden
set cfg(exempt:time) 5

# -- allow users to set their own channel greetings? (0|1) - [1]
set cfg(greet:self) 1



# ------------------------------------------------------------------------------------------------
# NOTE SETTINGS
# ------------------------------------------------------------------------------------------------

# -- allow user notes? (0|1) - [1]
set cfg(note) 1

# -- global command level to send notes to all users? - [450]
set cfg(note:glob) 450

# -- send users note read receipts? (0|1) - [1]
set cfg(note:receipt) 1

# -- send users notes when added to channels? (0|1) - [1]
set cfg(note:adduser) 1

# -- send users notes when removed from channels? (0|1) - [1]
set cfg(note:remuser) 1

# -- send users notes when channel level is modified? (0|1) - [1]
set cfg(note:level) 1



# ------------------------------------------------------------------------------------------------
# CHANNEL SETTINGS
# ------------------------------------------------------------------------------------------------

# --- channels to NOT operate on. comma separated
# -- command chans (comma delimited). leaeve empy to allow on all channels
set cfg(chan:nocmd) "#foo1 #foo2"

# -- autologin /who cycle (secs) - [60]
# -- how frequently to check the channel list for people who authenticated to X after joining
# - only if enabled above
set cfg(autologin:cycle) 60

# -- default command chan (for applicable privmsg & dcc commands)
set cfg(chan:def) "EDITCHAN"

# -- reporting channel (backchan)
# -- useful for command logging and other diagnostics
set cfg(chan:report) ""

# -- how long to disable floodnet detection after chanmode '+d' (secs) - [60]
# - will be automatically re-enabled on chanmode '-d' anyway
set cfg(time:moded) 60

# -- how many recently joined hostnames to track? (num) - [600]
# - for fast blacklists using type 'last'
set cfg(lasthosts) 600

# -- append the username that set a topic, when set via bot? (0|1) - [1]
set cfg(topic:who) 0



# ------------------------------------------------------------------------------------------------
# SERVICE AUTHENTICATION SETTINGS
# ------------------------------------------------------------------------------------------------

# -- authentication username
# leave blank if login not used or handled in another script
# leave blank if using NickServ auth mechanism below
set cfg(auth:user) ""

# -- authentication password
# leave blank if login not used or handled in another script
set cfg(auth:pass) ""

# -- TOTP (2FA) secret base32 key
# leave blank to disable 2FA authentication
# note that this currently requires 'oathtool' to be installed on the server
set cfg(auth:totp) ""

# -- mechanism for authentication (gnuworld|nickserv) - [gnuworld]
# set to "gnuworld" for Undernet
# set to "nickserv" for networks with NickServ
set cfg(auth:mech) "gnuworld"

# -- auth service nickname - [X]
# set to "X" for Undernet
# set to "NickServ" for networks with NickServ
set cfg(auth:serv:nick) "X"

# -- auth service host - [channels.undernet.org]
# -- ie. /msg x@channels.undernet.org login <user> <pass>
# leave blank if using NickServ auth mechanism
set cfg(auth:serv:host) "channels.undernet.org"

# -- extension for umode +x registered users - [users.undernet.org]
# -- change with care to suit your own network
set cfg(xhost:ext) "users.undernet.org"

# -- use umode +x? (host hiding) (0|1) - [1]
set cfg(auth:hide) 1

# -- frequency for authentication retries (mins) - [5]
set cfg(auth:retry) 5

# -- use a random nickname until authenticated? (0|1) - 0
set cfg(auth:rand) 0

# -- wait to join channels until authenticated? (0|1) - 0
set cfg(auth:wait) 0



# ------------------------------------------------------------------------------------------------
# KICKBAN SETTINGS
# ------------------------------------------------------------------------------------------------

# -- how to set channel kickbans? (chan|x) - [x]
# use "x" to set bans via GNUWorld's mod.cservice service (ie. Undernet's X)
# otherwise, use 'chan' to set channel kicks and bans
set cfg(ban) "chan"

# -- X ban level (if using X) - [100]
set cfg(ban:level) "100"

# -- how long to set temp bans? - [3d]
# units supported:
#    s = seconds
#    m = minutes
#    h = hours
#    d = days
set cfg(ban:time) "3d"

# -- autoban on blacklist entry addition? (0|1) - [1]
set cfg(ban:auto) 1

# -- include 'userid' in banmask where ~ not present in ident and user not authed to services? (0|1) - [1]
# -- note that idents with ~ will still always ban as *!~*@host
# 0: *!*@host
# 1: *!user@host
set cfg(ban:idents) 1

# -- how long to set temp adaptive regex bans? - [7d]
set cfg(ban:time:adapt) "7d"

# -- channel modes to set when channel banlist is full - [+mr]
set cfg(ban:full:modes) "+mr"

# -- how long (secs) to remember 'newcomers' for (for stringent public chatter rules) - [60]
# -- stringent rules apply to newcomers after first joining channel:
# - excessive word repeat
# - profanity (badwords)
# - spam (channels / website)
# - coloured text
set cfg(time:newjoin) "60"

# -- badword masks for public chatter (space delimited with wildcards)
# -- note: more powerful string now matching supported by 'text' type blacklist entries
set cfg(badwords) "*fuck* *shit*"

# -- time to allow automatic removal of recent bans by specifying blacklist id (secs) - [3600]
# - also provides memory used for optional blacklist removals based on unbans
set cfg(id:unban:time) 3600

# -- automatically remove blacklist entries when channel ban is removed? (0|1) - [1]
# - user must have 'rem' access; unban must occur within cfg(id:unban:time) of ban
set cfg(black:unban:rem) 1



# ------------------------------------------------------------------------------------------------
# SCANNER SETTINGS
# ------------------------------------------------------------------------------------------------

# -- include blacklist entry value in kick messages? (0|1) - [0]
set cfg(black:kick:value) 0

# -- include blacklist reason in kick messages? (0|1) - [1]
set cfg(black:kick:reason) 1

# -- auto convert hostnames to IP addresses when using 'add' command for type 'host'? (0|1) - [0]
set cfg(list:host:convert) 0

# -- run blacklist scans on type 'country' when user has resolved ident? - [0]
# -- whitelist scans will always run
set cfg(country:ident) 0

# -- enable dnsbl scans? (0|1) - [1]
set cfg(dnsbl) 1

# -- enable botnet (remote) dnsbl scans? (0|1) - [1]
set cfg(dnsbl:remote) 0

# -- dnsbl, description and score
# last parameter (0|1) determines if RBL is only used for manual scans (scanrbl cmd) or not
# <rbl> {<desc> <score> <onlymanual>}
# - score must be + or - with a score of >0 constituting a hit
# - if 'onlymanual' is set, RBL is only checked when 'scanrbl' command is used but not in auto scans
# format to add:
# set addrbl(<rbl>) "{<description>} <score> <onlymanual>"
set addrbl(dnsbl.dronebl.org) "DroneBL +1.0 0";       # -- auto scanner (and manual)
set addrbl(sbl.cymru.com) "{Cymru SBL} +1.0 0";       # -- auto scanner (and manual)
set addrbl(pbl.cymru.com) "{Cymru PBL} +1.0 0";       # -- auto scanner (and manual)
set addrbl(mbl.cymru.com) "{Cymru MBL} +1.0 0";       # -- auto scanner (and manual)
set addrbl(bbl.cymru.com) "{Cymru BBL} +1.0 0";       # -- auto scanner (and manual)
set addrbl(rbl.ircbl.org) "IRCBL +1.0 1";             # -- only manual scans as Undernet uses network-wide
set addrbl(rbl.undernet.org) "{Undernet} +1.0 1";     # -- only manual scans as Undernet uses network-wide
#set addrbl(zen.spamhaus.org) "{Spamhaus Zen} +1.0 0"; # -- auto scanner (and manual); must not use public nameservers

# -- enable port scanner? (0|1) [1]
set cfg(portscan) 1

# -- port scan kick reason
set cfg(portscan:reason) "Armour: possible insecure host unintended for IRC -- please install identd"

# -- enable botnet (remote) port scans? (0|1) - [1]
set cfg(portscan:remote) 0

# -- scanports and description
# -- add an 'addport' line for each port to scan, in the format of:
# set addport(<port>) "<description>"
set addport(21) "ftp"
set addport(22) "ssh"
set addport(25) "smtp"
set addport(80) "www"
set addport(7070) "realserver"
set addport(31337) "31337/tcp"
set addport(10000) "webmin"

# -- minimum port match before action - [1]
set cfg(portscan:min) 2

# -- enable /whois lookups? (0|1) - [1]
# - note: required for 'chan' list entries
set cfg(whois) 1

# -- enable botnet (remote) /whois lookups? (0|1) - [0]
# - not required, but lowers server queue to improve response time on busy channels
# - if enabled, remote bot mut be connected via botnet and have remotescan.tcl (only) loaded
set cfg(whois:remote) 0

# -- if any scanner enabled, scan all? (1) or only unresolved idents? (0) - [0]
set cfg(scans:all) 0

# -- botnet nick of remote bots, if enabled above
# -- ensure this bot is connected to botnet
set cfg(bot:remote:dnsbl) "remote-bot"
set cfg(bot:remote:port) "remote-bot"
set cfg(bot:remote:whois) "remote-bot"



# ------------------------------------------------------------------------------------------------
# CAPTCHA SETTINGS
# -- requires channel mode to be 'secure'
# -- web CAPTCHA requires 'armour-verify' web application @ https://github.com/empus/armour-verify
# ------------------------------------------------------------------------------------------------
# CAPTCHA used to help validate suspicious joining clients

# -- enable CAPTCHA for suspicious clients? (0|1) - [1]
set cfg(captcha) 0

# -- CAPTCHA type (web|text) - [text]
set cfg(captcha:type) "text"

# -- www.textcaptcha.com ID
# -- only required if cfg(captcha:type) is "text"
set cfg(captcha:id) "your@emailaddress.com"

# -- send an opnotice when a question is sent to a user? (0|1) - [1]
set cfg(captcha:opnotc) 1

# -- how long to wait (in secs) for CAPTCHA responses? - [300]
set cfg(captcha:time) 180

# -- action to take for expired responses (manual|kick|kickban) - [kickban]
set cfg(captcha:expired) "kickban"

# -- bantime duration for expired responses - [1h]
set cfg(captcha:expired:bantime) "1h"

# -- kick message for expired responses
set cfg(captcha:expired:kick) "Armour: your lack of CAPTCHA response is disturbing. Please try again or login to X."

# -- kick message from web CAPTCHA when kick history is identified
set cfg(captcha:kick:kick) "Armour: you have a history of abuse."

# -- kick message from web CAPTCHA when IP is rate-limited
set cfg(captcha:ratelimit:kick) "Armour: you have been CAPTCHA rate-limited.  Please come back later or login to X."

# -- send notice to channel operators when a captcha expectation expires? (0|1) - 1
set cfg(captcha:expired:ops) 1

# -- how many incorrect attempts are allowed before action? - 1
set cfg(captcha:wrong:attempts) 1

# -- action to take for incorrect responses (manual|kick|kickban) - [kickban]
# -- manual: send opnotice to ask ops for manual review
set cfg(captcha:wrong) "kickban"

# -- bantime duration for expired responses? - [10m]
set cfg(captcha:wrong:bantime) "10m"

# -- bantime duration for expired responses - [1h]
set cfg(captcha:expired:bantime) "10m"

# -- kick message for incorrect responses
set cfg(captcha:wrong:kick) "Incorrect response! Please give it some more thought next time."

# -- send acknowledgement for correct answers? (0|1) - [1]
set cfg(captcha:ack) 1

# -- what acknwledgement message to send?
set cfg(captcha:ack:msg) "Correct! You can now speak in the channel."

# -- send acknowledgement to channel ops from correct answers? (0|1) - [1]
set cfg(captcha:ack:ops) 1


# ------------------------------------------------------------------------------------------------
# IP QUALITY SCORE SETTINGS
# ------------------------------------------------------------------------------------------------
# This section relates to the use of ipqualityscore.com lookups for potentially malicious clients

# -- IPQS enable? (0|1) - [0]
set cfg(ipqs) 0

# -- IPQS API key
set cfg(ipqs:key) "you-key-here"

# -- IPQS only match clients with ~ in ident? (0|1) - [1]
set cfg(ipqs:onlynoident) 1

# -- IPQS minimum fraud score required before action is taken (0-100) - [85]
set cfg(ipqs:minscore) 90

# -- IPQS action (in mode=secure) -- kick|kickban|warn - [kick]
set cfg(ipqs:action:secure) "kick"

# -- IPQS action (in mode=on) -- kick|kickban|warn - [kickban]
set cfg(ipqs:action:on) "kickban"

# -- IPQS ban duration (secs) - [3600]
set cfg(ipqs:duration) 3600


# ------------------------------------------------------------------------------------------------
# IRCBL INTEGRATION SETTINGS
# ------------------------------------------------------------------------------------------------
# This section relates to the use of IRCBL integration for for insertion & deletion

# -- ircbl.org enable
set cfg(ircbl) 0;

# -- ircbl.org key
set cfg(ircbl:key) "your-key-here";

# -- ircbl.org default addition type - [11]
set cfg(ircbl:type) 11;

# -- ircbl.org generic comment
set cfg(ircbl:add:comment) "IRC drone detected";

# -- ircbl.org manual addition global level required
set cfg(ircbl:lvl) 500;



# ------------------------------------------------------------------------------------------------
# TEXT MATCH BLACKLIST ENTRY SETTINGS
# ------------------------------------------------------------------------------------------------
# This section relates to blacklist entries matching channel text (wildcard or regex)

# -- exempt from matching if they are opped? (0|1) - [1]
set cfg(text:exempt:op) 1

# -- exempt from matching if they are voiced? (0|1) - [0]
set cfg(text:exempt:voice) 0

# -- only match clients who have recently joined the channel? (0|1) - [0]
#     this relates to above variable cfg(time:newjoin)
set cfg(text:newcomer) 0

# -- add automatic blacklist entries for users who trigger text matches? (0|1) - [0]
set cfg(text:autoblack) 0

# -- if automatic blacklist entries are enabled, what reason to use?
set cfg(text:autoblack:reason) "(auto) blacklisted from text match violation"

# -- if threshold is >1, display warning to user on first occurrence? (0|1) - [0]
set cfg(text:warn) 1

# -- if warning is enabled, send via channel (chan) or /notice (notc)? (chan|notc) - [notc]
set cfg(text:warn:type) "notc"

# -- if warning is enabled, what should the message say?
set cfg(text:warn:msg) "Please avoid using such language in #channel.  Consider this a warning."

# -- if sending report to ops/debugchan, what should it say?
#     substitution:
#        %N%        nickname
#        %I%        ID of entry
set cfg(text:warn:report) "Armour: %N% has been warned about use of language. \[id: %I%\]"



# ------------------------------------------------------------------------------------------------
# LINE FLOOD SETTINGS
# ------------------------------------------------------------------------------------------------
# This section relates to line flood handling (from individual clients, or the entire channel)

# -- how many lines to allow from a single client in how many seconds before acting? (lines:secs) - [5:2]
# -- leave config value blank to disable nickname based line flood tracking
set cfg(flood:line:nicks) "5:2"

# -- how many lines to allow from the whole channel in how many seconds before acting? (lines:secs) - [10:2]
# -- NOTE: this should be set based on the expected activity of the channel (to avoid false positives)
# -- leave config value blank to disable channel based line flood tracking
set cfg(flood:line:chan) "10:2"

# -- modes to temporarily lockdown channel with, during entire channel lineflood - [+mr]
set cfg(flood:line:chan:mode) "+mr"

# -- temporary lockdown time when whole channel encounters lineflood (secs) - [60]
set cfg(flood:line:chan:lock) 60

# -- exempt from matching if they are opped? (0|1) - [1]
set cfg(flood:line:exempt:op) 1

# -- exempt from matching if they are voiced? (0|1) - [1]
set cfg(flood:line:exempt:voice) 1

# -- only match clients who have recently joined the channel? (0|1) - [1]
#     this relates to above variable cfg(time:newjoin)
set cfg(flood:line:newcomer) 1

# -- kickban reason when user reaches line limit
set cfg(flood:line:reason) "Armour: flood detected"

# -- add automatic blacklist entries for users who trigger text matches? (0|1) - [0]
set cfg(flood:line:autoblack) 0

# -- if automatic blacklist entries are enabled, what reason to use?
set cfg(flood:line:autoblack:reason) "(auto) blacklisted from line flood"



# ------------------------------------------------------------------------------------------------
# ADAPTIVE REGEX
# ------------------------------------------------------------------------------------------------

# -- enable adaptive regex onjoin? - [1]
set cfg(adapt) 1

# -- adaptive regex types on join? (space delimited) - [n i]
# n  : nickname
# ni : nick!ident
# i  : ident
set cfg(adapt:types:join) "n i ni"

# -- adaptive regex types after /who (space delimited) - [r]
# -- used in secure mode or once rname known
# n    : nickname
# ni   : nick!ident
# nir  : nick!ident/rname
# nr   : nick/rname
# i    : ident
# ir   : ident/rname
# r    : rname
#
# use types involving rname and do not duplicate those done above in cfg(adapt:types:join)
# this will prevent double handling for a given pattern (ie. false positives)
set cfg(adapt:types:who) "nir nr r"

# -- match explicit rname in adaptive regex? (0|1) - [1]
# -- ie. match only common realnames? (1) -- or likeness patterns? (0) - [0]
set cfg(adapt:explicit) 0

# -- adaptive regex max join rate (clients:seconds:retain) - [2:3:15]
# clients: client joins
# seconds: .. in N seconds
# retain: & retain common pattern for N seconds (for further joins)
set cfg(adapt:rate) "2:2:5"



# ------------------------------------------------------------------------------------------------
# REPORT SETTINGS
# ------------------------------------------------------------------------------------------------

# -- include blacklist entry value in kick messages? (0|1) - [0]
set cfg(report:value) 0

# -- include blacklist entry reason in kick messages? (0|1) - [1]
set cfg(report:reason) 1

# -- send user notices for whitelist entries? (0|1) - [0]
set cfg(notc:white) 0

# -- send user notices for blacklist entries? (0|1) - [0]
set cfg(notc:black) 0

# -- send op notices for whitelist entries? (0|1) - [1]
set cfg(opnotc:white) 1

# -- send op notices for blacklist entries? (0|1) - [1]
set cfg(opnotc:black) 1

# -- send op notices for IRC Operator autoops using channel operop setting? (0|1) - [1]
set cfg(opnotc:operop) 1

# -- send op notices for blacklist text warnings? (0|1) - [1]
set cfg(opnotc:text) 1

# -- send debug chan notices for whitelist entries? (0|1) - [1]
set cfg(dnotc:white) 1

# -- send debug chan notices for blacklist entries? (0|1) - [1]
set cfg(dnotc:black) 1

# -- send debug chan notices for blacklist text warnings? (0|1) - [1]
set cfg(dnotc:text) 1

# -- send debug chan notices for IRC Operator autoops using channel operop setting? (0|1) - [1]
set cfg(dnotc:operop) 1



# ------------------------------------------------------------------------------------------------
# CUSTOM QUEUE SETTINGS
# ------------------------------------------------------------------------------------------------

# -- frequency (in secs) to find hidden users when in secure mode (chanmode +Dm) - [5]
set cfg(queue:secure) 5

# -- custom kick queue cycle (secs) - [2]
set cfg(queue:kick) 2

# -- custom ban queue cycle (secs) - [1]
set cfg(queue:ban) 1

# -- custom flood queue (miliseconds) - [500]
set cfg(queue:flud) 500



# ------------------------------------------------------------------------------------------------
# FLOODNET SETTINGS
# ------------------------------------------------------------------------------------------------

# -- channel lock modes during floodnet - [+mr]
set cfg(chanlock:mode) "+mr"

# -- channel lock time expiry (secs) - [5]
# -- note: lock will still only be removed after server queue is cleared (ie. kicks)
set cfg(chanlock:time) "60"



# ------------------------------------------------------------------------------------------------
# TRAKKA SETTINGS
# ------------------------------------------------------------------------------------------------ 

# -- channel to send trakka alerts to? prefix with @ for opnotice
# -- defaults to channel the client joined, if empty
set cfg(trakka:alertchan) ""

# -- routinely add points every how many mins? - [360]
# - every 6 hours (4 points per day)
set cfg(trakka:routine) 360

# -- routinely save trakka scores to db every N minutes? - [60]
set cfg(trakka:autosave) 60

# -- remove how many points daily from those not in the channel? - [1]
set cfg(trakka:subtract) 1

# -- initial newcomer score gain after how many seconds in chan? - [3600]
set cfg(trakka:init) 3600

# -- kickban user if user still has no score, is not opped, or voiced after a wait period (0|1) - [1]
# -- voice will not be factored if channel is in secure mode
set cfg(trakka:kb:enable) 1

# -- if kickban is enabled, how long should the bot wait before removing? (secs) - [300]
# -- NOTE: this needs to be less than trakka:init value above
set cfg(trakka:kb:wait) 1800

# -- if kickban is enabled, what kick reason to use? 
set cfg(trakka:kb:reason) "Armour: you appear to be unknown and have therefore been removed (trakka)"

# -- reason for kick message when nudge command is used
set cfg(trakka:nudge:reason) "Armour: you appear to be unknown and have therefore been removed (trakka)"

# -- duration for kickban when nudge command is used - [1h]
set cfg(trakka:nudge:time) "1h"



# ------------------------------------------------------------------------------------------------
# EXTERNAL SCRIPT INTEGRATION
# ------------------------------------------------------------------------------------------------

# -- pass user data after negative scans to external scripts with args: nick uhost hand chan
# -- use this so that other scripts can process joining users but only after Armour clears them
# - space delimited
set cfg(integrate:procs) ""



# ------------------------------------------------------------------------------------------------
# BOT PROTECTION
# ------------------------------------------------------------------------------------------------

# -- list of /silence masks
# - provides server level flood protection
# - leave empty for no /SILENCE
# -- WARNING: if CAPTCHA is being used, SILENCE should be disabled (to allow captcha responses)
#set cfg(silence) "+*!*@*,+~*!*@*.users.undernet.org"; # -- only allow messages from authed users
set cfg(silence) ""



# ------------------------------------------------------------------------------------------------
# SECURE MODE (PARANOIA) SETTINGS
# ------------------------------------------------------------------------------------------------

# -- when in mode 'secure'
# - number of clones to mark for manual review (no autovoice) [2]
set cfg(paranoid:clone) 2

# -- when in mode 'secure'
# - server connection time must be older than N seconds for autovoice [10]
set cfg(paranoid:signon) 10

# -- send CTCP VERSION to clients to help validate when in 'secure' mode? (0|1) - 1
set cfg(paranoid:ctcp) 1

# -- if enabled, how long to wait for CTCP version response? (secs) - 3
set cfg(paranoid:ctcp:wait) 3

# -- if CTCP reply not received, what action to take? (manual|captcha|kick|kickban) - manual
set cfg(paranoid:ctcp:action) "manual"

# -- if action is set to kick or kickban, what kick message should be used?
set cfg(paranoid:ctcp:kickmsg) "Armour: your presence in this channel is suspicious."

# -- how many times can a client be kicked in what period (secs), before being kickbanned?    - [1:330]
# this will prevent a client from continuously auto-rejoining when actions only kick
# the next time a kick is attempted, it will instead revert to kickban
# ideally this should be longer than double both cfg(queue:secure) and cfg(captcha:time) combined (if captcha is used)
set cfg(paranoid:klimit) "1:670"


# ------------------------------------------------------------------------------------------------
# DRONEBL
# ------------------------------------------------------------------------------------------------

# -- enable DroneBL to support RBL additions and removals? 
# -- note that this is not required only to do RBL lookups, which can be done via `set scan:rrbls`
set cfg(dronebl) 0

# -- DroneBL RPC Key (www.dronebl.org)
# - caution: you are responsible for DroneBL submissions with this key
# - allocate access with care 
set cfg(dronebl:key) ""

# -- level required for DroneBL submission [500]
set cfg(dronebl:lvl) 500

# -- default submission type [17]
set cfg(dronebl:type) 17


# ------------------------------------------------------------------------------------------------
# OPENAI
# -- requires 'openai' plugin to be loaded
# -- requires 'openai' per channel setting to be enabled
# ------------------------------------------------------------------------------------------------

# -- enable 'ask' AI functionality? (0|1) - [0]
set cfg(ask:enable) 0

# -- ChatGPT API token
# https://platform.openai.com/account/api-keys
set cfg(ask:token) "YOUR-TOKEN-HERE"

# -- ChatGPT API organization
# https://platform.openai.com/account/org-settings
set cfg(ask:org) "YOUR-ORG-HERE"

# -- ChatGPT API model
set cfg(ask:model) "gpt-4-turbo-preview"

# -- ChatGPT query timeout (secs) - [60]
set cfg(ask:timeout) 60

# -- ChatGPT Max Answer Lines
set cfg(ask:lines) "3"

# -- ChatGPT API temperature
# The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more 
# random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, 
# the model will use log probability to automatically increase the temperature until certain 
# thresholds are hit.
set cfg(ask:temp) "0.7"

# -- ChatGPT chatbot description
# Optional instruction to the chatbot to influence its responses
set cfg(ask:system) "You are $cfg(botname). Be fun and helpful, pretending to be a sentient robot created by Empus."

# -- ChatGPT system behaviour for all user requests
# notes:
#       * setting is always applied to all requests
#       * per user per chan behaviour can be set with 'askmode' command
#       * restricting output line count can help avoid floods or throttlings
# examples:
#   "Answer humorously."
#   "Answer sarcastically."
#   "Pretend to be a sarcastic politician."
#   "Act like an idio."
set cfg(ask:prefix) "Answer in 3 lines or less."

# -- channels to apply blacklisted request strings in (space delimited)
# note: set to "" to disable blacklist on all channels
set cfg(ask:blacklist:chans) ""

# -- string masks blacklisted for use in queries
# note: this list is only applied to channels listed in cfg(ask:blacklist:chans)
set cfg(ask:blacklist) "*badword1* *another* *example2*"

# -- ChatGPT conversation memory after initial question (mins) - [60]
set cfg(ask:mem) 60

# -- send all queries to 'ask' when botnick is used? (0|1) - [1]
# NOTE: this will prevent all other commands from using the botnick as a command prefix
set cfg(ask:cmdnick) 1

# -- allow channel ops to send queries even if not logged in? (0|1) - [1]
set cfg(ask:ops) 1

# -- allow channel voiced users to send queries even if not logged in? (0|1) - [1]
set cfg(ask:voice) 1

# -- DALL-E image creation enable? (0|1) - [1]
set cfg(ask:image) 1

# -- DALL-E image size (pixels) - "1024x1024"
# -- smaller images are faster to generate (512x512, 1024x1024)
# -- note that dall-e-3 does not support 512x512
set cfg(ask:image:size) "1024x1024"

# -- DALL-E image model - [dall-e-3]
set cfg(ask:image:model) "dall-e-3"

# -- DALL-E image overlay with requesting nick and prompt? (0|1) - [1]
# note: ImageMagick7 must be installed on machine (using binary 'convert')
set cfg(ask:image:overlay) 1

# -- DALL-E image creation rate limiting (req:mins:hold) - [5:5:30]
# -- triggered at 5 requests per 5 mins, then retaining rate limit for 30 mins
# -- set to "" to disable rate limiting
set cfg(ask:image:rate) "5:5:30"

# -- DALL-E image creation rate limiting action
# -- set to "" to temporarily prevent all image requests
# -- set value to alternate DALL-E model to reduce API costs during rate limited restriction period
set cfg(ask:rate:act) "dall-e-2"

# -- absolute path to save DALL-E image PNG files to webserver
set cfg(ask:path) "/home/armour/www/armour"

# --retain PNG and mp3 files for how many days? - [90]
# notes:
#   - to keep forever, use empty value
#   - those with votes or in quotes will remain preserved
set cfg(ask:expire) "90"

# -- URL root serving PNG files from above path
set cfg(ask:site) "https://files.armour.bot"

# ------------------------------------------------------------------------------------------------
# AI SPEAK (text-to-speech)
# ------------------------------------------------------------------------------------------------

# -- enable 'speak' functionality? (0|1) - [0]
set cfg(speak:enable) 0

# -- max number of lines to speak in responses
set cfg(speak:lines) "4"

# -- text-to-speech service (elevenlabs, openai) - [openai]
# -- openai:     www.openai.com
# -- elevenlabs: www.elevenlabs.io
set cfg(speak:service) "openai"

# -- API query timeout (seconds)
set cfg(speak:timeout) 30

# ------------------------------------------------------------------------------------------------
# OPENAI -- relevant settings only if cfg(speak:service) set to: openai
# ------------------------------------------------------------------------------------------------
# -- OpenAI text-to-speech voice (alloy, echo, fable, onyx, nova, shimmer) - [onyx]
set cfg(speak:openai:voice) "onyx"

# -- OpenAI text-to-speech model - [tts-1]
set cfg(speak:openai:model) "tts-1"

# -- OpenAI text-to-speech file format mp3, opus, aac, flac
set cfg(speak:openai:format) "mp3"

# ------------------------------------------------------------------------------------------------
# ELEVENLABS -- relevant settings only if cfg(speak:service) set to: elevenlabs
# www.elevenlabs.io
# ------------------------------------------------------------------------------------------------

# -- ElevenLabs text-to-speech API key
set cfg(speak:key) "API-KEY-HERE"

# -- ElevenLabs text-to-speech voice model
set cfg(speak:model) "eleven_monolingual_v1"

# -- ElevenLabs text-to-speech voice
# -- https://elevenlabs.io/app/voice-lab
set cfg(speak:voice) "ZQe5CZNOzWyzPSCn5a3c"


# ------------------------------------------------------------------------------------------------
# COMMAND LEVELS
# ------------------------------------------------------------------------------------------------

# -- level requirements for commands

# -- standard command structure
# - to disable a command, comment out line
# - to change the required level, update the level per command
# - to modify whether a command is accepted via public chan, privmsg, or dcc, update the binds
#
# - binds:
#    pub:    public channel command
#    msg:    privmsg command
#    dcc:    dcc command
# ------------------------------------------------------------------------------------------------
# command                  plugin   level req.  binds
# ------------------------------------------------------------------------------------------------
set addcmd(register)    {  userdb    0          pub msg dcc  }; # -- only if configured
set addcmd(ask)         {  arm       1          pub msg dcc  }; # -- requires openai plugin
set addcmd(askmode)     {  arm       1          pub msg dcc  }; # -- requires openai plugin
set addcmd(and)         {  arm       1          pub msg dcc  }; # -- requires openai plugin
set addcmd(image)       {  arm       1          pub msg dcc  }; # -- requires openai plugin
set addcmd(speak)       {  arm       1          pub msg dcc  }; # -- requires speak plugin
set addcmd(access)      {  userdb    1          pub msg dcc  }
set addcmd(cmds)        {  arm       1          pub msg dcc  }
set addcmd(help)        {  arm       1          pub msg dcc  }
set addcmd(info)        {  userdb    1          pub msg dcc  }
set addcmd(verify)      {  userdb    1          pub msg dcc  }
set addcmd(lang)        {  userdb    1          pub msg dcc  }
set addcmd(set)         {  userdb    1          pub msg dcc  }
set addcmd(time)        {  userdb    1          pub msg dcc  }
set addcmd(version)     {  arm       1          pub msg dcc  }
set addcmd(view)        {  arm       1          pub msg dcc  }
set addcmd(stats)       {  arm       1          pub msg dcc  }
set addcmd(status)      {  arm       1          pub msg dcc  }
set addcmd(scan)        {  arm       1          pub msg dcc  }
set addcmd(search)      {  arm       1          pub msg dcc  }
set addcmd(scanrbl)     {  arm       1          pub msg dcc  }
set addcmd(scanport)    {  arm       1          pub msg dcc  }
set addcmd(asn)         {  arm       1          pub msg dcc  }
set addcmd(country)     {  arm       1          pub msg dcc  }
set addcmd(note)        {  arm       1          pub msg dcc  }
set addcmd(exempt)      {  arm       1          pub msg dcc  }
set addcmd(queue)       {  arm       1          pub msg dcc  }
set addcmd(ack)         {  trakka    1          pub msg dcc  }
set addcmd(score)       {  trakka    1          pub msg dcc  }
set addcmd(nudge)       {  trakka    1          pub msg dcc  }
set addcmd(idle)        {  arm       1          pub msg dcc  }
set addcmd(ipqs)        {  ipqs      1          pub msg dcc  }
set addcmd(mode)        {  arm       100        pub msg dcc  }
set addcmd(add)         {  arm       100        pub msg dcc  }
set addcmd(op)          {  arm       100        pub msg dcc  }
set addcmd(deop)        {  arm       100        pub msg dcc  }
set addcmd(voice)       {  arm       100        pub msg dcc  }
set addcmd(devoice)     {  arm       100        pub msg dcc  }
set addcmd(kick)        {  arm       100        pub msg dcc  }
set addcmd(ban)         {  arm       100        pub msg dcc  }
set addcmd(unban)       {  arm       100        pub msg dcc  }
set addcmd(topic)       {  arm       100        pub msg dcc  }
set addcmd(invite)      {  arm       100        pub msg dcc  }
set addcmd(mod)         {  arm       200        pub msg dcc  }
set addcmd(black)       {  arm       200        pub msg dcc  }
set addcmd(chanscan)    {  arm       300        pub msg dcc  }
set addcmd(rem)         {  arm       300        pub msg dcc  }
set addcmd(newuser)     {  userdb    400        pub msg dcc  }
set addcmd(adduser)     {  userdb    400        pub msg dcc  }
set addcmd(remuser)     {  userdb    400        pub msg dcc  }
set addcmd(userlist)    {  userdb    400        pub msg dcc  }
set addcmd(usearch)     {  userdb    400        pub msg dcc  }
set addcmd(chanlist)    {  userdb    400        pub msg dcc  }
set addcmd(moduser)     {  userdb    400        pub msg dcc  }
set addcmd(say)         {  arm       500        pub msg dcc  }
set addcmd(jump)        {  arm       450        pub msg dcc  }
set addcmd(load)        {  arm       450        pub msg dcc  }
set addcmd(reload)      {  arm       450        pub msg dcc  }
set addcmd(restart)     {  arm       450        pub msg dcc  }
set addcmd(rehash)      {  arm       450        pub msg dcc  }
set addcmd(addchan)     {  userdb    450        pub msg dcc  }
set addcmd(remchan)     {  userdb    450        pub msg dcc  }
set addcmd(modchan)     {  userdb    450        pub msg dcc  }
set addcmd(deluser)     {  userdb    450        pub mdg dcc  }
set addcmd(do)          {  userdb    500        pub msg dcc  }
set addcmd(die)         {  arm       500        pub msg dcc  }
set addcmd(conf)        {  arm       500        pub msg dcc  }
set addcmd(showlog)     {  arm       500        pub msg dcc  }
set addcmd(update)      {  arm       500        pub msg dcc  }


# ------------------------------------------------------------------------------------------------
# PLUGINS
# ------------------------------------------------------------------------------------------------

# -- optional plugins to load
# -- to load plugins, uncomment their line after editing any config parameters in each file
#set addplugin(quote) "./armour/plugins/quote.tcl";           # -- quote management
#set addplugin(openai) "./armour/plugins/openai.tcl";         # -- openai (ChatGPT)
#set addplugin(openai) "./armour/plugins/speak.tcl";          # -- speak (text-to-speech)
#set addplugin(tell) "./armour/plugins/tell.tcl";             # -- tell
#set addplugin(trakka) "./armour/plugins/trakka/trakka.tcl";  # -- trakka
#set addplugin(smsbot) "./armour/plugins/smsbot.tcl";         # -- SMS (via smsglobal.com)
#set addplugin(push) "./armour/plugins/push.tcl";             # -- push (via pushover.net)
#set addplugin(email) "./armour/plugins/email.tcl";           # -- email



# ------------------------------------------------------------------------------------------------
# END OF CONFIGURATION
# ------------------------------------------------------------------------------------------------


# ------------------------------------------------------------------------------------------------
}; # -- end of namespace
# ------------------------------------------------------------------------------------------------
source ./armour/armour.tcl; # -- do not edit
# ------------------------------------------------------------------------------------------------