User:Cap123/adminCP.js

/* * Admin Area * Made for Club Penguin Wiki * By Cap123 var ShoutOuts; var groups = mw.config.get("wgUserGroups"); if(wgPageName == 'Special:AdminArea') { if ((!groups.indexOf("sysop")) { document.getElementById('mw-content-text').innerHTML = ' ShoutOuts ' + ShoutOuts + ' '; } else { document.getElementById('mw-content-text').innerHTML = ' Access Denied' You must have Sysop (Administrator) Privileges to access the Admin Area. '; } else { return; } } if ((!groups.indexOf("sysop")) {document.write('  Don't forget to check out the Admin Area! '); } else { return; }