text: Both the first and last abilities of Shadow in the Warp take into account spells cast before it was on the battlefield. For example, if an opponent cast a noncreature spell before it was on the battlefield, then casts a noncreature spell after it is put on the battlefield, Shadow in the Warp's second ability won't trigger because that is the second noncreature spell they've cast that turn.