-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconnect.tt
48 lines (41 loc) · 1.81 KB
/
connect.tt
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
#nop https://tintin.mudhalla.net/scripts/gmcp.php;
#EVENT {SESSION CONNECTED}
{
#variable TELNET[IAC] \xFF;
#variable TELNET[DONT] \xFE;
#variable TELNET[DO] \xFD;
#variable TELNET[WONT] \xFC;
#variable TELNET[WILL] \xFB;
#variable TELNET[SB] \xFA;
#variable TELNET[SE] \xF0;
#variable TELNET[GMCP] \xC9;
#nop Turn telnet debug on to see telnet debugging information.;
#nop #config {debug telnet} {on};
#read mapping.tt;
mapping.onConnected;
#echo {Session connection!};
#read character_highlights.tt;
#ticker {updateChars} {#read character_highlights.tt} {60};
#read items.tt;
raiseEvent connected;
#class pathing clear;
#class roomnums clear;
#class harvesting clear;
#class auraglance clear;
#class priestess clear;
#class autobash clear;
#class autobashHeal clear;
#class autobashMoving clear;
deregisterEvent connected;
}
#EVENT {IAC WILL GMCP}
{
#info SYSTEM save;
#send {$TELNET[IAC]$TELNET[DO]$TELNET[GMCP]\};
#send {$TELNET[IAC]$TELNET[SB]$TELNET[GMCP] core.hello { "client": "$info[SYSTEM][CLIENT_NAME]", "version": "$info[SYSTEM][CLIENT_VERSION]" } $TELNET[IAC]$TELNET[SE]\};
#send {$TELNET[IAC]$TELNET[SB]$TELNET[GMCP] core.supports.set [ "room 1", "room.info 1", "char 1", "char.status 1" ] $TELNET[IAC]$TELNET[SE]\};
#send {$TELNET[IAC]$TELNET[SB]$TELNET[GMCP] core.supports.add [ "char.vitals 1", "char.items 1", "char.afflictions 1", "char.defences 1" ] $TELNET[IAC]$TELNET[SE]\};
#send {$TELNET[IAC]$TELNET[SB]$TELNET[GMCP] core.supports.add [ "char.skills 1" ] $TELNET[IAC]$TELNET[SE]\};
#send {$TELNET[IAC]$TELNET[SB]$TELNET[GMCP] core.supports.add [ "comm.channel 1" ] $TELNET[IAC]$TELNET[SE]\};
#send {$TELNET[IAC]$TELNET[SB]$TELNET[GMCP] core.supports.add [ "core.ping 1" ] $TELNET[IAC]$TELNET[SE]\};
}