ok here is a basic on enter welcome
and under it a basic on entry welcome with a hit counter
<config>
<OnEnter>
<out>hello %NAME% bla bla your nessage</out>
</OnEnter>
///this has a time delay of 1 second
<OnEnter>
<out>hello %NAME% bla bla your message</out>
</OnEnter>
</config>
this one has the hit counter, the log is a notepad in your hard drive (normally C:\ )
so the path in this case is C:\logs\hit.txt this will remember the amount of visitors and wont reset to 0 even when room or metis is re-started
<config>
<OnEnter type="script">
<out type="push" extdata="visitors"><operator type="readfile" nvalue="C:\logs\hit.txt" lvalue="c" rvalue="-1"/></out>
<out type="push" extdata="visitors"><operator type="+" lvalue="$visitors$" rvalue="1"/></out>
<out>hello %NAME% you're visitor number $visitors$ </out>
<out type="file" mode="t" extdata="C:\Logs\hit.txt">$visitors$</out>
</OnEnter>
</config>
this will record the User Name, IP & Hostname on entry to a seperate log in the same folder as your hit log
<config>
/// this is a welcome with a hits counter and the users Name IP & Hostname will be recorded on a .txt
<OnEnter type="script">
<out type="push" extdata="visitors"><operator type="readfile" nvalue="C:\logs\hit.txt" lvalue="c" rvalue="-1"/></out>
<out type="push" extdata="visitors"><operator type="+" lvalue="$visitors$" rvalue="1"/></out>
<out>hello %NAME% you're visitor number $visitors$ </out>
<out type="file" mode="t" extdata="C:\Logs\hit.txt">$visitors$</out>
<out type="file" mode="a" extdata="C:\Logs\Logging.txt"> \n %NAME% %IP% %HOSTNAME% \n </out>
</OnEnter>
</config>