Code:
delete from cq_action where id >= 1000010 and id <= 1000026;
update cq_action set id_next = 1000010 where id = 1000006;
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000010, 1000011, 1000012, 1080, 9000, 'isexit');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000011, 0000, 0000, 0126, 0, '[COLOR=Red]Welcome~to~**~EO~![/COLOR]');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000012, 1000013, 0000, 1080, 9000, 'new');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000013, 1000014, 0000, 0501, [COLOR=Red]111113[/COLOR], '[COLOR=Red]7000 7000 0 255 255 0 0 12 0 1024 0 0[/COLOR]');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000014, 1000015, 0000, 0501, [COLOR=Red]115113[/COLOR], '[COLOR=Red]7000 7000 0 255 255 0 0 12 0 1024 0 0[/COLOR]');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000015, 1000016, 0000, 0501, [COLOR=Red]121113[/COLOR], '[COLOR=Red]7000 7000 0 255 255 0 0 12 0 1024 0 0[/COLOR]');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000016, 1000017, 0000, 0501, [COLOR=Red]125113[/COLOR], '[COLOR=Red]7000 7000 0 255 255 0 0 12 0 1024 0 0[/COLOR]');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000017, 1000018, 0000, 0501, [COLOR=Red]131113[/COLOR], '[COLOR=Red]7000 7000 0 255 255 0 0 12 0 1024 0 0[/COLOR]');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000018, 1000019, 0000, 0501, [COLOR=Red]135113[/COLOR], '[COLOR=Red]7000 7000 0 255 255 0 0 12 0 1024 0 0[/COLOR]');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000019, 1000020, 0000, 0501, [COLOR=Red]141113[/COLOR], '[COLOR=Red]7000 7000 0 255 255 0 0 12 0 1024 0 0[/COLOR]');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000020, 1000021, 0000, 0501, [COLOR=Red]145113[/COLOR], '[COLOR=Red]7000 7000 0 255 255 0 0 12 0 1024 0 0[/COLOR]');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000021, 1000022, 0000, 1001, 0, '[COLOR=Red]money += 100000000[/COLOR]');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000022, 1000023, 0000, 1001, 0, '[COLOR=Red]emoney += 100000[/COLOR]');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000023, 1000024, 0000, 1081, 9000, 'phase = 1');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000024, 1000025, 0000, 0126, 0, '[COLOR=Red]Welcome~to~SERVERNAME~!~SOME~MESSAGE~YOU~WANT~TO~PUT![/COLOR]');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
(1000025, 1000026, 0000, 1085, 0, 'gmlog/gift_log user name:%user_name user id:[%user_id] get time:');
INSERT INTO cq_action
(`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES (1000026, 0000, 0000, 0125, 2011, '[COLOR=Red]%user_name~Has~Recieved~His~Gift[/COLOR]');