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

	<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-11T22:20:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[romeo5k]]></name></author>
		<updated>2007-06-11T22:20:17-04:00</updated>

		<published>2007-06-11T22:20:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73458#p73458</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73458#p73458"/>
		<title type="html"><![CDATA[Slap Attacks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73458#p73458"><![CDATA[
got a new problem, <div class="codebox"><p>Code: </p><pre><code>bind pub - !slap slap:target   proc slap:target {nick uhost hand chan arg} {       set target "[lindex [split $arg] 0]"         putserv "PRIVMSG $chan :\001ACTION slaps $target around a bit with a larger trout\001"     puthelp "PRIVMSG $chan :\001ACTION slaps $target around a bit with the remains of a big Smelly Trout!\001"}</code></pre></div>when i say, !slap boodah  &lt;--(NICK)<br> it displays both slaps  one after another. So if i was to add 10 more variety slaps, it would display all 10 back to back. Where is my error now. ?? dang, im feeeling real dumb now.!<br><br>edit**  Would it be better for me to just ask someone to just crate me a script rather than trying to edit and add to someone elses, beeing that im not a pro at it yet. Cause i dont wanna fustrate anyone with my ignorance.<br> If anyone does wanna just create one from scratch , please feel free, i posted the things i would like on it is possible.<br>Just a slapp script so i can add other slaps and an if command incase a dummy wants to play with bot and have the bot slap him self, bot slaps him/her. thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8025">romeo5k</a> — Mon Jun 11, 2007 10:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-06-11T19:21:15-04:00</updated>

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

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73450#p73450"><![CDATA[
You probably would like to test $target using the isbotnick function (documented in doc/tcl-commands.doc)<br>Use with <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/if.htm" class="postlink">if/elseif/else</a>-constructs to determine what your bot should do.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Jun 11, 2007 7:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[romeo5k]]></name></author>
		<updated>2007-06-11T19:16:56-04:00</updated>

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

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73449#p73449"><![CDATA[
ok.. i did that, and it seems to work okay so far, but i just had a noob come into the channel, and he just did something i can see me having a prob with He does  !slap BOTNICK <br> and bot continuosly slaps himself.<br> If im not mistaken, is there a way to use the IF, Else commands to tell it  is someone says !slap BOTNICK, ignore it, or  if they do that, slap that individual for being stoopid.. Something like that!<br> Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8025">romeo5k</a> — Mon Jun 11, 2007 7:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-06-11T18:40:36-04:00</updated>

		<published>2007-06-11T18:40:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73445#p73445</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73445#p73445"/>
		<title type="html"><![CDATA[Slap Attacks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73445#p73445"><![CDATA[
It would seem you're missing a puthelp/putserv command on the second ctcp-action message. Also, it would be advisable to use puthelp rather than putserv in this case (both will work, however).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Jun 11, 2007 6:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[romeo5k]]></name></author>
		<updated>2007-06-11T18:31:43-04:00</updated>

		<published>2007-06-11T18:31:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73443#p73443</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73443#p73443"/>
		<title type="html"><![CDATA[Slap Attacks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73443#p73443"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !slap slap:targetproc slap:target {nick uhost hand chan arg} { set target "[lindex [split $arg] 0]"putserv "PRIVMSG $chan :\001ACTION slaps $target around a bit with a larger trout\001"  "PRIVMSG $chan :\001ACTION slaps $target around a bit with the remains of a big Smelly Trout!\001"}</code></pre></div>I must be writing this wrong.. i took the one u posted on here... and im just trying to add more comments to em  so i have a variet, but its not reading. Im sure its on my end, but i cant gfigure how and why... Somone pls help!<br><br>ref: <a href="http://forum.egghelp.org/viewtopic.php?t=5784" class="postlink">http://forum.egghelp.org/viewtopic.php?t=5784</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8025">romeo5k</a> — Mon Jun 11, 2007 6:31 pm</p><hr />
]]></content>
	</entry>
	</feed>
