public function onCityExit(SR_Party $party) { if ($party->hasNPCClassed('PrisonB2_Malois')) { $party->notice('Malois says: "Hurry, we have to hurry!"'); } parent::onCityExit($party); }