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

	<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-03-25T11:44:07-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-03-04T10:53:05-04:00</updated>

		<published>2007-03-04T10:53:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70973#p70973</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70973#p70973"/>
		<title type="html"><![CDATA[Help with a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70973#p70973"><![CDATA[
Didn't notice the 2nd feature. I edited the code above; look at it, it's not hard at all so you should learn how to do it yourself now.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Mar 04, 2007 10:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Torrevado]]></name></author>
		<updated>2007-03-25T11:44:07-04:00</updated>

		<published>2007-03-04T10:13:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70972#p70972</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70972#p70972"/>
		<title type="html"><![CDATA[Re: Help with a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70972#p70972"><![CDATA[
First request works correctly (botnick)<br><br>I guess it's not easy to add the second one <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8047">Torrevado</a> — Sun Mar 04, 2007 10:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-03-04T10:51:50-04:00</updated>

		<published>2007-03-03T22:58:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70953#p70953</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70953#p70953"/>
		<title type="html"><![CDATA[Help with a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70953#p70953"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !kiss kissproc kiss {nick uhost hand chan arg} {if {[lsearch {#channel } $chan] == -1} return global afkiss if {![onchan $nick $chan]} {return 0} if {![info exists afkiss([set nickchan [string tolower $nick:$chan]])]} {  set afkiss($nickchan) [list [unixtime] 0] } foreach {t o} $afkiss($nickchan) {break} if {[unixtime]-$t &gt; 120} { set t [unixtime]; set o 0 } if {[incr o] &gt; 5} { return 0 } set afkiss($nickchan) [list $t $o] if {[onchan [set kissed [lindex [split $arg] 0]] $chan]} {  if {[isbotnick $kissed]} {   puthelp "privmsg $chan :&lt;kissed botnick&gt;"  } elseif {[string equal -nocase $nick $kissed]} {   puthelp "privmsg $chan :&lt;kissed himself&gt;"  } {   puthelp "privmsg $chan :\00306$nick kisses $kissed\003 :o"  } }}</code></pre></div>Edit: Added other feature (self-kissing).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Mar 03, 2007 10:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Torrevado]]></name></author>
		<updated>2007-03-03T17:10:29-04:00</updated>

		<published>2007-03-03T17:10:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70947#p70947</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70947#p70947"/>
		<title type="html"><![CDATA[Help with a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70947#p70947"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !kiss kissproc kiss {nick uhost hand chan arg} {if {[lsearch {#channel } $chan] == -1} return global afkiss if {![onchan $nick $chan]} {return 0} if {![info exists afkiss([set nickchan [string tolower $nick:$chan]])]} {  set afkiss($nickchan) [list [unixtime] 0] } foreach {t o} $afkiss($nickchan) {break} if {[unixtime]-$t &gt; 120} { set t [unixtime]; set o 0 } if {[incr o] &gt; 5} { return 0 } set afkiss($nickchan) [list $t $o] if {[onchan [set kissed [lindex [split $arg] 0]] $chan]} {  putserv "privmsg $chan :\00306$nick kisses $kissed\003 :o" }}</code></pre></div>I'd like that if someone use <span style="color:red">botnick</span>, eggdrop will respond an alternative message<br><br>I'd like (if it's possible) the same thing to users  asking for themselves<br><br>Note: this is  Sir_Fiz's <span style="color:green">rock script</span> (modified) <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8047">Torrevado</a> — Sat Mar 03, 2007 5:10 pm</p><hr />
]]></content>
	</entry>
	</feed>
