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

	<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>2007-06-20T10:06:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[romeo5k]]></name></author>
		<updated>2007-06-18T22:48:48-04:00</updated>

		<published>2007-06-18T22:48:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73663#p73663</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73663#p73663"/>
		<title type="html"><![CDATA[Slap Attacks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73663#p73663"><![CDATA[
PERFECT.... WOOT ur the best.....  /me kisses u on the cheek for this...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8025">romeo5k</a> — Mon Jun 18, 2007 10:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-06-18T21:56:31-04:00</updated>

		<published>2007-06-18T21:56:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73662#p73662</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73662#p73662"/>
		<title type="html"><![CDATA[Slap Attacks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73662#p73662"><![CDATA[
I've edited the code above to make it slap the nick if he types !slap botnick.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Jun 18, 2007 9:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[romeo5k]]></name></author>
		<updated>2007-06-16T13:50:34-04:00</updated>

		<published>2007-06-16T13:50:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73593#p73593</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73593#p73593"/>
		<title type="html"><![CDATA[Slap Attacks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73593#p73593"><![CDATA[
<blockquote class="uncited"><div>I guess the slap-back request has been done <a href="http://forum.egghelp.org/viewtopic.php?t=13606" class="postlink">here</a>. So to complete it with a public command to slap:<div class="codebox"><p>Code: </p><pre><code>set actReplies { "around..." "right back.." "over the head with an dead cat.."}bind ctcp - ACTION slap:backbind pub f|f !slap slap:nickproc slap:back {nick uhost hand chan kw arg} { global botnick actReplies if {![validchan $chan]} {return 0} if {[string match "slaps $botnick around a bit with a large trout" $arg]} {  puthelp "privmsg $chan :\001ACTION slaps $nick [lindex $actReplies [rand [llength $actReplies]]]\001" }}proc slap:nick {nick uhost hand chan arg} { global actReplies set n [lindex [split $arg] 0] if {[onchan $n $chan]} {  puthelp "privmsg $chan :\001ACTION slaps $n [lindex $actReplies [rand [llength $actReplies]]]\001" }}</code></pre></div>So +f users can use !slap &lt;nick&gt; public command which will slap &lt;nick&gt; with one of the $actReplies actions.</div></blockquote><br>For some reason it slapped itself....  is there some quotation missing somewhere.. i addeded to  quotes to "[lindex [split $arg] 0]"<br> But when i hit slap bot, bot  stoopidly slaps itself..!!<br> whats wrong?<br><span style="color:red">EDIT***</span><br> I just tried adding this to the bottom, for the bot to slap the individual if they do !slap BOTNICK<div class="codebox"><p>Code: </p><pre><code>proc slap:reject {nick uhost hand chan kw arg} { global botnick actReplies if {![validchan $chan]} {return 0} if {[string match "!slap $botnick" $arg]} {  puthelp "privmsg $chan :\001ACTION slaps $nick [lindex $actReplies [rand [llength $actReplies]]]\001" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8025">romeo5k</a> — Sat Jun 16, 2007 1:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Domin]]></name></author>
		<updated>2007-06-16T05:42:11-04:00</updated>

		<published>2007-06-16T05:42:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73585#p73585</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73585#p73585"/>
		<title type="html"><![CDATA[Slap Attacks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73585#p73585"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>Thank You.!!!<br> I love you very much!</div></blockquote>Careful there, or Juliet5k will get jealous <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"></div></blockquote>lol  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7855">Domin</a> — Sat Jun 16, 2007 5:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-06-15T19:16:10-04:00</updated>

		<published>2007-06-15T19:16:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73574#p73574</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73574#p73574"/>
		<title type="html"><![CDATA[Slap Attacks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73574#p73574"><![CDATA[
<blockquote class="uncited"><div>Thank You.!!!<br> I love you very much!</div></blockquote>Careful there, or Juliet5k will get jealous <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jun 15, 2007 7:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[romeo5k]]></name></author>
		<updated>2007-06-15T17:59:56-04:00</updated>

		<published>2007-06-15T17:59:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73573#p73573</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73573#p73573"/>
		<title type="html"><![CDATA[Slap Attacks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73573#p73573"><![CDATA[
Thank You.!!!<br> I love you very much!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8025">romeo5k</a> — Fri Jun 15, 2007 5:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-06-20T10:06:57-04:00</updated>

		<published>2007-06-15T11:31:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73572#p73572</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73572#p73572"/>
		<title type="html"><![CDATA[Slap Attacks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73572#p73572"><![CDATA[
I guess the slap-back request has been done <a href="http://forum.egghelp.org/viewtopic.php?t=13606" class="postlink">here</a>. So to complete it with a public command to slap:<div class="codebox"><p>Code: </p><pre><code>set actReplies { "around..." "right back.." "over the head with an dead cat.."}bind ctcp - ACTION slap:backbind pub f|f !slap slap:nickproc slap:back {nick uhost hand chan kw arg} { global botnick actReplies if {![validchan $chan]} {return 0} if {[string match "slaps $botnick around a bit with a large trout" $arg]} {  puthelp "privmsg $chan :\001ACTION slaps $nick [lindex $actReplies [rand [llength $actReplies]]]\001" }}proc slap:nick {nick uhost hand chan arg} { global actReplies if {[isbotnick [set n [lindex [split $arg] 0]]]} {set n $nick} if {[onchan $n $chan]} {  puthelp "privmsg $chan :\001ACTION slaps $n [lindex $actReplies [rand [llength $actReplies]]]\001" }}</code></pre></div>So +f users can use !slap &lt;nick&gt; public command which will slap &lt;nick&gt; with one of the $actReplies actions.<br><br>Edit: Bot will slap nick if he !slap botnick<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jun 15, 2007 11:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[romeo5k]]></name></author>
		<updated>2007-06-13T14:54:24-04:00</updated>

		<published>2007-06-13T14:54:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73533#p73533</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73533#p73533"/>
		<title type="html"><![CDATA[Slap Attacks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73533#p73533"><![CDATA[
ive looked everywhere, and ive tried everything, and out of the 16 items that came up in archieve none had what im looking for. They had somewhat something, but not quite. I tried editing ppls code to see if i can make it work , but no it doesnt.<br><br><a href="http://forum.egghelp.org/viewtopic.php?p=73458#73458" class="postlink">http://forum.egghelp.org/viewtopic.php?p=73458#73458</a><br><br> i tried all i could and things wouldnt act right. Would someone, anyone be kind to write one for me?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8025">romeo5k</a> — Wed Jun 13, 2007 2:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-06-10T20:49:55-04:00</updated>

		<published>2007-06-10T20:49:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73402#p73402</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73402#p73402"/>
		<title type="html"><![CDATA[Slap Attacks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73402#p73402"><![CDATA[
Look in the archive, plenty of "action" scripts to use as examples.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Jun 10, 2007 8:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[romeo5k]]></name></author>
		<updated>2007-06-10T15:43:05-04:00</updated>

		<published>2007-06-10T15:43:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73396#p73396</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73396#p73396"/>
		<title type="html"><![CDATA[Slap Attacks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73396#p73396"><![CDATA[
<a href="http://img129.imageshack.us/my.php?image=untitled1sh0.gif" class="postlink"><img src="http://img129.imageshack.us/img129/658/untitled1sh0.th.gif" class="postimage" alt="Image"></a><br><br> Here is the deal. I looked all over for this, and its yet to be found. I was gonna try to create it my self, but im still noobish, i can do lil basic things but not technical.<br> Well, for one, the way u tell the bot to slap someone, and it slaps that person, i like that. I dont know where they got the script from, or who made it, but i like it. Can someone make something like that please. Or if already made somewhere, can someone direct me there. I can add my own kick msgs.<br> Second, im yet to see this on an eggdrop and dont know if its possible, but i slapped this person, after that he slapped me back. Do we have a tcl for that?? Can it be created. I have the mrc the guy is using for himself, but i dont know how to convert mrc to tcl. The code below is the mrc that he is using  I replaced his name with mine....   Is this all possible to make a tcl.? <br><div class="codebox"><p>Code: </p><pre><code>on *:action:*slaps*Romeo5k*:#: {   describe $chan $read slap.txt | halt }  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8025">romeo5k</a> — Sun Jun 10, 2007 3:43 pm</p><hr />
]]></content>
	</entry>
	</feed>
