-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.mac
47 lines (40 loc) · 1.15 KB
/
setup.mac
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
Sub Main
| load EQBC if needed
/if (!${Plugin[mq2eqbc].Name.NotEqual[NULL]}) {
/echo [SETUP] Loading MQ2EQBC...
/plugin mq2eqbc
}
/delay 1s ${Plugin[mq2eqbc].Name.NotEqual[NULL]}
/if (!${Plugin[mq2eqbc].Name.NotEqual[NULL]}) {
/echo [SETUP] MQ2EQBC.dll has failed to load, ending script!
/end
}
| enabling EQBC Autoconnect
/echo [SETUP] enabling EQBC AutoConnect
/bccmd set autoconnect on
|connecting to EQBC server
/if (!${EQBC.Connected}) {
/echo [SETUP] Connecting to EQBC Server...
/bccmd connect 127.0.0.1 2112
}
/delay 5s ${EQBC.Connected}
/if (!${EQBC.Connected}) {
/echo [SETUP] MQ2EQBC Was unable to connect, ending script!
/end
}
| load Netbots if needed
/if (!${Plugin[mq2netbots].Name.NotEqual[NULL]}) {
/plugin mq2netbots
/echo [SETUP] Loading MQ2Netbots...
}
/delay 1s ${Plugin[mq2netbots].Name.NotEqual[NULL]}
/if (!${Plugin[mq2netbots].Name.NotEqual[NULL]}) {
/echo [SETUP] MQ2Netbots.dll has failed to load, ending script!
/end
}
| turn grab/send on
/echo [SETUP] Enabling netbots reporting...
/netbots grab on
/netbots send on
/echo [SETUP] All done!
/return