This file contains 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
// | |
// AMNESIAC | |
// https://steamcommunity.com/sharedfiles/filedetails/?id=2001213453&searchtext=ttt2+role | |
// | |
// enable or disable this role | |
ttt_amnesiac_enabled 0 | |
// the percentage of players that are spawned as this role | |
ttt_amnesiac_pct 0.17 | |
// the limit of players that spawn as this role each round, this overwrites the percentage | |
ttt_amnesiac_max 1 |
This file contains 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
<?php | |
require('aws.phar'); | |
use Aws\S3\S3Client; | |
const BUCKET_NAME = '<BUCKET_NAME>'; | |
// Requires the ListBucket, GetObject, GetObjectAcl, PutObject, PutIpConfiguration, PutInventoryConfiguration, DeleteObject, and PutObjectAcl IAM permissions | |
$s3 = S3Client::factory(array( |
This file contains 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
function TRANSLATE_TO_ENGLISH(text) { | |
return translate('zi_en', text); | |
} | |
function TRANSLATE_TO_ZIS(text) { | |
return translate('en_zi', text); | |
} |
This file contains 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
/** | |
* A special function that inserts a custom menu when the spreadsheet opens. | |
*/ | |
function onOpen() { | |
//var menu1 = [{name: 'Translate from Zisian to English', functionName: 'translateZisianToEnglish_'}]; | |
//var menu2 = [{name: 'Translate from English to Zisian', functionName: 'translateEnglishToZisian_'}]; | |
//SpreadsheetApp.getActive().addMenu('Translate Zisian-English', menu1); | |
//SpreadsheetApp.getActive().addMenu('Translate English-Zisian', menu2); | |
// https://developers.google.com/apps-script/reference/spreadsheet/sheet#getdatarange |
This file contains 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
@echo off | |
setlocal enabledelayedexpansion | |
set Folders=Test1,Test2 | |
set Documents=D:\Users\Nicholas\OneDrive\Documents | |
set SavedGames=D:\Users\Nicholas\Saved Games | |
call :parse "%Folders%" | |
goto :eos |
This file contains 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 | |
echo -en "" > ReservedSlots.txt | |
echo "76561197974998697 # PatPeter" >> ReservedSlots.txt | |
echo "76561198096889432 # 11 Corgis on a Computer" >> ReservedSlots.txt | |
#echo "76561198309869930 # LostInMyThoughts" >> ReservedSlots.txt | |
#echo "76561198005366267 # Roartex" >> ReservedSlots.txt | |
echo "76561198170933298 # Craz" >> ReservedSlots.txt | |
#echo "76561198098544254 # SentinelBlue" >> ReservedSlots.txt | |
#echo "76561198201989204 # TheBlade" >> ReservedSlots.txt |
This file contains 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 | |
scpsl=. | |
if [ -n "$1" ] | |
then | |
server=$1 | |
else | |
server="*" | |
fi |
This file contains 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 | |
scpsl=. | |
regex='^\[([0-9]+:[0-9]+:[0-9]+)\] Accepted authentication token of user ([0-9]+) with global ban status ([0-9]) signed by ([A-Za-z0-9 ]+) server\.$' | |
for dir in $scpsl/servers/* | |
do | |
if [ ! -d $dir ] | |
then | |
continue |
This file contains 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
local namecolor = { | |
dev = Color(100, 240, 105, 255), -- light green | |
superadmin = Color(220, 180, 0, 255), -- gold | |
admin = Color(255, 0, 0, 255), -- red | |
supermod = Color(0, 255, 0, 255), -- green | |
moderator = Color(0, 0, 255, 255), -- blue | |
trial = Color(255, 128, 0, 255), -- orange | |
member = Color(128, 0, 192, 255), -- purple | |
regular = Color(0, 255, 255 ,255), -- light blue | |
default = COLOR_WHITE, |
This file contains 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 | |
servers=( scp1 scp2 scp3 scp4 scp5 scp6 scp7 scp8 ) | |
for s in ${servers[@]} | |
do | |
if [ -d "servers/$s" ] | |
then | |
rm -f servers/$s/config_gameplay.txt | |
ln -s ~/scp/servers/$s/config.txt ~/scp/servers/$s/config_gameplay.txt | |
echo Created symbolic link servers/$s/config_gameplay.txt |
NewerOlder