Ok, I have a server in which, when you send a certain UDP string, it will respond with some data for you. So here is the code I wrote to do this:

on *:sockopen:*:{ echo Socket Opened | echo $name $1- }
on *:udpread:*:{ sockread %var | echo %var }

I use the command:
/sockudp -nk hlserv 12.230.34.40 27015 ÿÿÿÿdetails

When used, all that happens is "Socket Opened" is echoed. Whats wrong?