Are you sure $dname return dialog name in on sockread event ? $dname only return dialog name in a on dialog event.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel