anchor.diff:  	if(created_name)		name = created_name
   	if(created_lasercolor)	lasercolor = created_lasercolor
   	src.icon_state = "[lasercolor]ed209[src.on]"
  +	src.set_weapon() //giving it the right projectile and firing sound.
   	spawn(3)
   		src.botcard = new /obj/item/weapon/card/id(src)
   		var/datum/job/detective/J = new/datum/job/detective
  
positive.code: Arrest for Warrant: []<BR>
  <BR>
  Operating Mode: []<BR>
  Report Arrests[]<BR>
  Auto Patrol: []"},
  
  "<A href='?src=\ref[src];operation=idcheck'>[src.idcheck ? "Yes" : "No"]</A>",
  "<A href='?src=\ref[src];operation=weaponscheck'>[src.weaponscheck ? "Yes" : "No"]</A>",
  "<A href='?src=\ref[src];operation=ignorerec'>[src.check_records ? "Yes" : "No"]</A>",
  "<A href='?src=\ref[src];operation=switchmode'>[src.arrest_type ? "Detain" : "Arrest"]</A>",
  "<A href='?src=\ref[src];operation=declarearrests'>[src.declare_arrests ? "Yes" : "No"]</A>",
  "<A href='?src=\ref[src];operation=patrol'>[auto_patrol ? "On" : "Off"]</A>" )
  
  	var/datum/browser/popup = new(user, "autosec", "Securitron v2.0.9 controls")
  	popup.set_content(dat)
  
negative.code: 		src.emagged = 2
  		src.on = 1
  		src.icon_state = "[lasercolor]ed209[src.on]"
  		src.set_weapon()
  		mode = SECBOT_IDLE
  
  /obj/machinery/bot/ed209/process()
  