This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT CONCAT('ALTER TABLE `', tbl.`TABLE_SCHEMA`, '`.`', tbl.`TABLE_NAME`, '` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;') FROM `information_schema`.`TABLES` tbl WHERE tbl.`TABLE_SCHEMA` = 'dbase' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| user="user" | |
| pw="password" | |
| servers=(ipaddress1 ipaddress2 ipaddress3 ipaddress4 ipaddress5 ipaddress6 ipaddress7) | |
| for server in ${servers[*]} | |
| do | |
| case "$server" in | |
| ipaddress1) | |
| port="28260" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Create a custom list called admins, set it to CaseInsensitive, add all of your admin's names to it. | |
| Create a limit that evaluates OnAnyChat, call it "Admin Away Commands", leave Action set to None. | |
| Set first_check to this Code: */ | |
| /* Version 0.9/R1 */ | |
| bool isAdmin = plugin.isInList(player.Name, "admins"); | |
| Match away = Regex.Match(player.LastChat, @"^\s*!away\s+(.*)$", RegexOptions.IgnoreCase); | |
| Match back = Regex.Match(player.LastChat, @"^\s*!back", RegexOptions.IgnoreCase); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Set limit to evaluate OnAnyChat, set action to None | |
| Set first_check to this Code: */ | |
| List<String> hackusations = new List<String>(); | |
| // Matching hack, hacker, haxor, hacking, hacks, wallhack | |
| hackusations.Add(@"\b(wall)?ha(ck|xo)(er|ing|ed|s|r)?\b"); | |
| // Matching cheat, cheater, cheating, cheats | |
| hackusations.Add(@"\bche(at)(er|ing|ed|s)(s)?\b"); | |
| // Matching exploit, exploiter, exploiting, exploits |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Yell to Squad Members on Request | |
| Set limit to evaluate OnAnyChat, set action to None | |
| Set first_check to this Code:*/ | |
| string msg = "none"; | |
| if (!player.LastChat.StartsWith("ID_CHAT_")) | |
| return false; |
NewerOlder