anchor.diff:  	<div class='inputbox'></div></label>
   	<input type='text' name='keytext' size='26' value='[player_key]'>
   	<label class='inputlabel checkbox'>IP:
  -	<input type='checkbox' id='ipcheck' name='ipcheck' value='1'[player_ip ? " checked": ""]>
  +	<input type='checkbox' id='ipcheck' name='ipcheck' value='1'[isnull(duration) " checked": ""]>
   	<div class='inputbox'></div></label>
   	<input type='text' name='iptext' size='18' value='[player_ip]'>
   	<label class='inputlabel checkbox'>CID:
  -	<input type='checkbox' id='cidcheck' name='cidcheck' value='1'[player_cid ? " checked": ""]>
  +	<input type='checkbox' id='cidcheck' name='cidcheck' value='1' checked>
   	<div class='inputbox'></div></label>
   	<input type='text' name='cidtext' size='14' value='[player_cid]'>
   	<br>
   	<label class='inputlabel checkbox'>Use IP and CID from last connection of key
  -	<input type='checkbox' id='lastconn' name='lastconn' value='1'>
  +	<input type='checkbox' id='lastconn' name='lastconn' value='1' [(isnull(duration) && !player_ip) || (!player_cid) ? " checked": ""]>
   	<div class='inputbox'></div></label>
   	<label class='inputlabel checkbox'>Applies to Admins
   	<input type='checkbox' id='applyadmins' name='applyadmins' value='1'[applies_to_admins ? " checked": ""]>
  
positive.code: 			. += player_cid
  		else
  			. += "NULL"
  	. = jointext(., "/")
negative.code: 		if(!player_key)
  			error_state += "Key was ticked but none was provided."
  	if(href_list["lastconn"])
  		if(player_key)
  			use_last_connection = TRUE
  	else
  		if(href_list["ipcheck"])
  			player_ip = href_list["iptext"] || ""
  			if(!player_ip && !use_last_connection)
  				error_state += "IP was ticked but none was provided."
  		if(href_list["cidcheck"])
  			player_cid = href_list["cidtext"] || ""
  			if(!player_cid && !use_last_connection)
  				error_state += "CID was ticked but none was provided."
  	if(!use_last_connection && !player_ip && !player_cid && !player_key)
  		error_state += "At least a key, IP or CID must be provided."
  