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

	<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>2008-12-03T09:48:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[roughnecks]]></name></author>
		<updated>2008-12-03T09:48:55-04:00</updated>

		<published>2008-12-03T09:48:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86056#p86056</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86056#p86056"/>
		<title type="html"><![CDATA[[SOLVED] was: Insulter.tcl bug]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86056#p86056"><![CDATA[
ok what can i say ?<br>It seems just to be working !!!!!<br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"> <br><br>Very very happy...good job !<br>Thanks again!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10207">roughnecks</a> — Wed Dec 03, 2008 9:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[roughnecks]]></name></author>
		<updated>2008-12-03T09:33:44-04:00</updated>

		<published>2008-12-03T09:33:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86055#p86055</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86055#p86055"/>
		<title type="html"><![CDATA[Insulter.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86055#p86055"><![CDATA[
going to test .. thank U !<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10207">roughnecks</a> — Wed Dec 03, 2008 9:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2008-12-03T08:57:08-04:00</updated>

		<published>2008-12-03T08:57:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86053#p86053</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86053#p86053"/>
		<title type="html"><![CDATA[Re: Insulter.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86053#p86053"><![CDATA[
This should prevent insulting of people not on the channel, the bot and any owner (not tested):<div class="codebox"><p>Code: </p><pre><code>proc insulta {nick uhost hand chan arg} {if {[isop $nick $chan]} {if {[scan $arg %s lamer]==1} {if {![onchan $lamer $chan]} {# $lamer is not on $chan...puthelp "PRIVMSG $chan :\"$lamer\"?"} else {global insultiset insult [lindex $insulti [rand [llength $insulti]]]if {[isbotnick $lamer]||[matchattr [nick2hand $lamer] n]} {puthelp "PRIVMSG $chan :$nick, mi credi come te? (scemo)" puthelp "PRIVMSG $chan :12Insult revenge -&gt; $nick: $insult"} else {puthelp "PRIVMSG $chan :$lamer: $insult"}}} else {puthelp "PRIVMSG $chan :$nick, chi devo fanculizzare?"}} else {puthelp "NOTICE $nick :Questo comando è accessibile solo agli op del canale!" puthelp "PRIVMSG $chan :$nick, you're lame!"}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Dec 03, 2008 8:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[roughnecks]]></name></author>
		<updated>2008-12-03T06:22:30-04:00</updated>

		<published>2008-12-03T06:22:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86051#p86051</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86051#p86051"/>
		<title type="html"><![CDATA[Insulter.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86051#p86051"><![CDATA[
Hi guys, i'm going to make a request..if anybody can help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I'm using the script in the subject, but have this problem: the bot gets pwned by users who simply !insult non-existent nick or insulting the bot adding a character to its nickname : for example. let's say the botnick is "roger", you can simply do a !insult Roger, or !insult roger: and you get a bot insulting itself <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>Because i'm not able to modify the tcl by myself, i was asking if anybody can help me.<br><br>Hoping it's not a problem for you, i'm going to insert the code.<br>Thank so much !<br><div class="codebox"><p>Code: </p><pre><code>##################################################################                            Insulter##                Per insultare con parole random####            Written by IRC Club Staff (SerialCRACK)##################################################################### BINDSbind pub - !insulta insultabind pub - !insulter ad### SETSset insulti { {Stronzo} {Strunz} {Testa di cazzo} {Vaffanculo} {Fanculo} {Deficiente} {[censored]} {Lamer} {Ma per vedere la tua faccia ti guardi dietro?? (Chi ha capito ha capito, chi non ha capito... è come te!)} {Il classico tipo che va al cesso ed è fiero dello stronzo che fa} {Se avessimo voluto uno stronzo in canale, avremmo fatto scorta di lassativi} {Fossi in te, quando uso il pc non permetterei ai miei genitali di chattare}}### PROCSproc insulta {nick host hand chan arg} {global insulti botnick ownerif {[isop $nick $chan]==0} {putserv "NOTICE $nick :Questo comando è accessibile solo agli op del canale!"putserv "PRIVMSG $chan :$nick, you're lame!"} else {set lamer [lindex $arg 0]set word [lindex $insulti [rand [llength $insulti]]]if {($lamer == $botnick) || ($lamer == $owner)} {putserv "PRIVMSG $chan :$nick, mi credi come te? (scemo)"putserv "PRIVMSG $chan :12Insult revenge -&gt; $nick: $word"return 0}if {$lamer == ""} {putserv "PRIVMSG $chan :$nick, chi devo fanculizzare?"} else {putserv "PRIVMSG $chan :$lamer: $word"putlog "* Insulter - $nick ha insultato $lamer ('$word')"}}}proc ad {nick host hand chan arg} {putserv "PRIVMSG $chan :Insulter TCL was created by IRC Club Staff - http://irc-club.6go.net"}putlog "TCL Script: Insulter v1.0 created by IRC Club Staff - http://irc-club.6go.net"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10207">roughnecks</a> — Wed Dec 03, 2008 6:22 am</p><hr />
]]></content>
	</entry>
	</feed>
