on *:SOCKREAD:statss.*:{ var %read sockread %read if (*user not found* iswm %read) { %statsout [ $+ [ $gettok($sockname,2,46) ] ] Sorry, %name [ $+ [ $gettok($sockname,2,46) ] ] $+ 's stats could not be found :( | /statscleanup $gettok($sockname,2,46) | sockclose $sockname | halt } if (*END* iswmcs %read) { %statsout [ $+ [ $gettok($sockname,2,46) ] ] $remove(%read,END) } }