User:Mario&LuigiBowser'sInsideStory/global.js

// chat count script

$('.Rail .public').after('Chat count '); function seeChatCount{ if (mainRoom.model.users.length >= 20){ $.showCustomModal('Chat count', 'Wow, full house with ' + mainRoom.model.users.length + ' users online!'); }   else { $.showCustomModal('Chat count', 'It seems like not a lot are online, but there is ' + mainRoom.model.users.length + ' users online.'); } }

// chat block defaults var chatBlockReason = "Sockpuppetry"; var chatBlockExpiry = "infinite";

// Import importArticles({   type: "script",    articles: [      'u:gumballfanonrandomness:MediaWiki:Chat.js',      'u:dev:MediaWiki:FindAndReplace/code.js',      'u:dev:MediaWiki:MessageBlocker/code.js',      'u:dev:ChatOptions/code.js',      'u:dev:ChatDelay/code.js',      'u:dev:NewMessageCount.js',      'u:dev:MediaWiki:PrivateMessageAlert/code.js',      'u:dev:MediaWiki:ChatHacks.js',      'u:dev:MediaWiki:ChatBlockButton/code.js'    ] });