Frug / AJAX-Chat

A fully customizable web chat implemented in JavaScript, PHP and MySQL which integrates nicely with common forum systems like phpBB, MyBB, FluxBB, SMF and vBulletin. A Flash and Ruby based socket connection can be used to boost performance.
http://frug.github.io/AJAX-Chat/
548 stars 300 forks source link

Mod Takeover #227

Closed MarcinEU closed 8 years ago

MarcinEU commented 8 years ago

If you don't want to include "/takeover" in chatbot message edit the line

$this->insertChatBotMessage( $this->getChannel(), $text);

to

$this->insertChatBotMessage( $this->getChannel(), str_replace("/takeover", " ", $text) );

Frug commented 8 years ago

The wiki page for the takeover command already does this by using custom.js to replace /takeover with a div.