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

	<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>2023-02-09T13:40:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2023-02-09T13:40:24-04:00</updated>

		<published>2023-02-09T13:40:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111673#p111673</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111673#p111673"/>
		<title type="html"><![CDATA[is it posiable someone help me with SAMODE?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111673#p111673"><![CDATA[
You are right, in this case here's a more traditional approach:<div class="codebox"><p>Code: </p><pre><code>bind join - * join:opbotproc join:opbot { nick host hand chan } {if {![isbotnick $nick]} returnif {[string equal -nocase $chan "#opers"]} {set mode "+v"} else {set mode "+o"}putserv "SAMODE $chan $mode $::botnick"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Feb 09, 2023 1:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-02-09T11:18:36-04:00</updated>

		<published>2023-02-09T11:18:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111672#p111672</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111672#p111672"/>
		<title type="html"><![CDATA[is it posiable someone help me with SAMODE?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111672#p111672"><![CDATA[
I'm not scared of it, but Valentin won't understand your code if you don't explain it.<br><br>I think that one of the first goals of this forum is to teach TCL to others, but I'm peharps wrong<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Feb 09, 2023 11:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2023-02-09T05:33:20-04:00</updated>

		<published>2023-02-09T05:33:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111670#p111670</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111670#p111670"/>
		<title type="html"><![CDATA[is it posiable someone help me with SAMODE?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111670#p111670"><![CDATA[
You scared of the <em class="text-italics">expr</em> line? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>It's basically if condition do this else do something else just wrapped up nicely.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Feb 09, 2023 5:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-02-08T05:50:45-04:00</updated>

		<published>2023-02-08T05:50:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111668#p111668</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111668#p111668"/>
		<title type="html"><![CDATA[is it posiable someone help me with SAMODE?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111668#p111668"><![CDATA[
The "+" is a voice, so +v.<br><br>And you like complex code ?<div class="codebox"><p>Code: </p><pre><code>bind join - * join:opbotproc join:opbot { nick host hand chan } {   if {![isbotnick $nick]} return   set mode "+o"   if {[string tolower $chan] eq "#opers"} { set mode "+v" }   putserv "SAMODE $chan $mode $::botnick"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Feb 08, 2023 5:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2023-02-08T02:25:13-04:00</updated>

		<published>2023-02-08T02:25:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111667#p111667</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111667#p111667"/>
		<title type="html"><![CDATA[is it posiable someone help me with SAMODE?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111667#p111667"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join - * join:opbotproc join:opbot { nick host hand chan } {if {![isbotnick $nick]} returnset mode [expr {[string equal -nocase $chan "#opers"] ? "+o" : "++"}]putserv "SAMODE $chan $mode $::botnick"}</code></pre></div>Replace the second '+' in '++' with whatever mode gives the bot the + flag cos honestly I don't know.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Feb 08, 2023 2:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Valentin]]></name></author>
		<updated>2023-02-07T22:39:01-04:00</updated>

		<published>2023-02-07T22:39:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111665#p111665</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111665#p111665"/>
		<title type="html"><![CDATA[is it posiable someone help me with SAMODE?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111665#p111665"><![CDATA[
I`m use this script fot ircop bot to get @ in every chan. Is it posiable to make it to get + in #opers. In every chan will get @, exempt #opers. In #opers has to be with +<br><div class="codebox"><p>Code: </p><pre><code>bind join - * join:opbotproc join:opbot { nick host hand chan } {     if {$nick eq $::botnick} {       putserv "SAMODE $chan +o $::botnick"    } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12983">Valentin</a> — Tue Feb 07, 2023 10:39 pm</p><hr />
]]></content>
	</entry>
	</feed>
