User:Shining-Armor/chat.js

var sfNotifications = {}; sfNotifications.options = { audio: 'http://images.wikia.com/monchbox/images/0/01/Beep-sound.ogg', caseInsensitive: false, highlight: true, highlightColor: 'blue', notification: true, ping: true, pings: [ /[^a-z0-9]*(shining\-armor)[^a-z0-9]*/i, /[^a-z0-9]*(shiny)[^a-z0-9]*/i, /[^a-z0-9]*(shiny)[^a-z0-9]*/i, /[^a-z0-9]*(shining)[^a-z0-9]*/i, /[^a-z0-9]*(s\-a)[^a-z0-9]*/i, ],       regex: true }; switch (location.origin.replace('http://', '').split('.')[0]) { case 'community': sfNotifications.options.pings = sfNotifications.options.pings.concat([           /[^a-z0-9]*(fuck|shit|bitch)[^a-z0-9]*/i,            /[^a-z0-9]*(help)[^a-z0-9]*/i,            /[^a-z0-9]*((\!|)mods(s|))[^a-z0-9]*/i,            /[^a-z0-9]*((\!|)admin(s|))[^a-z0-9]*/i        ]); break; case 'starpolar': sfNotifications.options.pings = sfNotifications.options.pings.concat([           /[^a-z0-9]*(maria)[^a-z0-9]*/i,        ]); break; } importScriptPage('MediaWiki:ChatNotifications/code.js', 'shining-armor');