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

	<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-22T06:46:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[soraver]]></name></author>
		<updated>2006-11-22T06:46:22-04:00</updated>

		<published>2006-11-22T06:46:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68329#p68329</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68329#p68329"/>
		<title type="html"><![CDATA[+S mode on linknet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68329#p68329"><![CDATA[
anyway, <br>i tried to code a tcl script for checking and forcing +S mode based on this one: <a href="http://forum.egghelp.org/viewtopic.php?p=22738#22738" class="postlink">http://forum.egghelp.org/viewtopic.php?p=22738#22738</a><br><br>I got bored of it not working and of my non-existant programming skills so here it is for everybody who wants to do the same thing... I'm off it now...<br>Just posting it to help others, i dont expect any debugging at all.<br><div class="codebox"><p>Code: </p><pre><code>set ssl_timer 60set chanlistS  "#chan1 #chan2"timer $ssl_timer ssl_testproc ssl_test {} {  global chanlistS ssl_timer chanmodes  foreach chan $chanlistS {    if {[botisop $chan]} {      if {[string match *S* $chanmodes($chan)] == "0"} {        pushmode $chan +S        flushmode $chan        putlog "SSL: set +S on $chan"      }    }  }  timer $ssl_timer ssl_test}bind dcc n sslstart ssl_startproc ssl_start {nick uhost arg} {  global ssl_timer  timer $ssl_timer ssl_test}putlog "LinkNet +S mode support added"bind dcc n sslstart2 ssl_start2proc ssl_start2 {nick uhost arg} { ssl_test}bind raw - 324 testmodesproc testmodes {from key arg} {  global chanmodes  list $arg  set chan [lindex $arg 1]  set modes [lindex $arg 2]  set chanmodes($chan) $modes}bind raw - MODE changemodesproc changemodes {from key arg} {  global chanmodes  list $arg  set chan [lindex $arg 0]  set modes [lindex $arg 1]  if {$chanmodes($chan)} {    set chanmodes($chan) [replacemodes $chanmodes($chan) $modes]  } else {    set chanmodes($chan) [replacemodes [getchanmode $chan] $modes]  }}proc replacemodes {oldmodes newmodes} {  set newmodes [string trim [string trim $newmodes o] v]  set all [string length $newmodes]  set plus [string first + $newmodes]  set plusl [string last + $newmodes]  set minus [string first - $newmodes]  set minusl [string last - $newmodes]  set outmodes $oldmodes  if {$all &gt; 1} {    if {$plus==0 &amp;&amp; $minus&gt;0} {      set x 1      while {$x&lt;$minus} {        append outmodes [string index $newmodes $x ]        incr x      }      set x [expr $minus + 1]      while {$x&lt;=$all} {        set outmodes [string trim $newmodes $x]        incr x      }    } elseif {$minus==0 &amp;&amp; $plus&gt;0} {      set x 1      while {$x&lt;$plus} {        append outmodes [string index $newmodes $x ]        incr x      }      set x [expr $plus + 1]      while {$x&lt;=$all} {        set outmodes [string trim $newmodes $x]        incr x      }    } elseif {$plus==0 &amp;&amp; $minus==-1} {      append outmodes $plusl    } elseif {$minus==0 &amp;&amp; $plus==-1} {      set x 1      while {$x&lt;=$all} {        set outmodes [string trim $newmodes $x]        incr x      }    } else { putlog "something smells dirty... have u farted at the channel modes?" }  } else { putlog "something smells dirty... have u farted at the channel modes?" }  return $outmodes}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6652">soraver</a> — Wed Nov 22, 2006 6:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2006-11-16T06:04:46-04:00</updated>

		<published>2006-11-16T06:04:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68110#p68110</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68110#p68110"/>
		<title type="html"><![CDATA[+S mode on linknet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68110#p68110"><![CDATA[
in eggdrop, there is only one feasible way of handling non-standard irc modes - with [bind raw] scripts, and such samples have already been provided on these forums - search for "hardcoded modes", "bind raw", "proc foo"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Nov 16, 2006 6:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[soraver]]></name></author>
		<updated>2006-11-15T08:47:37-04:00</updated>

		<published>2006-11-15T08:47:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68071#p68071</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68071#p68071"/>
		<title type="html"><![CDATA[+S mode on linknet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68071#p68071"><![CDATA[
thats a good idea i sent him a pm....<br>i hope he'll see it... :s<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6652">soraver</a> — Wed Nov 15, 2006 8:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-11-15T08:16:34-04:00</updated>

		<published>2006-11-15T08:16:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68069#p68069</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68069#p68069"/>
		<title type="html"><![CDATA[+S mode on linknet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68069#p68069"><![CDATA[
Try looking at dollar's details as there might be a contact address.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed Nov 15, 2006 8:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[soraver]]></name></author>
		<updated>2006-11-15T07:57:28-04:00</updated>

		<published>2006-11-15T07:57:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68068#p68068</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68068#p68068"/>
		<title type="html"><![CDATA[+S mode on linknet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68068#p68068"><![CDATA[
thanks for the fast reply,<br>i did google it... a lot!<br><br>try yourself if u believe i didnt...<br><br>i asked here because its the only place i found a good solution... and because dollar might still be around.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6652">soraver</a> — Wed Nov 15, 2006 7:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-11-14T19:51:51-04:00</updated>

		<published>2006-11-14T19:51:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68057#p68057</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68057#p68057"/>
		<title type="html"><![CDATA[+S mode on linknet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68057#p68057"><![CDATA[
<blockquote class="uncited"><div>so, where can i find this linknet+s.diff?<br>there's a 404 there, and eggdrop still doesnt support the +S mode :S</div></blockquote>Look at the date on that post? You expect after two years it would still be valid?<br><br>Try <a href="http://www.google.com" class="postlink">Google</a>?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Nov 14, 2006 7:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[soraver]]></name></author>
		<updated>2006-11-14T16:12:31-04:00</updated>

		<published>2006-11-14T16:12:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68053#p68053</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68053#p68053"/>
		<title type="html"><![CDATA[+S mode on linknet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68053#p68053"><![CDATA[
so, where can i find this linknet+s.diff?<br>there's a 404 there, and eggdrop still doesnt support the +S mode :S<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6652">soraver</a> — Tue Nov 14, 2006 4:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-09-12T02:32:01-04:00</updated>

		<published>2004-09-12T02:32:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40847#p40847</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40847#p40847"/>
		<title type="html"><![CDATA[+S mode on linknet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40847#p40847"><![CDATA[
Try this patch hankey, should work (this only adds the mode S to eggdrop, nothing else):<br><a href="http://nullrouted.biz/linknet+S.diff" class="postlink">http://nullrouted.biz/linknet+S.diff</a><br>For information on how to apply this patch to your bot read <a href="http://www.eggheads.org/support/egghtml/1.6.17/patch-howto.html" class="postlink">this</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Sun Sep 12, 2004 2:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-09-10T19:17:13-04:00</updated>

		<published>2004-09-10T19:17:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40820#p40820</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40820#p40820"/>
		<title type="html"><![CDATA[+S mode on linknet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40820#p40820"><![CDATA[
heh, well... I DO connect to port 7000! And it still won't connect. (Linknet)  Is there anything else you know of that will stop me from connecting?<p>Statistics: Posted by Guest — Fri Sep 10, 2004 7:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2004-09-09T18:19:57-04:00</updated>

		<published>2004-09-09T18:19:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40765#p40765</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40765#p40765"/>
		<title type="html"><![CDATA[+S mode on linknet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40765#p40765"><![CDATA[
<blockquote class="uncited"><div>how did you guys get your eggdrop+SSL patch to connect to a SSL server?  Is there any special setting? Or just tell your eggy to connect to the SSL port on the ircd?</div></blockquote>could be that you were asleep, Rumplestilskin, but there is a new service called <a href="www.google.com" class="postlink"><em class="text-italics">goooooooooooooooooogle</em></a>, you should check it out someday, then you could be cool like me and spit out links to <a href="http://www.link-net.org/index.php?sec=12" class="postlink">LinkNet's SSL page</a>.  I gave this document a cursory glance only, and figured most people who are having trouble connecting with eggdrop to ssl-encrypted servers on linknet <em class="text-italics">have <strong class="text-strong">not</strong></em> read this, so they wouldn't know to use port 7000  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> are you one o' them people?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Thu Sep 09, 2004 6:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-09-09T16:47:41-04:00</updated>

		<published>2004-09-09T16:47:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=40760#p40760</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=40760#p40760"/>
		<title type="html"><![CDATA[+S mode on linknet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=40760#p40760"><![CDATA[
how did you guys get your eggdrop+SSL patch to connect to a SSL server?  Is there any special setting? Or just tell your eggy to connect to the SSL port on the ircd?<p>Statistics: Posted by Guest — Thu Sep 09, 2004 4:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-06-30T07:49:07-04:00</updated>

		<published>2003-06-30T07:49:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22748#p22748</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22748#p22748"/>
		<title type="html"><![CDATA[+S mode on linknet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22748#p22748"><![CDATA[
hi im having the same problem and have started writing a tcl to enforce new channel modes ie linknets +S<br><br>and yes my bot has been patched and is connecting thru SSl server<br><br>the problem im having is the eggdrop command getchanmode = get chanmodes from its own enforce data not the real existing channel modes<br><br>how can i query the true channel modes in tcl rather than eggdrop settings<br><br>also if anyones interested heres my thread on the subbject<br><br><a href="http://forum.egghelp.org/viewtopic.php?p=22738#22738" class="postlink">http://forum.egghelp.org/viewtopic.php?p=22738#22738</a><br><br>which contains the basis of my 1st ever tcl script but due to the above problem it remains unfinnished<br><br>currently im in the position of pushmode #chan +S 1c an hour reguardless of if its allready set or not<br>id rather it checked 1c per minute and if set do nothing, if not set invoke<br>unless my approach to the problem is wrong and<br>itheres a better way to do this etc then please advise me on how it should be approached<p>Statistics: Posted by Guest — Mon Jun 30, 2003 7:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SmokeyOne]]></name></author>
		<updated>2003-01-14T06:31:50-04:00</updated>

		<published>2003-01-14T06:31:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15282#p15282</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15282#p15282"/>
		<title type="html"><![CDATA[+S mode on linknet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15282#p15282"><![CDATA[
<blockquote class="uncited"><div>In a real life example.<br><br>User connects to a server.<br><br>He decides to set himself +i for invisable. On top, he decides to set himself +o (IE, and IRCOPER).<br><br>The server would simply drop the +o, as he isn't authorised.<br><br>In the real world, once some1 has sent and euthorised an /oper command, he/she can set +o or -o on there usermode (not channel user or channel mode) as they wish.<br><br>My point is, is it the same for the +S flag. Will the IRC server allow a NON SSL connected client/bot to set this mode?</div></blockquote>Knowing that this is a user/channel flag.  as a user if your not connect under SSL, no you can not set this flag, but if your a normal user and do /mode #blah +S you will set the channel +S.  If you leave the channel and someone is in there, you won't be able to join the channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2530">SmokeyOne</a> — Tue Jan 14, 2003 6:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-01-14T06:24:06-04:00</updated>

		<published>2003-01-14T06:24:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15280#p15280</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15280#p15280"/>
		<title type="html"><![CDATA[+S mode on linknet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15280#p15280"><![CDATA[
In a real life example.<br><br>User connects to a server.<br><br>He decides to set himself +i for invisable. On top, he decides to set himself +o (IE, and IRCOPER).<br><br>The server would simply drop the +o, as he isn't authorised.<br><br>In the real world, once some1 has sent and euthorised an /oper command, he/she can set +o or -o on there usermode (not channel user or channel mode) as they wish.<br><br>My point is, is it the same for the +S flag. Will the IRC server allow a NON SSL connected client/bot to set this mode?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Jan 14, 2003 6:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SmokeyOne]]></name></author>
		<updated>2003-01-14T06:19:28-04:00</updated>

		<published>2003-01-14T06:19:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15278#p15278</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15278#p15278"/>
		<title type="html"><![CDATA[LinkNet's +S command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15278#p15278"><![CDATA[
<blockquote class="uncited"><div>Just checking, you are using 1.6.12 with the SSL patch?<br><br>You aere connected using ssl?<br><br>It's a bit pointless, when a OP sets +S, when that means he can't join in himself. It may be the network that is removing it.</div></blockquote>LinkNet doesn't use services, its a normal channel command, which has to be set by the user or in this case a bot.  I would just be better to script the channel command, and might as well include some other SSL stuff in it.<br><br><br>the +S command is just a flag that denies none SSL clients to join a channel that's +Sed.<br><br>Also, the network wouldn't remove this flag unless it was changed after a split, which isn't something that is common on LinkNet<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2530">SmokeyOne</a> — Tue Jan 14, 2003 6:19 am</p><hr />
]]></content>
	</entry>
	</feed>
