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

	<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-18T18:52:37-04:00</updated>

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

		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2009-10-18T18:52:37-04:00</updated>

		<published>2009-10-18T18:52:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90553#p90553</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90553#p90553"/>
		<title type="html"><![CDATA[Join/changenick script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90553#p90553"><![CDATA[
That is because join has only 4 arguments passed nick, host, handle and channel. Yet you've included text making it 5. Joins do not pass this additional argument for text. Simply change it to look as it does below:<div class="codebox"><p>Code: </p><pre><code>bind join - #chan2 msg:chanjoinproc msg:chanjoin {nick host handle chan} {        putserv "PRIVMSG $chan :Hey, $nick! Welcome."}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun Oct 18, 2009 6:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[JKM]]></name></author>
		<updated>2009-10-18T18:49:35-04:00</updated>

		<published>2009-10-18T18:49:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90552#p90552</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90552#p90552"/>
		<title type="html"><![CDATA[Join/changenick script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90552#p90552"><![CDATA[
Thanks, but this one doesn't work either:<div class="codebox"><p>Code: </p><pre><code>bind join - #chan2 msg:chanjoin proc msg:chanjoin {nick host handle chan text} {        putserv "PRIVMSG $chan :Hey, $nick! Welcome."}</code></pre></div>(Just a welcome message to everyone that joins)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10344">JKM</a> — Sun Oct 18, 2009 6:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2009-10-18T17:31:54-04:00</updated>

		<published>2009-10-18T17:31:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90549#p90549</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90549#p90549"/>
		<title type="html"><![CDATA[Join/changenick script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90549#p90549"><![CDATA[
tagChans = list of channels to care about<br>tagTag = tag we are checking for<br><div class="codebox"><p>Code: </p><pre><code>set tagChans "#chan1 #chan2 #etc"set tagTag "TAG|"bind join - "% $tagTag*" voice:userbind nick - "% $tagTag*" voice:userbind nick - * devoice:userbind join - #chan2 msg:chanjoinproc voice:user {nick uhost hand chan {nn ""}} { if {$nn == ""} {set nn $nick} if {[lsearch -exact [split [string tolower $::tagChans]] [string tolower $chan]] != -1 &amp;&amp; ![isvoice $nn $chan]} {  pushmode $chan +v $nn }}proc devoice:user {nick uhost hand chan nn} { if {[lsearch -exact [split [string tolower $::tagChans]] [string tolower $chan]] != -1 &amp;&amp; ![string match -nocase $::tagTag* $nn] &amp;&amp;[isvoice $nn $chan]} {  pushmode $chan -v $nn }}proc msg:gsjoin {nick host handle chan text} {        putserv "PRIVMSG $chan :Hey, $nick! Welcome."}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun Oct 18, 2009 5:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[JKM]]></name></author>
		<updated>2009-10-18T15:24:29-04:00</updated>

		<published>2009-10-18T15:24:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90547#p90547</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90547#p90547"/>
		<title type="html"><![CDATA[Join/changenick script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90547#p90547"><![CDATA[
Neither of these scripts are working, and I'm wondering what's wrong.<div class="codebox"><p>Code: </p><pre><code>set tagChans "#chan"bind join - {% TAG|*} voice:userbind nick - {% TAG|*} voice:userbind nick - * devoice:userbind join - #chan2 msg:chanjoinproc voice:user {nick uhost hand chan {nn ""}} { if {$nn == ""} {set nn $nick} if {[lsearch -exact [split [string tolower #chan]] [string tolower $chan]] != -1 &amp;&amp; ![isvoice $nn $chan]} {  pushmode $chan +v $nn }}proc devoice:user {nick uhost hand chan nn} { if {[lsearch -exact [split [string tolower #chan]] [string tolower $chan]] != -1 &amp;&amp; ![string match -nocase tag|* $nn] &amp;&amp;[isvoice $nn $chan]} {  pushmode $chan -v $nn }}proc msg:gsjoin {nick host handle chan text} {        putserv "PRIVMSG $chan :Hey, $nick! Welcome."}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10344">JKM</a> — Sun Oct 18, 2009 3:24 pm</p><hr />
]]></content>
	</entry>
	</feed>
