User:MegawX/ChatPMs.js

if(wgCanonicalSpecialPageName == 'Chat') { function createGroupPM { var users = prompt('Separa os nomes dos cara com vírgula .-.',''); var users = users.split(','); mainRoom.openPrivateChat(users); } $('form#Write').append('PVT'); }