added note system, populated README.md, bugfixes
This commit is contained in:
1 parent
657e0be442
commit
ae111e9a80
14 files changed
+166
-64
No files matched your search
+33
-3
@@ -14,9 +14,25 @@
|
||||
|
||||
#alias {debug {on|off}}
|
||||
{
|
||||
#if {"%1" == "on"} { #variable debug 1 };
|
||||
#else { #variable debug 0 };
|
||||
#nop;
|
||||
#if {"%1" == "on"} { #variable debug 1 };
|
||||
#else { #variable debug 0 };
|
||||
#showme { Debug is <139>$debug<099> };
|
||||
#nop;
|
||||
}
|
||||
|
||||
#alias {repopwatch {on|off}}
|
||||
{
|
||||
#if {"%1" == "on"} { #variable repop 1 };
|
||||
#else { #variable repop 0 };
|
||||
#showme { Repopwatch is <139>$repop<099> };
|
||||
#nop;
|
||||
}
|
||||
|
||||
#alias {{^check repop$}}
|
||||
{
|
||||
#format {timestamp} {%T};
|
||||
#math {repop_time} {($last_repop+606)-$timestamp};
|
||||
#send {$repchan @CNext repop@w: @R$repop_time @Wseconds.@w};
|
||||
}
|
||||
|
||||
#event {IAC SB GMCP comm.channel IAC SE}
|
||||
@@ -29,6 +45,18 @@
|
||||
};
|
||||
}
|
||||
|
||||
#event {IAC SB GMCP comm.repop IAC SE}
|
||||
{
|
||||
#if {$debug} { #showme %1 };
|
||||
#var {GMCP[COMM][REPOP]} {%0};
|
||||
|
||||
#format {last_repop} {%T};
|
||||
#format {time} {%t} {%H:%M:%S};
|
||||
#send {$repchan @WRepop @w= @r$GMCP[COMM][REPOP][zone]@w @@ @r$time};
|
||||
#var time {};
|
||||
#nop;
|
||||
}
|
||||
|
||||
#nop Start up GMCP connection with the server
|
||||
#event {IAC WILL GMCP}
|
||||
{
|
||||
@@ -47,6 +75,8 @@
|
||||
#event {SESSION DISCONNECTED}
|
||||
{
|
||||
#history write {$dir/logs/history.log};
|
||||
#line log {$dir/logs/minimap.log} {\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n};
|
||||
#line log {$dir/logs/mobs.log} {\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n};
|
||||
}
|
||||
|
||||
#event {SESSION CONNECTED}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#ALIAS {do_on_connect}
|
||||
{
|
||||
protocol gmcp sendchar;
|
||||
map;
|
||||
quest time;
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
#class minimap kill
|
||||
#class minimap open
|
||||
|
||||
#ALIAS {get_minimap}
|
||||
{
|
||||
#ACTION {~%0}
|
||||
{
|
||||
#line log {$dir/logs/minimap.log} {%0};
|
||||
#line gag;
|
||||
} {10}
|
||||
}
|
||||
|
||||
#ALIAS {get_chars}
|
||||
{
|
||||
#ACTION {~%0}
|
||||
{
|
||||
#line log {$dir/logs/mobs.log} {%0};
|
||||
} {10}
|
||||
}
|
||||
|
||||
#ACTION {^<MAPEND>$}
|
||||
{
|
||||
#unaction {~%%0} {};
|
||||
#line gag;
|
||||
} {1}
|
||||
|
||||
#ACTION {^<MAPSTART>$}
|
||||
{
|
||||
#line log {$dir/logs/minimap.log} {\n\r\n\r};
|
||||
get_minimap;
|
||||
#line gag;
|
||||
} {1}
|
||||
|
||||
#ACTION {{^\{roomchars\}}}
|
||||
{
|
||||
#line log {$dir/logs/mobs.log} {\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n};
|
||||
get_chars;
|
||||
#line gag;
|
||||
}
|
||||
|
||||
#ACTION {{^\{/roomchars\}$}}
|
||||
{
|
||||
#unaction {~%%0} {};
|
||||
#line log {$dir/logs/mobs.log} {\n\r};
|
||||
#line gag;
|
||||
}
|
||||
|
||||
#ACTION {{^\{roomobjs\}}}
|
||||
{
|
||||
get_chars;
|
||||
#line gag;
|
||||
}
|
||||
|
||||
#ACTION {{^\{/roomobjs\}$}}
|
||||
{
|
||||
#unaction {~%%0} {};
|
||||
#line log {$dir/logs/mobs.log} {\n\r};
|
||||
#line gag;
|
||||
}
|
||||
|
||||
#class minimap close
|
||||
Reference in new issue
Block a user