<?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/3152" />

	<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>2002-12-02T11:10:28-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2002-12-02T11:10:28-04:00</updated>

		<published>2002-12-02T11:10:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13879#p13879</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13879#p13879"/>
		<title type="html"><![CDATA[How to make a warn script to a 2x warn + time kickban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13879#p13879"><![CDATA[
read the tcl-command.doc document in your eggdrop first, then make a little code... or try to <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">, then I'll give you a few pointers if you are stuck <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Mon Dec 02, 2002 11:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-12-02T07:54:00-04:00</updated>

		<published>2002-12-02T07:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13876#p13876</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13876#p13876"/>
		<title type="html"><![CDATA[How to make a warn script to a 2x warn + time kickban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13876#p13876"><![CDATA[
Hi Papillon, i think adding someone to my userlist would be the best way, however i have no idea how to program it like that. I'm quite new to this material and am trying to create someting that warns twice with different messages and than kicks/bans. But i want the ban time to be variable.<br><br>Could you show how i have to do this?<br><br>Thanks in advance<p>Statistics: Posted by Guest — Mon Dec 02, 2002 7:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2002-12-02T06:02:46-04:00</updated>

		<published>2002-12-02T06:02:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13871#p13871</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13871#p13871"/>
		<title type="html"><![CDATA[How to make a warn script to a 2x warn + time kickban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13871#p13871"><![CDATA[
there are many ways to do this, one is to make 2 lists, putting the nick of the one who said the bad word first in the #1 list, then in the next and finally do the kick if he is already in both lists.<br>Another way to do it is to use the XTRA field of the user, of course this means that you have to add the user to your userlist, so if you have a busy channel this might be a bad solution <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Mon Dec 02, 2002 6:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-12-01T19:45:23-04:00</updated>

		<published>2002-12-01T19:45:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13859#p13859</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13859#p13859"/>
		<title type="html"><![CDATA[How to make a warn script to a 2x warn + time kickban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13859#p13859"><![CDATA[
I've been puzzled and have been trying to look to other scripts how to get this done... I've got a small badword script dat detects words propper but i've got no clue how i can make this script work so it first will give off 2 warning (also mentioning the nr of warnings) and than the 3rd time kick and ban someone from a channel. Can anyone help me....<br><br>set badword { <br>badword1 <br>badword2 <br>} <br>bind pubm - * checkword <br>proc checkword {nick uhost handle chan text} { <br>global badword <br>if (![matchattr $nick +o]) { <br>  foreach n $badword { <br>   if ([string match $n [string tolower $text]]) { <br>    putlog "$nick said bad word in $chan - $n" <br>    putkick $chan $nick "1st bad word,please don`t use it" <br>    return 0 <br>   } <br>  } <br>} <br>}<p>Statistics: Posted by Guest — Sun Dec 01, 2002 7:45 pm</p><hr />
]]></content>
	</entry>
	</feed>
