#CONFIG           {256 COLORS}  {ON}
#CONFIG           {AUTO TAB}  {5000}
#CONFIG           {BUFFER SIZE}  {20000}
#CONFIG           {CHARSET}  {ASCII}
#CONFIG           {COMMAND COLOR}  {<078>}
#CONFIG           {COMMAND ECHO}  {ON}
#CONFIG           {CONNECT RETRY}  {15}
#CONFIG           {HISTORY SIZE}  {1000}
#CONFIG           {LOG}  {RAW}
#CONFIG           {PACKET PATCH}  {0.00}
#CONFIG           {REPEAT CHAR}  {!}
#CONFIG           {REPEAT ENTER}  {OFF}
#CONFIG           {SCROLL LOCK}  {ON}
#CONFIG           {SPEEDWALK}  {OFF}
#CONFIG           {TINTIN CHAR}  {#}
#CONFIG           {VERBATIM}  {OFF}
#CONFIG           {VERBATIM CHAR}  {\}
#CONFIG           {VERBOSE}  {OFF}
#CONFIG           {WORDWRAP}  {ON}
#PATHDIR          {d}  {u}  {32}
#PATHDIR          {e}  {w}  {2}
#PATHDIR          {n}  {s}  {1}
#PATHDIR          {ne}  {sw}  {3}
#PATHDIR          {nw}  {se}  {9}
#PATHDIR          {s}  {n}  {4}
#PATHDIR          {se}  {nw}  {6}
#PATHDIR          {sw}  {ne}  {12}
#PATHDIR          {u}  {d}  {16}
#PATHDIR          {w}  {e}  {8}

#class {main} {kill}
#class {main} {open}
#config {command color} {<fea>}
#split 0 2
/* functions */
#ALIAS {colors}
{
        #foreach {a;b;c;d;e;f} {cnt1}
        {
                #foreach {a;b;c;d;e;f} {cnt2}
                {
                        #variable result <000>;
                        #foreach {a;b;c;d;e;f} {cnt3}
                        {
                                #variable result $result  <$cnt1$cnt2$cnt3> <<888>$cnt1$cnt2$cnt3><888>
                        };
                        #showme $result<088>
                }
        }
}
{5}


#alias {clearblank}
{
    #act {^$} {#unact {^$};#line gag} {0}
} 

#tick {timestamp}
{
    #format timestamp2 {%t} {%X};
    #format timestamp {%.5s} {$timestamp2};
}
{1}
#function {ralign}
{
	#format {a} {%C};
	#nop #var {d} {@count{%2}};
	#format {d} {%L} {%2};
	#math {e} {$a - $d};
	#format {b} {%s%s%s} {%%+} {$e} {s};
	#format {c} {$b} {%1};
	#format {f} {%s%s} {%2} {$c};
	#return $f
}


/* aliases */
#alias {CODER} {#session CoderPort play.theforsakenlands.com 1833}
#alias {reload} {#read /Users/jameswright/tintin/main.tin}
#alias {FL} {#session ForsakenLands play.theforsakenlands.com 1848}
#alias {CF} {#session CarrionFields carrionfields.net 4449}
#alias {BUILD} {#session BuilderPort play.theforsakenlands.com 1825}

/* prompts */
#action {~^%1 \e[0;1;37mIMP_TALKS\e[0;0m: %2}
{
	#line log {chat.log} {<g08>[<018>$timestamp<g08>]<078> %1<178> IMP_TALKS:<018> %2<088>};
}

/* Morlhach IMM_TALKS: \e[0;1;31mHmm.\e[0;0m*/
#action {~^%1 IMM_TALKS: \e[0;1;31m%2\e[0;0m$}
{
	#line log {chat.log} {<g08>[<018>$timestamp<g08>]<078> %1<078> IMM_TALKS:<018> %2<088>};
}


#action {~^(%1 %2) (%3 %4) -IMM- %5/%6/%7/%8/%9/%10$} {
#var right <g14>[<g08>%6<g14>]<g09>;
#var right2 <g14>[<g08>%9<g14>]<g09>;
#format lang {%n} {%10};
#var left <fea>~ <g14>[<fea>W<g12>:<g08> %2 <g11>/<fea> I<g12>:<g08> %4 <g11>/<fea> R<g12>:<g08> %5<g11> /<fea> L<g12>:<g08> $lang<g14>]<088>;
#var left2 <fea>~ <g14>[<fea>T<g12>:<g08> %8:00 <g11>/<fea> A<g12>:<g08> %7<g14>]<088>;
#showme {@ralign{{$right}{$left}}<088>} {2};
#showme {@ralign{{$right2}{$left2}}<088>} {1};
#line gag
}
{4}
#action {~^(%1 %2) -IMM- %3/%4/%5/%6/%7/%8$} {
#if {"%1" == "Wizi"} {#var wi W};
#if {"%1" == "Incog"} {#var wi I};
#var right <g14>[<g08>%4<g14>]<g09>;
#var right2 <g14>[<g08>%7<g14>]<g09>;
#format lang {%n} {%8};
#var left <fea>~ <g14>[<fea>$wi<g12>:<g08> %2 <g11>/<fea> R<g12>:<g08> %3<g11> /<fea> L<g12>:<g08> $lang<g14>]<088>;
#var left2 <fea>~ <g14>[<fea>T<g12>:<g08> %6:00 <g11>/<fea> A<g12>:<g08> %5<g14>]<088>;
#nop <g24>(<g12>%9<g24>)<088>;
#showme {@ralign{{$right}{$left}}<088>} {2};
#showme {@ralign{{$right2}{$left2}}<088>} {1};
#line gag
}
{5}

#action {~^-IMM- %1/%2/%3/%4/%5/%6$} {
#var right <g14>[<g08>%2<g14>]<g09>;
#var right2 <g14>[<g08>%5<g14>]<g09>;
#format lang {%n} {%6};
#var left <fea>~ <g14>[<fea>R<g12>:<g08> %1<g11> / <fea>L<g12>:<g08> $lang<g14>]<088>;
#var left2 <fea>~ <g14>[<fea>T<g12>:<g08> %4:00 <g11>/<fea> A<g12>:<g08> %3<g14>]<088>;
#showme {@ralign{{$right}{$left}}<088>} {2};
#showme {@ralign{{$right2}{$left2}}<088>} {1};
#line gag
}
{6}

/* wiznet logging
#gag {~^(%1 %2) (%3 %4) -IMM- %5/%6/%7/%8/%9/%10$}
#gag {~^(%1 %2) -IMM- %3/%4/%5/%6/%7/%8$}
#gag {~^-IMM- %1/%2/%3/%4/%5/%6$}
*/
#action {~^\e[0;1;37mW\e[0;1;30mi\e[0;1;37mZNET\e[0;1;30m%1$} {
#line log {wiznet.log} {<108>W<178>i<108>ZNET<078>%1};
}

/*#action {~^\e[0;1;37mW\e[0;1;30mi\e[0;1;37mZNET\e[0;1;30m \e[0;0m%1\e[0;1;30m: \e[0;0m%2@%3 has %4 in room %5.$} {
#format wiznetlog {/users/jameswright/tintin/logs/logs_%t.d} {%m-%d-%Y};
#line log {$wiznetlog} {%1 -- %2 (%3) %4 [%5]};
}*/

/*#gag {~^\e[0;1;37mW\e[0;1;30mi\e[0;1;37mZNET\e[0;1;30m%1$}
#action {^$} {#line gag} */

/*WiZNET 01:49:49: [email protected] has disconnected in room 10879*/

/* You pray '\e[0;1;37mAnd one last time.\e[0;0m'*/
#ACTION {~^%1 {pray|prays} '\e[0;1;37m%3\e[0;0m'$}
{
	#line log {chat.log} {<g08>[<eee>$timestamp<g08>]<g23> %1 %2:<178> %3<088>};
}
#ALIAS {diceroll}
{
        #regexp {%0} {%dd%d} {#math result &1 + (&1 * &2 - &1) / 2.0};
        #else
        {
                #math result 0
        };
        #showme Average of dice %0 is $result.
}
{5}

#class {main} {close}


  • You have no special abilities

  • This page is read-only | View other revisions | View recent changes | Preferences
    Last edited August 3, 2016 7:33 pm by Morlhach (diff)

    Search: