ID:2010297
 
(See the best response by Lummox JR.)
Code:
world
New()
var/T
var/just
var/dont
for(T in typesof(/obj/Black_Magic))
just = "/obj/Black_Magic"
dont = new just
T = new T
if(dont != T)
BlackMagicList += T

var
global
BlackMagicList[0]


Problem description:
No matter what i've tried, like the -= operator or .Remove, will remove "Black Magic" at the end of the list when I go to use my Create() verb.
Anyone know how to remove that?
May be the wrong way to do it, but I got "Black Magic" out of the list by doing:
world
New()
var/T
for(T in typesof(/obj/Black_Magic))
BlackMagicList += new T
BlackMagicList.len = (BlackMagicList.len-1)
Best response
What you want here is:

for T in (typesof(/obj/Black_Magic) - /obj/Black_Magic))
Oh, you could remove things from the search? Neat, thank you Lummox!