<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/19902" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2015-03-28T16:08:18-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/19902</id>

		<entry>
		<author><name><![CDATA[Busi]]></name></author>
		<updated>2015-03-28T16:08:18-04:00</updated>

		<published>2015-03-28T16:08:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103720#p103720</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103720#p103720"/>
		<title type="html"><![CDATA[Simple MSL script conversion / twitch channel bad word scrip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103720#p103720"><![CDATA[
<blockquote class="uncited"><div>In what format are the words added in badwords.ini ?</div></blockquote>Not quite sure, we just add them with !filter add word<br>like !filter add camgirl<br>and the output in the file is <br><br>[badwords]<br>camgirl=1<br><br>for us it don't really matter how it stores or save the words as long as we can have a way to add it via commands and it can scan all chat for the words in the file.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12511">Busi</a> — Sat Mar 28, 2015 4:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2015-03-28T02:27:48-04:00</updated>

		<published>2015-03-28T02:27:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103712#p103712</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103712#p103712"/>
		<title type="html"><![CDATA[Simple MSL script conversion / twitch channel bad word scrip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103712#p103712"><![CDATA[
In what format are the words added in badwords.ini ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Mar 28, 2015 2:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Busi]]></name></author>
		<updated>2015-03-27T21:28:34-04:00</updated>

		<published>2015-03-27T21:28:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103711#p103711</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103711#p103711"/>
		<title type="html"><![CDATA[Simple MSL script conversion / twitch channel bad word scrip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103711#p103711"><![CDATA[
I have this MSL script i had made for me to be used with a twitch channel to timeout people that would post one of the banned words<br>the script have 4 commands  filter add, filter remove, filter enable and disable<br>all command should be accessed by channel ops only<br><br>and when one of the banned words is found it would do a text command in form of .timeout username 5<br>where username is the person who wrote the word<br><br>here is the MSL script<br><div class="codebox"><p>Code: </p><pre><code>; on text eventon *:TEXT:*:#:{  var %file = badwords.ini  if ($1 == !filter) {    if ($nick !isop $chan) return    ; if someone types "!filter" without parameters, output its status    if (!$2) {      msg $chan Filter is currently $iif(%filter_enabled,en,dis) $+ abled.      return    }    if ($2 == add) {      if (!$3) { msg $chan you have to provide a word to add! | return }      writeini %file badwords $3 1      msg $chan word $qt($3) added to filter list.      return    }    if ($2 == remove) {      if (!$3) { msg $chan you have to provide a word to delete! | return }      if (!$readini(%file,badwords,$3)) {         msg $chan word $qt($3) not found in filter list!        return      }      remini %file badwords $3      msg $chan word $qt($3) removed from filter list.      return    }    if ($2 == enable) {      set %filter_enabled 1      msg $chan filter is enabled.      return    }    if ($2 == disable) {      set %filter_enabled 0      msg $chan filter is disabled.      return    }  }  if (!%filter_enabled) || ($nick isop $chan) return  var %a = 1, %b = $0  while (%a &lt;= %b) {    if ($readini(%file,badwords,$gettok($1-,%a,32))) {      ; word has been found      msg $chan $nick $+ , please do not talk / ask about that      msg $chan .timeout $nick 5    }    inc %a  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12511">Busi</a> — Fri Mar 27, 2015 9:28 pm</p><hr />
]]></content>
	</entry>
	</feed>
