anchor.diff:  				I.loc = src
   				scan = I
   		authenticated = 0
  +
  +	if(href_list["dept"])
  +		dpt = input(usr, "Which department?", "Choose a department", "") as null|anything in alldepartments
   
   	if(href_list["auth"])
   		if ( (!( authenticated ) && (scan)) )
  
positive.code: 
  			else
  				dat += "<a href='byond://?src=\ref[src];send=1'>Send</a><br>"
  				dat += "<b>Currently sending:</b> [tofax.name]"
  
  		else
  			if(sendcooldown)
  				dat += "Please insert paper to send to Central Command via secure connection.<br><br>"
  				dat += "<b>Transmitter arrays realigning. Please stand by.</b><br>"
  			else
  				dat += "Please insert paper to send to Central Command via secure connection.<br><br>"
  
  	else
  		dat += "Proper authentication is required to use this device.<br><br>"
  
negative.code: var/list/obj/machinery/faxmachine/allfaxes = list()
  var/list/alldepartments = list("Central Command")
  
  /obj/machinery/faxmachine
  	name = "fax machine"
  	icon = 'icons/obj/library.dmi'
  	icon_state = "fax"
  	req_one_access = list(access_lawyer, access_heads)
  	anchored = 1
  	density = 1
  	use_power = 1
  	idle_power_usage = 30
  	active_power_usage = 200
  	power_channel = EQUIP
  
  	var/obj/item/weapon/card/id/scan = null // identification
  	var/authenticated = 0
  
  	var/obj/item/weapon/paper/tofax = null // what we're sending
  	var/sendcooldown = 0 // to avoid spamming fax messages
  
  	var/department = "Unknown" // our department
  
  	var/dpt = "Central Command" // the department we're sending to
  
  /obj/machinery/faxmachine/New()
  	..()
  	allfaxes += src
  
  	if( !("[department]" in alldepartments) )
  		alldepartments += department
  
  /obj/machinery/faxmachine/process()
  	return 0
  