pb2menu 1



command "serverlist_refresh"

widget
	y 16
	x 8
	text "Server Name"

widget 
	xrel 156
	text "Ping"

widget
	xrel 36
	text "Map"

widget
	xrel 68
	text "Plyrs"

widget
	yrel 10
	xcent 0
	halign center
	type select
	width 38
	rows 12
	listsource "serverlist"
	name "serverlist"
	cvar menu_server
	doubleclick "menu off; connect $menu_server$"

widget
	yrel 130
	xcent -107
	halign center
	text "  [Refresh]  "
	command "serverlist_refresh"

widget
	xcent 0
	halign center
	text "  [Clear]  "
	command "serverlist_clear"

widget
	xcent 107
	halign center
	text "  [Update]  "
	command "serverlist_update"
	
widget
	yrel 20
	xcent 70
	halign right
	width 18
	type field
	text "IP"
	cvar menu_server
	
widget
	yrel 16
	xrel 0
	width 12
	halign right
	type field
	text "Password"
	cvar password

widget
	xcenter 0
	ybot -24
	halign center
	text " [ Play ] "
	command "menu off; connect $menu_server$"


widget
	valign bottom
	ybot -8
	xabs -8
	type text
	command "menu pop"
	text "Back"
