maybe your server uses a different format
putserv \"PRIVMSG hostserv set $checknick $vhostcheck\"
that line sends the command to server, it would be
/msg hostserv set nick host
in mirc. if your server doesnt accept that, then you\'d need to change the format. Otherwise, there\'s nothing in the tcl that would generate that error, and it would be in the oline/services config.