Check the help file,
/help /sockudp and
/help on udpreadBasically you need to open a UDP socket with the -k switch and define a UDPread event to recieve the data.
Open the socket...
- //sockudp -k xbox 8278 $ip 8278
and read the data...
on *:udpread:xbox:{
var %a
sockread -f %a
echo -a %a
}