anchor.diff:  		log_game("SQL ERROR deleting [type] from messages table. Error : \[[err]\]\n")
   		return
   	if(logged)
  -		log_admin("[key_name(usr)] has deleted a [type][type == ("note"||"message"||"watchlist entry") ? " for" : " made by"] [target_ckey]: [text]")
  -		message_admins("[key_name_admin(usr)] has deleted a [type][type == ("note"||"message"||"watchlist entry") ? " for" : " made by"] [target_ckey]:<br>[text]")
  +		log_admin("[key_name(usr)] has deleted a [type][(type == "note" || type == "message" || type == "watchlist entry") ? " for" : " made by"] [target_ckey]: [text]")
  +		message_admins("[key_name_admin(usr)] has deleted a [type][(type == "note" || type == "message" || type == "watchlist entry") ? " for" : " made by"] [target_ckey]:<br>[text]")
   		if(browse)
   			browse_messages("[type]")
   		else
  
positive.code: 			var/err = query_edit_message.ErrorMsg()
  			log_game("SQL ERROR editing messages table. Error : \[[err]\]\n")
  			return
  		log_admin("[key_name(usr)] has edited a [type] [type == ("note"||"message"||"watchlist entry") ? " for [target_ckey]" : ""] made by [admin_ckey] from [old_text] to [new_text]")
  		message_admins("[key_name_admin(usr)] has edited a [type] [type == ("note"||"message"||"watchlist entry") ? " for [target_ckey]" : ""] made by [admin_ckey] from<br>[old_text]<br>to<br>[new_text]")
  		if(browse)
  			browse_messages("[type]")
  		else
  
negative.code: 		log_game("SQL ERROR creating new [type] in messages table. Error : \[[err]\]\n")
  		return
  	if(logged)
  		log_admin("[key_name(usr)] has created a [type][(type == "note" || type == "message" || type == "watchlist entry") ? " for [target_ckey]" : ""]: [text]")
  		message_admins("[key_name_admin(usr)] has created a [type][(type == "note" || type == "message" || type == "watchlist entry") ? " for [target_ckey]" : ""]:<br>[text]")
  		if(browse)
  			browse_messages("[type]")
  		else
  