0 Members and 1 Guest are viewing this topic.
<OnJoinRoom type="script"> ########################### ### log files directory ### ########################### <out type="push" extdata="ipdisplaydirectory">E:\Program Files\RoboMX\Plugins\txt\</out> ########################### </OnJoinRoom> <OnEnter type="script"> <out type="push" extdata="IP">%IP%</out> <out type="push" extdata="NAME">%NAME%</out> <out type="push" extdata="HOUR">%HOUR%</out> <out type="push" extdata="HOUR" condition="<" lvalue="$HOUR$" rvalue="10">0$HOUR$</out> <out type="push" extdata="MINUTE">%MINUTE%</out> <out type="push" extdata="MINUTE" condition="<" lvalue="$MINUTE$" rvalue="10">0$MINUTE$</out> <out type="push" extdata="SECOND">%SECOND%</out> <out type="push" extdata="SECOND" condition="<" lvalue="$SECOND$" rvalue="10">0$SECOND$</out> <out type="push" extdata="YEAR">%YEAR%</out> <out type="push" extdata="MONTH">%MONTH%</out> <out type="push" extdata="MONTH" condition="==" lvalue="$MONTH$" rvalue="1">January</out> <out type="push" extdata="MONTH" condition="==" lvalue="$MONTH$" rvalue="2">February</out> <out type="push" extdata="MONTH" condition="==" lvalue="$MONTH$" rvalue="3">March</out> <out type="push" extdata="MONTH" condition="==" lvalue="$MONTH$" rvalue="4">April</out> <out type="push" extdata="MONTH" condition="==" lvalue="$MONTH$" rvalue="5">May</out> <out type="push" extdata="MONTH" condition="==" lvalue="$MONTH$" rvalue="6">June</out> <out type="push" extdata="MONTH" condition="==" lvalue="$MONTH$" rvalue="7">July</out> <out type="push" extdata="MONTH" condition="==" lvalue="$MONTH$" rvalue="8">August</out> <out type="push" extdata="MONTH" condition="==" lvalue="$MONTH$" rvalue="9">September</out> <out type="push" extdata="MONTH" condition="==" lvalue="$MONTH$" rvalue="10">October</out> <out type="push" extdata="MONTH" condition="==" lvalue="$MONTH$" rvalue="11">November</out> <out type="push" extdata="MONTH" condition="==" lvalue="$MONTH$" rvalue="12">December</out> <out type="push" extdata="DAY">%DAY%</out> <out type="push" extdata="DAY" condition=">" lvalue="$DAY$" rvalue="3">$DAY$th</out> <out type="push" extdata="DAY" condition="==" lvalue="$DAY$" rvalue="1">1st</out> <out type="push" extdata="DAY" condition="==" lvalue="$DAY$" rvalue="2">2nd</out> <out type="push" extdata="DAY" condition="==" lvalue="$DAY$" rvalue="3">3rd</out> <out type="push" extdata="DAY" condition="==" lvalue="$DAY$" rvalue="21">21st</out> <out type="push" extdata="DAY" condition="==" lvalue="$DAY$" rvalue="21">22nd</out> <out type="push" extdata="DAY" condition="==" lvalue="$DAY$" rvalue="23">23rd</out> <out type="push" extdata="DAY" condition="==" lvalue="$DAY$" rvalue="31">31st</out> <out type="push" extdata="NewEntry">%USERVAR[IP]% %USERVAR[HOUR]%:%USERVAR[MINUTE]%.%USERVAR[SECOND]% %USERVAR[DAY]%_%USERVAR[MONTH]%_%USERVAR[YEAR]% %USERVAR[NAME]%</out> <out type="push" extdata="linenumber">0</out> <out type="push" extdata="enters">0</out> <out type="push" extdata="linenumber"><operator type="+" lvalue="%USERVAR[linenumber]%" rvalue="1"/></out> <out type="push" extdata="previousenter"><operator type="readfile" nvalue="%USERVAR[ipdisplaydirectory]%DisplayLog.txt" lvalue="l" rvalue="%USERVAR[linenumber]%"/></out> <out type="self" condition="==" lvalue="%USERVAR[previousenter]%" rvalue="">!AddIpDisplay!</out> <out type="break" condition="==" lvalue="%USERVAR[previousenter]%" rvalue=""></out> <out type="push" extdata="previousenteriplength"><operator type="strfind" lvalue="%USERVAR[previousenter]%" rvalue=" "/></out> <out type="push" extdata="previousenterip"><operator type="strtrm" lvalue="%USERVAR[previousenter]%" rvalue="%USERVAR[previousenteriplength]%"/></out> <out type="goto" extdata="-6" condition="!=" lvalue="%USERVAR[previousenterip]%" rvalue="%USERVAR[IP]%"></out> <out type="push" extdata="previousenter"><operator type="strrem" lvalue="-%USERVAR[previousenter]%" rvalue="-%USERVAR[previousenterip]% "/></out> <out type="push" extdata="previousenteriplength"><operator type="strfind" lvalue="%USERVAR[previousenter]%" rvalue=" "/></out> <out type="push" extdata="previousentertime"><operator type="strtrm" lvalue="%USERVAR[previousenter]%" rvalue="%USERVAR[previousenteriplength]%"/></out> <out type="push" extdata="previousenter"><operator type="strrem" lvalue="-%USERVAR[previousenter]%" rvalue="-%USERVAR[previousentertime]% "/></out> <out type="push" extdata="previousenteriplength"><operator type="strfind" lvalue="%USERVAR[previousenter]%" rvalue=" "/></out> <out type="push" extdata="previousenterdate"><operator type="strtrm" lvalue="%USERVAR[previousenter]%" rvalue="%USERVAR[previousenteriplength]%"/></out> <out type="push" extdata="previousentername"><operator type="strrem" lvalue="-%USERVAR[previousenter]%" rvalue="-%USERVAR[previousenterdate]% "/></out> <out type="push" extdata="previousenterdate"><operator type="strrep" nvalue="%USERVAR[previousenterdate]%" lvalue="_" rvalue=" "/></out> <out>/opmsg %NAME% last entered at %USERVAR[previousentertime]%GMT on %USERVAR[previousenterdate]%</out><out>/opmsg Has been known as %USERVAR[previousentername]%</out> <out type="push" extdata="linenumber">0</out> <out type="pop" extdata="IpDisplayFile"></out> <out type="push" extdata="linenumber"><operator type="+" lvalue="%USERVAR[linenumber]%" rvalue="1"/></out> <out type="push" extdata="IpDisplayFileLine"><operator type="readfile" nvalue="%USERVAR[ipdisplaydirectory]%DisplayLog.txt" lvalue="l" rvalue="%USERVAR[linenumber]%"/></out> <out type="goto" extdata="7" condition="==" lvalue="%USERVAR[IpDisplayFileLine]%" rvalue=""></out> <out type="push" extdata="previousenteriplength"><operator type="strfind" lvalue="%USERVAR[previousenter]%" rvalue=" "/></out> <out type="push" extdata="previousenterip"><operator type="strtrm" lvalue="%USERVAR[previousenterip]%" rvalue="%USERVAR[previousenteriplength]%"/></out> <out type="goto" extdata="-5" condition="==" lvalue="%USERVAR[previousenterip]%" rvalue="%USERVAR[IP]%"></out> <out type="push" extdata="IpDisplayFile"><operator type="strcat" lvalue="%USERVAR[IpDisplayFile]%" rvalue="%USERVAR[IpDisplayFileLine]%"/></out> <out type="push" extdata="IpDisplayFile"><operator type="strcat" lvalue="%USERVAR[IpDisplayFile]%" rvalue="«newline«"/></out> <out type="goto" extdata="-8"></out> <out type="push" extdata="IpDisplayFile"><operator type="strrep" nvalue="%USERVAR[IpDisplayFile]%" lvalue="«newline«" rvalue="\n"/></out> <out type="file" mode="t" extdata="%USERVAR[ipdisplaydirectory]%DisplayLog.txt">%USERVAR[IpDisplayFile]%</out> <out type="self">!AddIpDisplay!</out> </OnEnter> <command type="script"> <in users="_BOT_SELF_TRIGGER_">!AddIpDisplay!</in> <out type="file" mode="a" extdata="%USERVAR[ipdisplaydirectory]%DisplayLog.txt">%USERVAR[NewEntry]%\n</out> </command>
<out type="push" extdata="ipdisplaydirectory">C:\Program Files\Games Bot\Plugins\lastvisited.txt</out>