[RELEASE] GM broadcast script

02/05/2011 12:00 magewarior2#1
Hello, pimpjuc asked us to find out how to create a GM bc into game., today I found out how to let it work.

Code:
delete from cq_action where id >= 6400040 and id <= 6400043;
INSERT INTO cq_action VALUES ('6400040', '6400041', '0000', '0101', '0', 'Welcome~%user_name~Type~your~Message~into');
INSERT INTO cq_action VALUES ('6400041', '6400042', '0000', '0101', '0', 'The~box~below~to~send~an~instant~GM~Message!');
INSERT INTO cq_action VALUES ('6400042', '4000009', '0000', '103', '0', '60 6400043 Please~Use~60~chars~or~less.');
INSERT INTO cq_action VALUES ('6400043', '6400044', '0000', '0125', '2011', '%accept0');
delete from cq_task where id= 6400040;
delete from cq_task where id= 6400043;
INSERT INTO cq_task VALUES ('6400040', '6400040', '0000', '', '', '0', '0', '999', '-100000', '100000', '0999', '0000', '0', '-1', '0');
INSERT INTO cq_task VALUES ('6400043', '6400043', '0000', '', '', '0', '0', '999', '-100000', '100000', '0999', '0000', '0', '-1', '0');

ps, i found that /awarditem 729999 starts with id 6400040, its a non functional bag.
02/05/2011 18:58 Hinataa#2
The bad
it has to put "~" in order to use the dialogue correctly.
02/05/2011 19:30 magewarior2#3
Quote:
Originally Posted by Hinataa View Post
The bad
it has to put "~" in order to use the dialogue correctly.
yes.
02/06/2011 02:49 pimpjuc#4
nice work mage cheers :)
02/06/2011 02:52 Jack Sparrow#5
Very NICE! :D