FANDOM


ChatSendButtons allows to send a preset message to the chat room. The buttons append to the top by the wiki word mark. To install, add the following code to your chat.js on the wiki you want to use it on:

window.chatSendButtons = [
    {
        label: 'Button label',
        message: 'Preset message to send'
    },
    {
        label: 'Spam',
        message: 'Please don\'t spam the chat'
    },
    {
        label: 'Hello',
        message: 'Hello everyone!'
    }
];
importArticles({
    type: "script",
    articles: [
        // ...
        'u:electroboom:MediaWiki:ChatSendButtons.js'
        // ...
    ]
});

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.