mob
var/list/beta_pl = list("Tafe")
beta_tester
proc
Add(mob/m)
if(!beta_pl.Find(m))
beta_pl.Add(m)
else
beta_pl.Remove(m)
beta_pl.Add(m)
Remove(mob/m)
if(beta_pl.Find(m))
beta_pl.Remove(m)
Find(mob/m)
if(beta_pl.Find(m))
return 1
mob/Login()
..()
var/mob/beta_tester/b = /mob/beta_tester
if(src.key == "Tafe")
b.Add(src)
if(b.Find(src))
src << "Success"
Problem description:
no compiler error, but... I do not get the Login() exceptions to work. Everything under mob/Login() should work, except statement:
if(b.Find(src))
Found out that this works, but is there a more stable way to do this, without actually having to create a new/mob/beta_tester/ ?