Board Thread:Support Requests - Getting Technical/@comment-27270518-20160412042555

help me with chat javascript please.

so, I added a bunch of imports, and all of a sudden nothing was working. Can someone take a look and see what is wrong?

the code is below

/***WordFilter***/ alertMessage  = 'You are about to post a forbidden word. If you want to proceed with the messsage, remember that you will be punished.' ; window.badWords .push ( 'fucku' ) ; // add bad words to pre-generated list /***ChatDelay***/ window.dev  = window.dev || <span class="br0" style="color:rgb(0,153,0);">{ <span class="br0" style="color:rgb(0,153,0);">} <span class="sy0" style="color:rgb(51,153,51);">; window.<span class="me1" style="color:rgb(38,139,210);">dev .<span class="me1" style="color:rgb(38,139,210);">chatdelay <span class="sy0" style="color:rgb(51,153,51);"> = <span class="br0" style="color:rgb(0,153,0);">{ max<span class="sy0" style="color:rgb(51,153,51);">: <span class="nu0" style="color:rgb(211,54,130);">5 <span class="sy0" style="color:rgb(51,153,51);">, mainOnly<span class="sy0" style="color:rgb(51,153,51);">: <span class="kw2" style="font-weight:bold;color:rgb(181,137,0);">false <span class="br0" style="color:rgb(0,153,0);">} <span class="sy0" style="color:rgb(51,153,51);">; <span class="coMULTI" style="font-style:italic;color:rgb(147,161,161);">/***Script Imports***/ importScriptPage<span class="br0" style="color:rgb(0,153,0);">( <span class="st0" style="color:rgb(42,161,152);">'User:Monchoman45/ChatHacks.js' <span class="sy0" style="color:rgb(51,153,51);">, <span class="st0" style="color:rgb(42,161,152);">'c' <span class="br0" style="color:rgb(0,153,0);">) <span class="sy0" style="color:rgb(51,153,51);">; importArticles<span class="br0" style="color:rgb(0,153,0);">( <span class="br0" style="color:rgb(0,153,0);">{     type<span class="sy0" style="color:rgb(51,153,51);">: <span class="st0" style="color:rgb(42,161,152);">'script' <span class="sy0" style="color:rgb(51,153,51);">,      articles<span class="sy0" style="color:rgb(51,153,51);">: <span class="br0" style="color:rgb(0,153,0);">[          <span class="st0" style="color:rgb(42,161,152);">'u:dev:ChatAnnouncements/code.js' <span class="sy0" style="color:rgb(51,153,51);">,          <span class="st0" style="color:rgb(42,161,152);">'u:kocka:MediaWiki:Emoticons.js' <span class="sy0" style="color:rgb(51,153,51);">,          <span class="st0" style="color:rgb(42,161,152);">'u:runescape:User:Joeytje50/tabinsert.js' <span class="sy0" style="color:rgb(51,153,51);">,          <span class="st0" style="color:rgb(42,161,152);">'u:shining-armor:MediaWiki:ChatTags/code.js' <span class="sy0" style="color:rgb(51,153,51);">, <span class="st0" style="color:rgb(42,161,152);">'u:dev:MediaWiki:!mods/code.js' <span class="sy0" style="color:rgb(51,153,51);">, <span class="st0" style="color:rgb(42,161,152);">'u:dev:MediaWiki:!kick/code.js' <span class="sy0" style="color:rgb(51,153,51);">, <span class="st0" style="color:rgb(42,161,152);">'u:dev:MediaWiki:ChatBlockButton/code.2.js' <span class="sy0" style="color:rgb(51,153,51);">, <span class="st0" style="color:rgb(42,161,152);">'u:dev:ChatDelay/code.js' <span class="sy0" style="color:rgb(51,153,51);">, <span class="st0" style="color:rgb(42,161,152);">'u:dev:MediaWiki:ChatModHover/code.js' <span class="sy0" style="color:rgb(51,153,51);">, <span class="st0" style="color:rgb(42,161,152);">'u:dev:MediaWiki:ChatEditTools/code.js' <span class="sy0" style="color:rgb(51,153,51);">, <span class="st0" style="color:rgb(42,161,152);">'u:dev:MediaWiki:ChatOptions/code.js' <span class="sy0" style="color:rgb(51,153,51);">, <span class="st0" style="color:rgb(42,161,152);">'w:c:dev:MediaWiki:WordFilter/code.js' <span class="sy0" style="color:rgb(51,153,51);">, <span class="st0" style="color:rgb(42,161,152);">'u:dev:ChatTimestamps/code.js' <span class="br0" style="color:rgb(0,153,0);">] <span class="br0" style="color:rgb(0,153,0);">} <span class="br0" style="color:rgb(0,153,0);">) <span class="sy0" style="color:rgb(51,153,51);">; <ac_metadata title="help me with javascript"> </ac_metadata>