Okay I didnt know what to call this, and I dont know who originally authored it, It was a gift to me from King Nut ..
What this does is make a record of folks entering of thier user name, hostname, and IP then from a log file you can do a serach for matches, for example if someone keeps changing names then re-entering then you can locate the info on them being in before.. i will include a screen shot incase I have been terrible at explaining this.. lol
There are two versions.. the first is the one he sent me.. Word of warning if you use this first one then please remember to use the clear log command regularly or you will wind up with a huge file and tons of entries for the bot to display.
The second one has been modifed by our own Bearded Blunder for it to keep a seprate log.txt file for each day so that i dont have to remember to clear it, and well folks that know me know i log and keep everything..
One file version:
//This script will creat its own log.txt files in the Plugins directory.
//May need to modify the directories if yours are not Default ones.
<config>
<OnEnter>
<out type="file" mode="a" extdata="C:\Program Files\RoboMX\Plugins\Logs.txt">Name:-%RAWNAME% IP:-%IP% Hostname:-%HOSTNAME% visited on %DATE% at %LOCALTIME% \n </out>
</OnEnter>
<OnOpMessage type="script">
<in>clear logs</in>
<out type="file" mode="t" extdata="D:\0 - WinMx Stuff\KingNut\Logs.txt"></out>
<out delay="500">/opmsg Entry logs cleared</out>
</OnOpMessage>
<OnOpMessage type="script">
<in>details %PARAM%</in>
<out type="push" extdata="directory">C:\Program Files\RoboMX\Plugins</out>
<out type="push" extdata="searchlinkline">1</out>
<out type="push" extdata="displayline">0</out>
<out>/opmsg Your matches for %PARAM%:-</out>
<out type="push" extdata="searchline"><operator type="readfile" nvalue="$directory$\Logs.txt" lvalue="l" rvalue="$searchlinkline$"/></out>
<out type="push" extdata="displayline" condition="?" lvalue="$searchline$" rvalue="%PARAM%"><operator type="+" lvalue="$displayline$" rvalue="1"/></out>
<out delay="800" condition="?" lvalue="$searchline$" rvalue="%PARAM%">/opmsg ($displayline$) $searchline$</out>
<out type="push" extdata="searchlinkline"><operator type="+" lvalue="$searchlinkline$" rvalue="1"/></out>
<out type="goto" extdata="-4" condition="!=" lvalue="$searchline$" rvalue=""></out>
<out delay="1500" condition="!=" lvalue="$displayline$" rvalue="0">/opmsg End of list</out>
<out delay="1500" condition="==" lvalue="$displayline$" rvalue="0">/opmsg Sorry %NAME% no matches for your search</out>
</OnOpMessage>
</config>
File logs to daily log.txt files
//Please note i have created a directory in the Plugins folder
//named Details logs you will need to make one or remove that entry here
<config>
<OnEnter type="script">
<out type="push" extdata="filedate"><operator type="strrep" nvalue=%DATE% lvalue="/" rvalue="-"/></out>
<out type="file" mode="a" extdata="C:\Program Files\RoboMX\Plugins\Details logs\logs$filedate$.txt">Name:-%RAWNAME% IP:-%IP% Hostname:-%HOSTNAME% visited on %DATE% at %LOCALTIME% \n </out>
</OnEnter>
<OnOpMessage type="script">
<in>!clear logs</in>
<out type="push" extdata="filedate"><operator type="strrep" nvalue=%DATE% lvalue="/" rvalue="-"/></out>
<out type="file" mode="t" extdata="C:\Program Files\RoboMX\Plugins\Details logs\logs$filedate$.txt"></out>
<out delay="500">/opmsg Entry logs cleared</out>
</OnOpMessage>
<OnOpMessage type="script">
<in>!detailsuser %PARAM%</in>
<out type="push" extdata="filedate"><operator type="strrep" nvalue=%DATE% lvalue="/" rvalue="-"/></out>
<out type="push" extdata="directory">C:\Program Files\RoboMX\Plugins\Details logs</out>
<out type="push" extdata="searchlinkline">1</out>
<out type="push" extdata="displayline">0</out>
<out>/opmsg Your matches for %PARAM%:-</out>
<out type="push" extdata="searchline"><operator type="readfile" nvalue="$directory$\logs$filedate$.txt" lvalue="l" rvalue="$searchlinkline$"/></out>
<out type="push" extdata="displayline" condition="?" lvalue="$searchline$" rvalue="%PARAM%"><operator type="+" lvalue="$displayline$" rvalue="1"/></out>
<out delay="800" condition="?" lvalue="$searchline$" rvalue="%PARAM%">/opmsg ($displayline$) $searchline$</out>
<out type="push" extdata="searchlinkline"><operator type="+" lvalue="$searchlinkline$" rvalue="1"/></out>
<out type="goto" extdata="-4" condition="!=" lvalue="$searchline$" rvalue=""></out>
<out delay="1500" condition="!=" lvalue="$displayline$" rvalue="0">/opmsg End of list</out>
<out delay="1500" condition="==" lvalue="$displayline$" rvalue="0">/opmsg Sorry %NAME% no matches for your search</out>
</OnOpMessage>
</config>