UPDATE `smart_scripts` SET `event_flags`=512 WHERE  `entryorguid`=28308 AND `source_type`=0;
UPDATE `smart_scripts` SET `event_flags`=512 WHERE  `entryorguid`=2830800 AND `source_type`=9 AND `id`=1 AND `link`=0;
