SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for IRC_Commands -- ---------------------------- DROP TABLE IF EXISTS `IRC_Commands`; CREATE TABLE `IRC_Commands` ( `Command` varchar(10) NOT NULL default '', `Description` varchar(150) NOT NULL default '', `gmlevel` tinyint(3) unsigned NOT NULL default '0', PRIMARY KEY (`Command`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='IRC Module System'; -- ---------------------------- -- Records -- ---------------------------- INSERT INTO `IRC_Commands` VALUES ('acct', '[acct <(un)lock/mail/pass/rename>] : Perform Action To Account.', '3'); INSERT INTO `IRC_Commands` VALUES ('ban', '[ban ] : Ban/Unban ', '3'); INSERT INTO `IRC_Commands` VALUES ('chan', '[chan <*IRC Nick*>] : Set Mode On Yourself, If Is Specified Then Set mode On Nick.', '3'); INSERT INTO `IRC_Commands` VALUES ('char', '[char ] : Perform Action To Character.', '3'); INSERT INTO `IRC_Commands` VALUES ('fun', '[fun ] : Do Selected Fun Action To .', '3'); INSERT INTO `IRC_Commands` VALUES ('help', '[help Command] : Use No Paramaters For List Of Available Commands.', '0'); INSERT INTO `IRC_Commands` VALUES ('inchan', '[inchan ] : Display Users In Selected In Game ', '0'); INSERT INTO `IRC_Commands` VALUES ('info', '[info] : Display Server Info. (Number Of Players Online/Max Since Last Restart/Uptime)', '0'); INSERT INTO `IRC_Commands` VALUES ('item', '[item ] : Additem To , Use Or <[Exact Item Name]>.', '3'); INSERT INTO `IRC_Commands` VALUES ('jail', '[jail ] : Jail Selected For . Using release As Releases Player.', '3'); INSERT INTO `IRC_Commands` VALUES ('kick', '[kick ] : Kick For .', '3'); INSERT INTO `IRC_Commands` VALUES ('kill', '[kill ] : Kill For .', '3'); INSERT INTO `IRC_Commands` VALUES ('level', '[level ] : Level To . *Can Be Done Offline*', '3'); INSERT INTO `IRC_Commands` VALUES ('lookup', '[lookup ] : ', '3'); INSERT INTO `IRC_Commands` VALUES ('login', '[login ] : Login To MangChat Admin Mode. (Must Be Done In A PM)', '0'); INSERT INTO `IRC_Commands` VALUES ('logout', '[logout] : Logout Of MangChat Admin Mode.', '0'); INSERT INTO `IRC_Commands` VALUES ('money', '[money <(-)Money>] : Give Money To , Use - To Take Money. *Can Be Done Offline*', '3'); INSERT INTO `IRC_Commands` VALUES ('mute', '[mute ] : Mute Player For Reason, For . Using release As Time Releases Player. *Can Be Done Offline*', '3'); INSERT INTO `IRC_Commands` VALUES ('online', '[online] : Display All Users Logged In Game.', '0'); INSERT INTO `IRC_Commands` VALUES ('pm', '[pm ] : Whisper In WoW .', '3'); INSERT INTO `IRC_Commands` VALUES ('reload', '[reload] : Reload MangChat Config Options And Security Level From DataBase.', '3'); INSERT INTO `IRC_Commands` VALUES ('restart', '[restart] : Restart MangChat, NOT MaNGOS World Server Itself. Forces Reconnection To IRC Server.', '3'); INSERT INTO `IRC_Commands` VALUES ('revive', '[revive ] : Revive .', '3'); INSERT INTO `IRC_Commands` VALUES ('saveall', '[saveall] : Forces MaNGOS To Save All Players.', '3'); INSERT INTO `IRC_Commands` VALUES ('shutdown', '[shutdown ] : Shuts The Server Down In , Use 0 For Immediate Shut Down', '3'); INSERT INTO `IRC_Commands` VALUES ('spell', '[spell ] : Make Or A Spell, Or A Spell On A .', '3'); INSERT INTO `IRC_Commands` VALUES ('sysmsg', '[sysmsg ] : Broadcasts A System Message. (a-Broadcast System Message)(n-Broadcast Notify Message)(e-Event Message)', '3'); INSERT INTO `IRC_Commands` VALUES ('tele', '[tele ] : Teleport Player To Location, Coords, Or Another Player. (l-Location)(c-Coords)', '3'); INSERT INTO `IRC_Commands` VALUES ('top', '[top ] : Display top stats for given option. Only GM Higher Than Config Option Can Use Limit.', '3'); INSERT INTO `IRC_Commands` VALUES ('who', '[who] : Displays Users Currently Logged In To MangChat.', '1'); SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for IRC_Inchan -- ---------------------------- DROP TABLE IF EXISTS `IRC_Inchan`; CREATE TABLE `IRC_Inchan` ( `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `name` varchar(12) NOT NULL default '', `channel` varchar(15) NOT NULL default '', PRIMARY KEY (`guid`,`channel`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='IRC Module System'; SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for IRC_AutoAnnounce -- ---------------------------- DROP TABLE IF EXISTS `IRC_AutoAnnounce`; CREATE TABLE `IRC_AutoAnnounce` ( `id` int(11) NOT NULL AUTO_INCREMENT, `message` longtext NOT NULL, `addedby` varchar(12) NOT NULL default '', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='IRC Module System'; -- Add ircpm command. delete from `command` WHERE `name`='ircpm'; insert into `command` (`name`, `security`, `help`) values ('ircpm', 0, 'Syntax: .ircpm \n\nSends a PM with to on IRC.'); -- Add auto announce string. DELETE FROM `trinity_string` WHERE `entry`=746; insert into `trinity_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) values('746','|cffff0000[Automatic]:|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);