-
Notifications
You must be signed in to change notification settings - Fork 2
/
fiqbot-config.mrc
61 lines (49 loc) · 2.22 KB
/
fiqbot-config.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
;FIQ-bot configuration
;Syntax: alias <setting> return <value>
;Version number
;Default: 3.3-tyrant
alias fiqbot.version return 3.3-tyrant
;Root password - if you want a straight forward way to give yourself max access (11) by using "rootme <password>" in query.
;Security issue if someone knows about this password, keep this in mind.
;Default: not set (commented out)
;Uncomment to use
;alias fiqbot.rootpass return VeryGoodPassword
;Default admin account. The address of this account is enforced to be 11.
;Default: FIQ (commented out)
;Uncomment to use
;alias fiqbot.rootaccount return FIQ!*@*
;System channel - if you want a dedicated channel that this bot always joins.
;Default: #FIQ-bot (commented out)
;Uncomment to use
;alias fiqbot.channel return #FIQ-bot
;TYRANT CONFIGURATIONS
;Tyrant version. Set this to the current version for Tyrant.
;Default: 2.17.09
alias fiqbot.tyrant.version return 2.17.09
;Tyrant "time hash" salt. This must be changed to the actual salt.
;The salt can be retrieved only if you know what you're doing.
;The reason this is censored is to prevent you from being able to
;understand and use Tyrant's API from this script alone and thus
;be able to bot easily. By replacing the content here, you accept that I have
;no responsibility for what you do with API access.
alias fiqbot.tyrant.salt return TYRANT_STATIC_SALT
;Directory to save Tyrant XMLs and databases (hash tables) in.
;Default: (the script directory)\tyrant
alias fiqbot.tyrant.directoryconfig return $+($scriptdir,tyrant\)
;Tracker channel - if you want to give general CQ info and such.
;Default: #botfarm
alias fiqbot.tyrant.trackerchannel return #botfarm
;Faction range - for scanning faction names.
;You should have gotten a starting point by factions.fht if imported correctly.
;This way, you don't have to re-scan the entire faction list.
alias fiqbot.tyrant.firstfaction return 25543002
alias fiqbot.tyrant.lastfaction return 25544002
on *:LOAD:{
;verify that $fiqbot.tyrant.directory exists
if (!$exists($fiqbot.tyrant.directoryconfig)) {
%send [Loading error] Dedicated Tyrant directory doesn't exist! Falling back to default.
mkdir $+($scriptdir,tyrant\)
mkdir $+($scriptdir,tyrant\tables)
mkdir $+($scriptdir,tyrant\xml)
}
}