This is the script i am using:-
<config>
// if a spammer or badword named person enters
<OnEnter type="script" usergroup="spammer">
<out type="push" extdata="SPAMMER">1</out>
<out delay="200" condition="==" lvalue="$SPAMMER$" rvalue="1">#c57#Your name is considered an attempt at spamming and/or is offensive and is not allowed in here. You need to change your name then come back!!!</out>
<out delay="800" condition="==" lvalue="$SPAMMER$" rvalue="1" type="push" extdata="users">!badname</out>
<out delay="4000" condition="==" lvalue="$users$" rvalue="!badname">/kick %RAWNAME%</out>
<out type="pop" extdata="SPAMMER"></out>
<out type="pop" extdata="users"></out>
<out type="push" extdata="welcome">!nowelcome</out>
</OnEnter>
// custom welcome
<command type="script">
<in> IP GOES HERE </in>
<out type="pop" extdata="welcome"></out>
<out condition="!=" lvalue="$welcome$" rvalue="!nowelcome" type="push" extdata="currentvisitors"><operator type="readfile" nvalue="C:\Program Files\Test Metis 2.7\Plugins\hitcounter.txt" lvalue="c" rvalue="-1"/></out>
<out condition="!=" lvalue="$welcome$" rvalue="!nowelcome" type="push" extdata="newcount"><operator type="+" lvalue="$currentvisitors$" rvalue="1"/></out>
<out>#c62#WOW a part of #c2#Richy #c62#is here
He is visitor #c8#$newcount$ #c62#so we need more people in here</out>
<out condition="!=" lvalue="$welcome$" rvalue="!nowelcome" type="file" mode="t" extdata="C:\Program Files\Test Metis 2.7\Plugins\hitcounter.txt">$newcount$</out>
<out type="push" extdata="welcome">!nowelcome</out>
</command>
// standard welcome
<OnEnter type="script">
<out condition="!=" lvalue="$welcome$" rvalue="!nowelcome" type="push" extdata="currentvisitors"><operator type="readfile" nvalue="C:\Program Files\Test Metis 2.7\Plugins\hitcounter.txt" lvalue="c" rvalue="-1"/></out>
<out condition="!=" lvalue="$welcome$" rvalue="!nowelcome" type="push" extdata="newcount"><operator type="+" lvalue="$currentvisitors$" rvalue="1"/></out>
<out condition="!=" lvalue="$welcome$" rvalue="!nowelcome">#c62#Welcome #c72#%NAME%#c62#, ASL please and hurry up your missing all the fun! You are visitor number #c8#$newcount$ #c62#and why not check out our web site and learn bout the room #c8#http://www.freewebs.com/richardumney/</out>
<out condition="!=" lvalue="$welcome$" rvalue="!nowelcome" type="file" mode="t" extdata="C:\Program Files\Test Metis 2.7\Pluginss\hitcounter.txt">$newcount$</out>
<out type="pop" extdata="welcome"></out>
</command>
</config>
please can someone take a little time out to look this over and figure it, it has been driving me crazy!!!!