UT2004 Server Query

By Lenooox on Dec 13, 2009

hello
can i add another command?now i need to type this : /sockudp -k gqueryut 80.84.250.128 7787 \info\
but this not public command , i can only use, ineed for a public command also

on *:udpread:gqueryut:{
  sockread &t
  if ($bvar(&t,0)) {
    var %t = $bvar(&t,1-).text
    msg #uic.ut UnrealTournament - server: $gettok(%t,$calc($findtok(%t,hostname,92) + 1),92) map: $gettok(%t,$calc($findtok(%t,mapname,92) + 1),92)  players: $gettok(%t,$calc($findtok(%t,numplayers,92) + 1),92)

  }
  sockclose $sockname
} 

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.