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

	<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>2006-11-26T14:01:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[reddy]]></name></author>
		<updated>2006-11-26T14:01:24-04:00</updated>

		<published>2006-11-26T14:01:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68492#p68492</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68492#p68492"/>
		<title type="html"><![CDATA[How to join an invite channel?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68492#p68492"><![CDATA[
Thanks! Will do, i've book marked this, so ill keep replying to it!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8428">reddy</a> — Sun Nov 26, 2006 2:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-11-26T13:14:04-04:00</updated>

		<published>2006-11-26T13:14:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68489#p68489</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68489#p68489"/>
		<title type="html"><![CDATA[How to join an invite channel?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68489#p68489"><![CDATA[
Actually, should you combine those two scripts, you'd have pretty much all you need. (Or well, the privmsg in the second script is slightly flawed, as you need to prepend the message with a ":", just as with any privmsg)<br><br>Although this would fit better in "Script Help"; here we go..<br>First scriptlet shows you how to create the binding that'll trigger the script and how the proc (function) will be called.<br>Second one shows what you actually want that proc todo.<br>Try and combine them..<br><br>Rome was'nt built in a day, so keep going <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun Nov 26, 2006 1:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[reddy]]></name></author>
		<updated>2006-11-26T13:05:10-04:00</updated>

		<published>2006-11-26T13:05:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68488#p68488</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68488#p68488"/>
		<title type="html"><![CDATA[How to join an invite channel?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68488#p68488"><![CDATA[
<blockquote class="uncited"><div>Either use "bind need" or check the need-invite channel setting;<br>Either allows you to trigger a piece of tcl-code to be executed when your eggdrop recieves the need-invite errorcode.<br><br>Might very well be a few such scripts in the <a href="http://www.egghelp.org/tcl.htm" class="postlink">Tcl Archive</a>. If not, should'nt be too hard to implement, and makes nice practise in tcl coding</div></blockquote>I've searched the archive, and its heavy duty stuff! Im getting errors when i try run the taylored scripts - Its a bit overkill imo... there has to be an easier way to do it - heres a <strong class="text-strong">small</strong> snippet of a script i got which is WAAAY too much detail<br><blockquote class="uncited"><div>bind need - "% invite" need:invite<br><br>proc need:invite {chan type} {<br> global botnick needinvitetype needinvitechans<br>  if {($needinvitetype == 1) &amp;&amp; ([lsearch -exact [split [string tolower $needinvitechans]] [string tolower $chan]] != -1)} { needinvite:chans $chan $type }<br>  if {($needinvitetype == 2)} { needinvite:chans $chan $type }<br>  if {($needinvitetype != 1) &amp;&amp; ($needinvitetype != 2) || ($needinvitetype == 0)} { return 0 }<br>}</div></blockquote><br>I know this does something totally different, but can it be done like<br><blockquote class="uncited"><div>bind pub - !joinInvite pub_joinInvite<br>proc pub_joinInvite {nick host hand chan lang text} {<br>    putserv "PRIVMSG Q Invite #CHANNEL"<br>    putserv "join #CHANNEL"<br>} </div></blockquote>Im only coding TCL a day now, so as much detail as possible would be great<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8428">reddy</a> — Sun Nov 26, 2006 1:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-11-26T12:41:27-04:00</updated>

		<published>2006-11-26T12:41:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68487#p68487</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68487#p68487"/>
		<title type="html"><![CDATA[How to join an invite channel?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68487#p68487"><![CDATA[
Either use "bind need" or check the need-invite channel setting;<br>Either allows you to trigger a piece of tcl-code to be executed when your eggdrop recieves the need-invite errorcode.<br><br>Might very well be a few such scripts in the <a href="http://www.egghelp.org/tcl.htm" class="postlink">Tcl Archive</a>. If not, should'nt be too hard to implement, and makes nice practise in tcl coding<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun Nov 26, 2006 12:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[reddy]]></name></author>
		<updated>2006-11-26T12:30:26-04:00</updated>

		<published>2006-11-26T12:30:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68486#p68486</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68486#p68486"/>
		<title type="html"><![CDATA[How to join an invite channel?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68486#p68486"><![CDATA[
Hey, i have a bot that needs to join private channels, via a Q auth and self invite.<br><br>I have the Q auth, how can i go about getting my bot into the private channels? <br><br>the irc commands would be /msg q invite #channel then /j channel<br><br>is it in the partyline or bot config or should i do a script? Im new to TCL and bots n stuff, but im having fun learning!!<br><br>Thanks<br><br>reddy<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8428">reddy</a> — Sun Nov 26, 2006 12:30 pm</p><hr />
]]></content>
	</entry>
	</feed>
