: DB error - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE `event` = 'Mr Password' AND `won_by` IS NULL' at line 1 [Debug]: at script.c:15731 - INSERT INTO `event_log` SET `won_by` = 'RyokoMVP', `won_time` = NOW(), `price_id` = 607, `price_amount` = 1 WHERE `event` = 'Mr Password' AND `won_by` IS NULL [Debug]: Source (NPC): Mr Password at prontera (141,175) [sql]: DB error - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE `event` = 'Mr Password' AND `won_by` IS NULL' at line 1 [Debug]: at script.c:15731 - INSERT INTO `event_log` SET `won_by` = 'RyokoMVP', `won_time` = NOW(), `price_id` = 607, `price_amount` = 1 WHERE `event` = 'Mr Password' AND `won_by` IS NULL