nuna 2 Posted May 27, 2018 Example: during woe. I would like to record all the break announcement that can be seen on an npc. Npc will show: [NPCname] Kriemhild castle has been conquered by playername1 of the guildname1. close; Quote Share this post Link to post Share on other sites
0 luizragna 41 Posted May 29, 2018 It's a very simple example: announcement.sql: DROP TABLE IF EXISTS `announcements`; CREATE TABLE IF NOT EXISTS `announcements` ( `time` DATETIME NOT NULL DEFAULT '00-00-0000 00:00:00', `announcement` VARCHAR(50) NOT NULL DEFAULT '', PRIMARY KEY (`time`) ) ENGINE=MYISAM; announce.txt: prontera,159,180,3 script Announcer Girl 1_F_MARIA,{ set .@announcement$,"Hello "+strcharinfo(PC_NAME)+" from World"; announce(""+.@announcement$+"", bc_all); query_sql("INSERT INTO `announcements` (announcement,time) VALUES ('"+.@announcement$+"',NOW() )"); end; } Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted May 30, 2018 https://rathena.org/board/topic/115821-how-can-i-record-specific-npc-announcement/ spot another same topic in rathena both answer provided are different ... maybe you should elaborate more about how you want to do the "record the break announcement" ... Quote Share this post Link to post Share on other sites
Example: during woe. I would like to record all the break announcement that can be seen on an npc.
Npc will show:
[NPCname]
Kriemhild castle has been conquered by playername1 of the guildname1.
close;
Share this post
Link to post
Share on other sites