/client/proc/mentor_follow(var/mob/living/M) if(!check_mentor()) return if(isnull(M)) return if(!istype(usr, /mob)) return if(!holder) var/datum/mentors/mentor = GLOB.mentor_datums[usr.client.ckey] mentor.following = M /* else holder.following = M*/ usr.reset_perspective(M) src.verbs += /client/proc/mentor_unfollow to_chat(GLOB.admins, "MENTOR: [key_name(usr)] is now following [key_name(M)]") to_chat(usr, "You are now following [M]. Click the \"Stop Following\" button in the Mentor tab to stop.") log_mentor("[key_name(usr)] began following [key_name(M)]") /client/proc/mentor_unfollow() set category = "Mentor" set name = "Stop Following" set desc = "Stop following the followed." if(!check_mentor()) return usr.reset_perspective(null) src.verbs -= /client/proc/mentor_unfollow var/following = null if(!holder) var/datum/mentors/mentor = GLOB.mentor_datums[usr.client.ckey] following = mentor.following /*else following = holder.following*/ to_chat(GLOB.admins, "MENTOR: [key_name(usr)] is no longer following [key_name(following)]") to_chat(usr, "You are no longer following [following].") log_mentor("[key_name(usr)] stopped following [key_name(following)]") following = null