- Timestamp:
- 11/19/08 13:26:44 (17 years ago)
- Location:
- trunk/src
- Files:
-
- 15 added
- 20 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/AuctionHouse.cpp
r2 r39 27 27 #include "AuctionHouseObject.h" 28 28 #include "Util.h" 29 #include "IRCClient.h" 29 30 30 31 //please DO NOT use iterator++, because it is slower than ++iterator!!! … … 313 314 pl->SaveInventoryAndGoldToDB(); 314 315 CharacterDatabase.CommitTransaction(); 316 317 if((sIRC.BOTMASK & 1024) != 0) 318 sIRC.AHFunc(it->GetEntry(), it->GetProto()->Name1, pl->GetName(), location); 315 319 316 320 SendAuctionCommandResult(AH->Id, AUCTION_SELL_ITEM, AUCTION_OK); -
trunk/src/game/Channel.cpp
r2 r39 21 21 #include "World.h" 22 22 #include "SocialMgr.h" 23 #include "IRCClient.h" 23 24 24 25 Channel::Channel(std::string name, uint32 channel_id) … … 113 114 SendToOne(&data, p); 114 115 116 sIRC.Handle_WoW_Channel(m_name, objmgr.GetPlayer(p), CHANNEL_JOIN); 117 115 118 JoinNotify(p); 116 117 // if no owner first logged will become118 if(!IsConstant() && !m_ownerGUID)119 {120 SetOwner(p, (players.size() > 1 ? true : false));121 players[p].SetModerator(true);122 }123 119 } 124 120 … … 159 155 160 156 LeaveNotify(p); 157 158 sIRC.Handle_WoW_Channel(m_name, objmgr.GetPlayer(p), CHANNEL_LEAVE); 161 159 162 160 if(changeowner) -
trunk/src/game/Chat.cpp
r37 r39 457 457 { "cometome", SEC_ADMINISTRATOR, &ChatHandler::HandleComeToMeCommand, "", NULL }, 458 458 { "damage", SEC_ADMINISTRATOR, &ChatHandler::HandleDamageCommand, "", NULL }, 459 { "ircpm", SEC_PLAYER, &ChatHandler::HandleIRCpmCommand, "", NULL }, 459 460 { "combatstop", SEC_GAMEMASTER, &ChatHandler::HandleCombatStopCommand, "", NULL }, 460 461 { "flusharenapoints", SEC_ADMINISTRATOR, &ChatHandler::HandleFlushArenaPointsCommand, "", NULL }, -
trunk/src/game/Chat.h
r37 r39 108 108 bool HandleGroupTeleCommand(const char* args); 109 109 bool HandleDrunkCommand(const char* args); 110 111 bool HandleIRCpmCommand(const char* args); 110 112 111 113 bool HandleEventActiveListCommand(const char* args); -
trunk/src/game/ChatHandler.cpp
r37 r39 35 35 #include "SpellAuras.h" 36 36 #include "Language.h" 37 #include "IRCClient.h" 37 38 #include "Util.h" 38 39 … … 428 429 break; 429 430 431 sIRC.Send_WoW_IRC(_player, channel, msg); 432 430 433 if(ChannelMgr* cMgr = channelMgr(_player->GetTeam())) 431 434 { -
trunk/src/game/GameEvent.cpp
r2 r39 25 25 #include "MapManager.h" 26 26 #include "Policies/SingletonImp.h" 27 #include "IRCClient.h" 27 28 28 29 INSTANTIATE_SINGLETON_1(GameEvent); … … 422 423 423 424 sLog.outString("GameEvent %u \"%s\" started.", event_id, mGameEvent[event_id].description.c_str()); 425 426 if((sIRC.BOTMASK & 256) != 0) 427 { 428 std::string ircchan = "#"; 429 ircchan += sIRC._irc_chan[sIRC.anchn].c_str(); 430 sIRC.Send_IRC_Channel(ircchan, sIRC.MakeMsg("\00304,08\037/!\\\037\017\00304 Game Event \00304,08\037/!\\\037\017 %s", "%s", mGameEvent[event_id].description.c_str()), true); 431 } 432 424 433 // spawn positive event tagget objects 425 434 GameEventSpawn(event_id); -
trunk/src/game/Language.h
r37 r39 641 641 LANG_ARENA_TESTING = 745, 642 642 643 LANG_AUTO_ANN = 746, 644 643 645 // in game strings 644 646 LANG_PET_INVALID_NAME = 800, -
trunk/src/game/Level1.cpp
r37 r39 32 32 #include "CellImpl.h" 33 33 #include "InstanceSaveMgr.h" 34 #include "IRCClient.h" 34 35 #include "Util.h" 35 36 #ifdef _DEBUG_VMAPS … … 124 125 125 126 sWorld.SendWorldText(LANG_SYSTEMMESSAGE,args); 127 128 if((sIRC.BOTMASK & 256) != 0) 129 { 130 std::string ircchan = "#"; 131 ircchan += sIRC._irc_chan[sIRC.anchn].c_str(); 132 sIRC.Send_IRC_Channel(ircchan, sIRC.MakeMsg("\00304,08\037/!\\\037\017\00304 System Message \00304,08\037/!\\\037\017 %s", "%s", args), true); 133 } 134 126 135 return true; 127 136 } … … 139 148 data << str; 140 149 sWorld.SendGlobalMessage(&data); 150 151 if((sIRC.BOTMASK & 256) != 0) 152 { 153 std::string ircchan = "#"; 154 ircchan += sIRC._irc_chan[sIRC.anchn].c_str(); 155 sIRC.Send_IRC_Channel(ircchan, sIRC.MakeMsg("\00304,08\037/!\\\037\017\00304 Global Notify \00304,08\037/!\\\037\017 %s", "%s", args), true); 156 } 141 157 142 158 return true; … … 2349 2365 } 2350 2366 2367 bool ChatHandler::HandleIRCpmCommand(const char* args) 2368 { 2369 std::string Msg = args; 2370 if (Msg.find(" ") == std::string::npos) 2371 return false; 2372 std::string To = Msg.substr(0, Msg.find(" ")); 2373 Msg = Msg.substr(Msg.find(" ") + 1); 2374 std::size_t pos; 2375 while((pos = To.find("||")) != std::string::npos) 2376 { 2377 std::size_t find1 = To.find("||", pos); 2378 To.replace(pos, find1 - pos + 2, "|"); 2379 } 2380 sIRC.SendIRC("PRIVMSG "+To+" : <WoW>["+m_session->GetPlayerName()+"] : " + Msg); 2381 //Msg = "|cffCC4ACCTo [" + To + "]: " + Msg + "|r"; 2382 sIRC.Send_WoW_Player(m_session->GetPlayer(), "|cffCC4ACCTo ["+To+"]: "+Msg); 2383 return true; 2384 } 2385 2351 2386 //teleport at coordinates 2352 2387 bool ChatHandler::HandleGoZoneXYCommand(const char* args) -
trunk/src/game/Makefile.am
r23 r39 142 142 $(srcdir)/InstanceSaveMgr.cpp \ 143 143 $(srcdir)/InstanceSaveMgr.h \ 144 $(srcdir)/IRCClient.cpp \ 145 $(srcdir)/IRCClient.h \ 146 $(srcdir)/IRCCmd.cpp \ 147 $(srcdir)/IRCCmd.h \ 148 $(srcdir)/IRCCmde.cpp \ 149 $(srcdir)/IRCConf.cpp \ 150 $(srcdir)/IRCConf.h \ 151 $(srcdir)/IRCConf.h \ 152 $(srcdir)/IRCFunc.h \ 153 $(srcdir)/IRCIO.cpp \ 154 $(srcdir)/IRCLog.cpp \ 155 $(srcdir)/IRCLog.h \ 156 $(srcdir)/IRCSock.cpp \ 157 $(srcdir)/MCS_OnlinePlayers.cpp \ 158 $(srcdir)/MCS_OnlinePlayers.h \ 144 159 $(srcdir)/Item.cpp \ 145 160 $(srcdir)/Item.h \ -
trunk/src/game/MiscHandler.cpp
r37 r39 255 255 data << uint32( pzoneid ); // player zone id 256 256 257 // 49 is maximum player count sent to client 258 if ((++clientcount) == 49) 257 // 49 is maximum player count sent to client - can be overriden 258 // through config, but is unstable 259 if ((++clientcount) == sWorld.getConfig(CONFIG_MAX_WHO)) 259 260 break; 260 261 } -
trunk/src/game/Player.cpp
r37 r39 59 59 #include "Spell.h" 60 60 #include "SocialMgr.h" 61 #include "IRCClient.h" 61 62 62 63 #include <cmath> … … 1717 1718 m_items[i]->AddToWorld(); 1718 1719 } 1720 if(sIRC.ajoin == 1) 1721 sIRC.AutoJoinChannel(this); 1719 1722 } 1720 1723 … … 2146 2149 2147 2150 UpdateAllStats(); 2151 2152 if((sIRC.BOTMASK & 64) != 0) 2153 { 2154 char temp [5]; 2155 sprintf(temp, "%u", level); 2156 std::string plevel = temp; 2157 std::string pname = GetName(); 2158 std::string ircchan = "#"; 2159 ircchan += sIRC._irc_chan[sIRC.Status].c_str(); 2160 sIRC.Send_IRC_Channel(ircchan, "\00311["+pname+"] : Has Reached Level: "+plevel, true); 2161 } 2148 2162 2149 2163 if(sWorld.getConfig(CONFIG_ALWAYS_MAXSKILL)) // Max weapon skill when leveling up -
trunk/src/game/World.cpp
r37 r39 57 57 #include "WaypointManager.h" 58 58 #include "Util.h" 59 #include "IRCClient.h" 60 #include "Language.h" 59 61 60 62 INSTANTIATE_SINGLETON_1( World ); … … 576 578 m_configs[CONFIG_CHARACTERS_CREATING_DISABLED] = sConfig.GetIntDefault("CharactersCreatingDisabled", 0); 577 579 580 m_configs[CONFIG_MAX_WHO] = sConfig.GetIntDefault("MaxWhoListReturns", 49); 581 578 582 m_configs[CONFIG_CHARACTERS_PER_REALM] = sConfig.GetIntDefault("CharactersPerRealm", 10); 579 583 if(m_configs[CONFIG_CHARACTERS_PER_REALM] < 1 || m_configs[CONFIG_CHARACTERS_PER_REALM] > 10) … … 1177 1181 WorldDatabase.PExecute("INSERT INTO uptime (startstring, starttime, uptime) VALUES('%s', %ld, 0)", isoDate, m_startTime ); 1178 1182 1183 static uint32 autoanc = 1; 1184 autoanc = sIRC.autoanc; 1185 1179 1186 m_timers[WUPDATE_OBJECTS].SetInterval(0); 1180 1187 m_timers[WUPDATE_SESSIONS].SetInterval(0); … … 1184 1191 //Update "uptime" table based on configuration entry in minutes. 1185 1192 m_timers[WUPDATE_CORPSES].SetInterval(20*MINUTE*1000); //erase corpses every 20 minutes 1193 1194 m_timers[WUPDATE_AUTOANC].SetInterval(autoanc*MINUTE*1000); 1186 1195 1187 1196 //to set mailtimer to return mails every day between 4 and 5 am … … 1421 1430 } 1422 1431 1423 /// </ul> 1424 ///- Move all creatures with "delayed move" and remove and delete all objects with "delayed remove" 1425 MapManager::Instance().DoDelayedMovesAndRemoves(); 1432 if (m_timers[WUPDATE_AUTOANC].Passed()) 1433 { 1434 m_timers[WUPDATE_AUTOANC].Reset(); /// </ul> 1435 SendRNDBroadcast(); 1436 } 1437 MapManager::Instance().DoDelayedMovesAndRemoves(); ///- Move all creatures with "delayed move" and remove and delete all objects with "delayed remove" 1426 1438 1427 1439 // update the instance reset times … … 2495 2507 } 2496 2508 // print the console message here so it looks right 2497 p_zprintf("mangos>"); 2509 p_zprintf("Trinity Core> "); 2510 } 2511 2512 void World::SendRNDBroadcast() 2513 { 2514 std::string msg; 2515 QueryResult *result = WorldDatabase.PQuery("SELECT `message` FROM `IRC_AutoAnnounce` ORDER BY RAND() LIMIT 1"); 2516 if(!result) 2517 return; 2518 msg = result->Fetch()[0].GetString(); 2519 delete result; 2520 std::string str = "|cffff0000[Automatic]:|r"; 2521 str += msg; 2522 sWorld.SendWorldText(LANG_AUTO_ANN); 2523 std::string ircchan = "#"; 2524 ircchan += sIRC._irc_chan[sIRC.anchn].c_str(); 2525 sIRC.Send_IRC_Channel(ircchan, sIRC.MakeMsg("\00304,08\037/!\\\037\017\00304 Automatic System Message \00304,08\037/!\\\037\017 %s", "%s", msg.c_str()), true); 2498 2526 } 2499 2527 -
trunk/src/game/World.h
r37 r39 60 60 WUPDATE_CORPSES = 5, 61 61 WUPDATE_EVENTS = 6, 62 WUPDATE_COUNT = 7 62 WUPDATE_COUNT = 7, 63 64 WUPDATE_AUTOANC = 7 65 63 66 }; 64 67 … … 92 95 CONFIG_STRICT_PET_NAMES, 93 96 CONFIG_CHARACTERS_CREATING_DISABLED, 97 CONFIG_MAX_WHO, 94 98 CONFIG_CHARACTERS_PER_ACCOUNT, 95 99 CONFIG_CHARACTERS_PER_REALM, … … 366 370 WorldSession* FindSession(uint32 id) const; 367 371 void AddSession(WorldSession *s); 372 373 void SendRNDBroadcast(); 374 368 375 bool RemoveSession(uint32 id); 369 376 /// Get the number of current active sessions -
trunk/src/shared/Database/DBCStructure.h
r37 r39 148 148 // 4, unused 149 149 //char* name[16]; // 5-20 unused 150 char* name[16]; // 5-20 unused 150 151 // 21 string flag, unused 151 152 //char* string1[16]; // 21-36 unused -
trunk/src/shared/Database/DBCfmt.cpp
r37 r39 24 24 const char ChatChannelsEntryfmt[]="iixssssssssssssssssxxxxxxxxxxxxxxxxxx"; 25 25 // ChatChannelsEntryfmt, index not used (more compact store) 26 const char ChrClassesEntryfmt[]="nxixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxix"; 26 //const char ChrClassesEntryfmt[]="nxixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxix"; 27 const char ChrClassesEntryfmt[]="nxixssssssssssssssssxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxix"; 27 28 const char ChrRacesEntryfmt[]="nxixiixxixxxxissssssssssssssssxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; 28 29 const char CreatureDisplayInfofmt[]="nxxxfxxxxxxxxx"; -
trunk/src/shared/Makefile.am
r23 r39 54 54 $(srcdir)/WorldPacket.h \ 55 55 $(srcdir)/SystemConfig.h \ 56 $(srcdir)../game/IRCConf.h \ 56 57 $(srcdir)/Auth/AuthCrypt.cpp \ 57 58 $(srcdir)/Auth/AuthCrypt.h \ -
trunk/src/trinitycore/CliRunnable.cpp
r2 r39 37 37 #include "PlayerDump.h" 38 38 #include "Player.h" 39 #include "IRCClient.h" 39 40 40 41 //CliCommand and CliCommandHolder are defined in World.h to avoid cyclic deps … … 314 315 sWorld.SendWorldText(LANG_SYSTEMMESSAGE,textUtf8.c_str()); 315 316 zprintf("Broadcasting to the world: %s\r\n",textUtf8.c_str()); 317 318 if((sIRC.BOTMASK & 256) != 0) 319 { 320 std::string ircchan = "#"; 321 ircchan += sIRC._irc_chan[sIRC.anchn].c_str(); 322 sIRC.Send_IRC_Channel(ircchan, sIRC.MakeMsg("\00304,08\037/!\\\037\017\00304 System Message \00304,08\037/!\\\037\017 %s", "%s", text), true); 323 } 324 316 325 } 317 326 -
trunk/src/trinitycore/Main.cpp
r2 r39 26 26 #include "Log.h" 27 27 #include "Master.h" 28 #include "../game/IRCConf.h" 29 #include "../game/IRCClient.h" 28 30 29 31 #ifndef _TRINITY_CORE_CONFIG … … 76 78 ///- Command line parsing to get the configuration file name 77 79 char const* cfg_file = _TRINITY_CORE_CONFIG; 80 char const* mc_cfg_file = _TRINITY_CORE_CONFIG; 78 81 int c=1; 79 82 while( c < argc ) … … 136 139 return 1; 137 140 } 138 141 142 sIRC.SetCfg(mc_cfg_file); 139 143 sLog.outString("Using configuration file %s.", cfg_file); 140 144 -
trunk/src/trinitycore/Master.cpp
r34 r39 39 39 #include "ScriptCalls.h" 40 40 #include "Util.h" 41 #include "IRCClient.h" 41 42 42 43 #include "sockets/TcpSocket.h" … … 227 228 return 1; 228 229 230 ///- Load IRC Config (need DB for gm levels, AutoBroadcast uses world timers) 231 sIRC.LoadConfig(sIRC.CfgFile); 232 229 233 ///- Initialize the World 230 234 sWorld.SetInitialWorldSettings(); … … 310 314 uint32 loopCounter = 0; 311 315 316 // Start up IRC bot 317 ZThread::Thread irc(new IRCClient); 318 irc.setPriority ((ZThread::Priority )2); 319 320 321 312 322 ///- Start up freeze catcher thread 313 323 uint32 freeze_delay = sConfig.GetIntDefault("MaxCoreStuckTime", 0); -
trunk/src/trinitycore/trinitycore.conf.dist
r34 r39 389 389 # 3 - disabled for both teams 390 390 # 391 # MaxWhoListReturns 392 # Set the maximum number of players returned in the /who list and interface. 393 # Default: 49 (stable) 394 # 391 395 # CharactersPerAccount 392 396 # Limit numbers of characters per account (at all realms). … … 513 517 StrictCharterNames = 0 514 518 StrictPetNames = 0 519 MaxWhoListReturns = 49 515 520 CharactersCreatingDisabled = 0 516 521 CharactersPerAccount = 50 … … 1185 1190 PvPToken.ItemCount = 1 1186 1191 NoResetTalentsCost = 0 1192 1193 ################################################################################################################### 1194 # IRC SYSTEM CONFIG 1195 # 1196 # irc.active 1197 # Enable IRC bot/system 1198 # Default: 0 - Disable 1199 # 0 - Enable 1200 # irc.icc 1201 # IRC connect code 1202 # Default: 001 - Welcome To Network msg 1203 # 375 - Beginning Of MOTD 1204 # 376 - End Of MOTD 1205 # 1206 # irc.host 1207 # IRC server to connect to 1208 # 1209 # irc.port 1210 # IRC server port to use 1211 # Default: "6667" - Semi-standard IRC port 1212 # 1213 # irc.user 1214 # The username/ident to use when connecting to the IRC server 1215 # 1216 # irc.nick 1217 # IRC nickname to be used by the bot 1218 # 1219 # irc.pass 1220 # The password to be used to identify to NickServ 1221 # 1222 # irc.auth 1223 # IRC Authentication Method 1224 # Default: 0 - Disable 1225 # 1 - NickServ - Normal Method - PRIVMSG NickServ :IDENTIFY Password 1226 # 2 - NickServ - Alternate Method To Identify To A Different Nick - PRIVMSG NickServ :IDENTIFY irc.auth.nick Password 1227 # 3 - QuakeNet - Normal Method - PRIVMSG Q@CServe.quakenet.org :AUTH irc.nick Password 1228 # 4 - QuakeNet - Alternate Method To Identify To A Different Nick - PRIVMSG Q@CServe.quakenet.org :AUTH irc.auth.nick Password 1229 # 1230 # irc.auth.nick 1231 # IRC Nickname to use if Auth method 2 or 4 is used 1232 # 1233 # irc.ldef 1234 # Leave a defined IRC channel on server connect 1235 # Default: 0 - Disable 1236 # 1 - Enable 1237 # irc.defchan 1238 # IRC channel to leave on server connect if irc.ldef is on 1239 # 1240 # irc.wct 1241 # Time to wait before (re)attemptimg connection to IRC server 1242 # Default: 30000 - (30 Seconds) 1243 # 1244 # irc.maxattempt 1245 # Maximum attempts to try IRC server 1246 # Default: 20 1247 # 1248 # irc.auto.announce 1249 # Time to wait in Minutes to announce random messages from database. 1250 # Default: 30 - (30 Minutes) 1251 # 1252 # irc.autojoin_kick 1253 # Autojoin IRC channel if kicked 1254 # Default: 1 - Enable 1255 # 0 - Disable 1256 # 1257 # irc.command_prefix 1258 # IRC command prefix 1259 # Example: (.)online all 1260 # 1261 # irc.joinmsg 1262 # irc.rstmsg 1263 # irc.kickmsg 1264 # Bot join/restart/kick messages 1265 # 1266 # irc.chan_# 1267 # wow.chan_# 1268 # IRC and WOW channels to link. Leave # out of IRC channel. Both channels _ARE_ case sensitive 1269 # Example: irc.chan_1 = "Trinity" 1270 # irc.chan_2 = "trinity2" 1271 # wow.chan_1 = "world" 1272 # wow.chan_2 = "LookingForGroup" 1273 # 1274 # irc.StatusChannel 1275 # Channel Number To Display Status Messages In (AuctionHouse, Levels, Deaths, Etc) 1276 # Default: 1 - Channel ID 1 1277 # 1278 # irc.AnnounceChannel 1279 # Channel Number To Display Announcements In (Announces, Notifies, Event) 1280 # Default: 1 - Channel ID 1 1281 # 1282 # irc.op_gm_login 1283 # Op The GM In All Channels The Bot Is On When They Log In 1284 # Default: 0 - Disable 1285 # 1 - Enable 1286 # 1287 # irc.op_gm_level 1288 # The Minimum GM Level Required To Have The Bot Op The User 1289 # Default: 5 - GM Level 5 1290 # 1291 # irc.ajoin (Experimental/Under Development) 1292 # Force players to autojoin an in game channel 1293 # Atleast one player must be in the channel on server start, and atleast one person online for invite to work 1294 # Default: 0 - Disable 1295 # 1 - Enable 1296 # irc.ajchan 1297 # Channel to join if above is Enabled. 1298 # 1299 # irc.online.result 1300 # Maximum number of results per line for the online command 1301 # 1302 # chat.*** (Defineable Strings) 1303 # wow_* - String is displayed in IRC channel 1304 # irc_* - String is displayed in WOW channel 1305 # Options: $Name, $Level, $Msg, $GM (not all options work in every string) 1306 # 1307 # Botmask 1308 # This defines what the bot announces, if its 0 everything is disabled 1309 # simply add the values of the elements you want to create this mask. 1310 # Example: WoW join/leaves are 1 and IRC join/leaves are 2, if you want both of these active then the BotMask is 3. 1311 # (1)Display WoW Chan Join/Leaves In IRC 1312 # (2)Display IRC Chan Join/Leaves/NickChanges In WoW 1313 # (4)Display Unknown Command Message When Trigger Is Used And No Command Exists 1314 # (8)Announce Security Level > 0 As GM At Login 1315 # (16)Announce GM In GM ON State AS GM At Login 1316 # (32)Return Errors To Notice. (If disabled then default is Private Message) 1317 # (64)Display WoW Status Messages (Levels/Deaths) 1318 # (128)Display Nick Changes From IRC In WOW 1319 # (256)Display WoW Announces/Notifies In IRC 1320 # (512)Do Not Let Players Use Commands On Higher GM Level Players 1321 # (1024)Enable AuctionHouse Announcements 1322 # 1323 # irc.gmlog 1324 # Minimum GM level to not show login/pass info in IRC logs 1325 # 1326 # irc.logfile.prefix 1327 # The prefix of the IRC logfile. Directories can be added here. 1328 # Example: "IRC/IRC_" outputs IRC_YYYY-MM-DD.log to the IRC subdirectory in your logs dir 1329 # 1330 # irc.fun.games (Experimental/Under Development) 1331 # Enable IRC games 1332 # Default: 0 - Disable 1333 # 1 - Enable 1334 # irc.gm# 1335 # GM tag to append to (GM onjoin / online command) IRC color codes are acceptable 1336 # 1337 ################################################################################################################### 1338 1339 irc.active = 0 1340 irc.icc = 001 1341 irc.host = "" 1342 irc.port = "6667" 1343 irc.user = "TC" 1344 irc.nick = "TrinityCoreBot" 1345 irc.pass = "" 1346 irc.auth = 0 1347 irc.auth.nick = "TrinityCoreBot" 1348 irc.ldef = 0 1349 irc.defchan = "lobby" 1350 irc.wct = 30000 1351 irc.maxattempt = 20 1352 irc.auto.announce = 30 1353 irc.autojoin_kick = 1 1354 irc.command_prefix = "." 1355 irc.joinmsg = "Trinity Core running. Command trigger is $Trigger." 1356 irc.rstmsg = "Trinity Core is restarting..." 1357 irc.kickmsg = "Do not kick me." 1358 irc.chan_1 = "mangos" 1359 wow.chan_1 = "world" 1360 irc.StatusChannel = 1 1361 irc.AnnounceChannel = 1 1362 irc.op_gm_login = 0 1363 irc.op_gm_level = 3 1364 irc.ajoin = 1 1365 irc.ajchan = "world" 1366 irc.online.result = 30 1367 chat.wow_irc = "<WoW>$Name [$Level]: $Msg" 1368 chat.irc_wow = "<IRC>$Name: $Msg" 1369 chat.join_wow = "[$GM] $Name has joined IRC." 1370 chat.leave_wow = "[$GM] $Name has left IRC." 1371 Botmask = 1023 1372 irc.gmlog = 1 1373 irc.logfile.prefix = "irc_" 1374 irc.fun.games = 0 1375 irc.gm1 = "[Moderator]" 1376 irc.gm2 = "[Game Master]" 1377 irc.gm3 = "[BugTracker]" 1378 irc.gm4 = "[DevTeam Admin]" 1379 irc.gm5 = "[SysOP]"