temp.npc = putnpc(x, y, ""); with(temp.npc) { join("classname"); id = 1; nick = "CLasSNaMe"; owner = "Chompy"; }