client/New()//When a client connects
..()//run the default behavior of client/New()
if(key in GM1) GM1[key]="<font color=lime>Online</font>"//if client's key is in list1, set their status in list1 to "Online"
if(key in GM2) GM2[key]="<font color=lime>Online</font>"//Same for list2
if(key in RPM1) RPM1[key]="<font color=lime>Online</font>"
if(key in RPM2) RPM2[key]="<font color=lime>Online</font>"
if(key in Board) Board[key]="<font color=lime>Online</font>"
client/Del()//Uppon the client disconnecting
if(key in GM1) GM1[key]="<font color=red>Offline</font>"//Check if their key is in list1 and if so, set their status in list1 as "Offline"
if(key in GM2) GM2[key]="<font color=red>Offline</font>"
if(key in RPM1) RPM1[key]="<font color=red>Offline</font>"
if(key in RPM2) RPM2[key]="<font color=red>Offline</font>"
if(key in Board) Board[key]="<font color=red>Offline</font>"
if(key in Partners) Partners[key]="<font color=red>Offline</font>"
..()//run the default behavior of client/Del()
var/list/GM1=list()//Make a list of keys relating to who's status you want to view and set their status to "Offline"
var/list/GM2=list()//Same as before
var/list/RPM1=list()//Same as before
var/list/RPM2=list()//Same as before
var/list/Board=list("Osiris1997"="<font color=red>Offline</font>","Aelita218"="<font color=red>Offline</font>","SC3PTR3"="<font color=red>Offline</font>")//Same as before
var/list/Partners=list("Terrabear"="<font color=red>Offline</font>","The Infamous Gamer"="<font color=red>Offline</font>","Sammmmy"="<font color=red>Offline</font>")//Same
mob/verb/CheckLists()
usr<<"<font color=lime>System Information</font>: Below contains a list of ingame, and incoded staff members.<br><big><b><font color=green>GM Lv.1</b></big></font>:"
for(var/v in GM1)//run for each key defined in list1
usr<<"--><font color=white>[v]([GM1[v]])"//display the key and the key's status
usr<<"<big><b><font color=blue>Admin</b></big></font>:"//same for list2
for(var/v in GM2)
usr<<"--><font color=white>[v]([GM2[v]])"
usr<<"<big><b><font color=yellow>RPM Lv. 1</b></big></font>:"//same for list2
for(var/v in RPM1)
usr<<"--><font color=white>[v]([RPM1[v]])"
usr<<"<big><b><font color=yellow>RPM Lv. 2</b></big></font>:"//same for list2
for(var/v in RPM2)
usr<<"--><font color=white>[v]([RPM2[v]])"
usr<<"<big><b><font color=#ba55d3>Board Executives</b></big></font>:"//same for list2
for(var/v in Board)
usr<<"--><font color=white>[v]([Board[v]])"
usr<<"<big><b><font color=#3BB9FF>Partners</b></big></font>:"//same for list2
for(var/v in Partners)
usr<<"--><font color=white>[v]([Partners[v]])"
Problem description:
Okay, well I posted earlier, and the code works and all, but it doesn't switch from offline to online, even when the key is there.