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

	<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>2009-10-04T13:14:26-04:00</updated>

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

		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2009-10-04T12:35:34-04:00</updated>

		<published>2009-10-04T12:35:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90418#p90418</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90418#p90418"/>
		<title type="html"><![CDATA[Channel greet script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90418#p90418"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code> #don't show greeting if the same user joins twice, thrice etc. if {$lastjoined == $nick} {    return }</code></pre></div>'lastjoined' is never set to anything, except in global-space to "". Maybe you meant to craft this part like it is below?<div class="codebox"><p>Code: </p><pre><code> #don't show greeting if the same user joins twice, thrice etc. if {[string equal -nocase $lastjoined $nick]} {    return } else {    set lastjoined $nick }</code></pre></div>Also...<br>"GreetWonder would be great if it worked, if anyone wanted to make it work with eggdrop1.6."<br><br>Find this procedure: proc greet:init { what idx } {<br><br>Then find the line below:<br>  if {[lsearch -exact "1.1 1.2 1.3 1.4" $greet(bottype)] == -1} {<br><br>Change it to this:<br>  if {[lsearch -exact "1.1 1.2 1.3 1.4 1.6" $greet(bottype)] == -1} {<br><br>1.6 supported now. How hard was that?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun Oct 04, 2009 12:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tueb]]></name></author>
		<updated>2009-10-04T13:14:26-04:00</updated>

		<published>2009-10-04T07:06:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90417#p90417</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90417#p90417"/>
		<title type="html"><![CDATA[Channel greet script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90417#p90417"><![CDATA[
sorry, i missunderstood, what you wanted.<br><br>maybe this will help (untested):<br><div class="codebox"><p>Code: </p><pre><code>#!greet being the command to set greetingsbind pub - !greet tueb_write_greetingbind join - * tueb_on_joined#variablesvariable greetfile "greeting.txt"variable lastjoined ""proc tueb_on_joined {nick host handle channel} {global lastjoined greetfile #don't show greeting if the same user joins twice, thrice etc. if {[string equal -nocase $lastjoined $nick]} {    return } else {    set lastjoined $nick } #see, if greeting.txt exists: if {[file exists $greetfile]&amp;&amp; [file readable $greetfile]} {   #reading out greeting.txt   set fp [open $greetfile "r"]   set data [read -nonewline $fp]   close $fp   #only post, if greeting isnot ""   if {$data != ""} {      #posting greeting      putserv "PRIVMSG $channel :$data"   } }}proc tueb_write_greeting {nick host handle channel text} {global greetfile #only ops can set greeting: if {![isop $nick $channel]} {    #message: not accepted    set showtext "You need to be op to set a new greeting."    return } #writing greeting to greeting.txt, overwriting old greeting: set file [open $greetfile "w"] puts $file $text flush $file close $file #message: accepted set showtext "Set new greeting to: \002$showtext\002" putserv "PRIVMSG $channel :$showtext"}</code></pre></div><br>PS: fixed<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9349">tueb</a> — Sun Oct 04, 2009 7:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ariqs]]></name></author>
		<updated>2009-10-02T19:32:44-04:00</updated>

		<published>2009-10-02T19:32:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90410#p90410</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90410#p90410"/>
		<title type="html"><![CDATA[Channel greet script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90410#p90410"><![CDATA[
It also won't work for me now, and when I went to get help with it, I was told it was programmed very poorly, and that it had huge security issues.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10885">ariqs</a> — Fri Oct 02, 2009 7:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ariqs]]></name></author>
		<updated>2009-10-01T13:04:31-04:00</updated>

		<published>2009-10-01T13:04:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90408#p90408</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90408#p90408"/>
		<title type="html"><![CDATA[Not quite.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90408#p90408"><![CDATA[
It adds the person's nick to the greeting, which isn't what I want.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10885">ariqs</a> — Thu Oct 01, 2009 1:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tueb]]></name></author>
		<updated>2009-10-01T08:41:18-04:00</updated>

		<published>2009-10-01T08:41:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90407#p90407</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90407#p90407"/>
		<title type="html"><![CDATA[Channel greet script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90407#p90407"><![CDATA[
<a href="http://www.egghelp.org/tclhtml/3478-4-0-0-1-TxTGreet.htm" class="postlink">http://www.egghelp.org/tclhtml/3478-4-0 ... TGreet.htm</a> &lt;-- this one is working fine for me. (and does what you asked for)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9349">tueb</a> — Thu Oct 01, 2009 8:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ariqs]]></name></author>
		<updated>2009-10-01T00:34:22-04:00</updated>

		<published>2009-10-01T00:34:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90406#p90406</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90406#p90406"/>
		<title type="html"><![CDATA[Channel greet script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90406#p90406"><![CDATA[
I'm looking for a channel greet script that allows you to change the greeting through irc, and that can be turned off with perhaps some sort of flood protection. I've gone through all the scripts on egghelp, and they either don't meet those criteria, or they don't work with the current version of eggdrop.<br><br>I've tried 18 scripts. GreetWonder would be great if it worked, if anyone wanted to make it work with eggdrop1.6.  I'm somewhat shocked there is no working script that meet the criteria.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10885">ariqs</a> — Thu Oct 01, 2009 12:34 am</p><hr />
]]></content>
	</entry>
	</feed>
