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

	<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>2003-04-19T00:57:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-04-19T00:57:29-04:00</updated>

		<published>2003-04-19T00:57:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19246#p19246</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19246#p19246"/>
		<title type="html"><![CDATA[Why does this code not work????]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19246#p19246"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join S * join_auto_opproc join_auto_op {nick host hand chan} {  putserv "mode $chan +V $nick"}</code></pre></div>If that doesn't work, then it's a problem with your users. Make sure the bot sees them as who you think they are. When they're on channel, type .channel #blah and make sure the bot has them listed as the correct user. Make sure you have the correct hostmasks for each user. Also do .match +S and make sure that they really have that flag.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sat Apr 19, 2003 12:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Salvia]]></name></author>
		<updated>2003-04-18T17:54:55-04:00</updated>

		<published>2003-04-18T17:54:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19240#p19240</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19240#p19240"/>
		<title type="html"><![CDATA[Why does this code not work????]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19240#p19240"><![CDATA[
Yes I did modify it because that was the new guess that I tried I was incorrect to quote it I should have just copy and pasted<br><br>But I have tried several things and I still can not get it to work<br><br>These are the user modes the network I connect to has<br><br>+a    &lt;-- sop   !username<br>+o    &lt;-- op    @username<br>+h    &lt;-- hop %username<br>+V   &lt;-- VIP   =username<br>+v    &lt;-- voice +username<br>+d   &lt;-- silenced -username<br><br>the netowrk I am using is:   irc.betas-online.com<br><br>if anyone can please help me with this script All of the channel masters<br>at Betas-online would be much appreciated<br><br>I am a visual basic programmer this is my first time ever trying to write a tcl script please help I have tried multiple things and I am getting no where<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2838">Salvia</a> — Fri Apr 18, 2003 5:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-04-18T13:46:51-04:00</updated>

		<published>2003-04-18T13:46:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19235#p19235</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19235#p19235"/>
		<title type="html"><![CDATA[Re: Why does this code not work????]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19235#p19235"><![CDATA[
Well I missed that part.. however it does look like now that you have modified what you originally said as well... V|V was not there in the original message.<br><br>  And instead of using pushmode, use puthelp or putserv, as stated many times already.<br><blockquote class="uncited"><div><blockquote class="uncited"><div><br>it is not an auto voice script!!!!!!!!!!!!!!!!<br>it is a auto VIP script<br>our IRCd server has this mode it is +V<br><br>as we all know voice is +v<br><br>I set the user flag to +fV on the bot for my channel and when he joins nothing happens<br>________________________________________________________<br><br>bind join V|V * join:mbti_autovip<br>bind join - * join:mbti_cautovip<br><br>proc join:mbti_autovip {nick host hand chan} {<br>  pushmode $chan +V $nick<br>}<br><br>proc join:mbti_cautovip {nick host hand chan} {<br>  if {[matchchanattr $hand V $chan]} {pushmode $chan +V $nick}<br>}</div></blockquote></div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Fri Apr 18, 2003 1:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Salvia]]></name></author>
		<updated>2003-04-18T13:30:21-04:00</updated>

		<published>2003-04-18T13:30:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19234#p19234</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19234#p19234"/>
		<title type="html"><![CDATA[Re: Why does this code not work????]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19234#p19234"><![CDATA[
<blockquote class="uncited"><div><br>it is not an auto voice script!!!!!!!!!!!!!!!!<br>it is a auto VIP script<br>our IRCd server has this mode it is +V<br><br>as we all know voice is +v<br><br>I set the user flag to +fV on the bot for my channel and when he joins nothing happens<br>________________________________________________________<br><br>bind join V|V * join:mbti_autovip<br>bind join - * join:mbti_cautovip<br><br>proc join:mbti_autovip {nick host hand chan} {<br>  pushmode $chan +V $nick<br>}<br><br>proc join:mbti_cautovip {nick host hand chan} {<br>  if {[matchchanattr $hand V $chan]} {pushmode $chan +V $nick}<br>}</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2838">Salvia</a> — Fri Apr 18, 2003 1:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-04-18T13:25:41-04:00</updated>

		<published>2003-04-18T13:25:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19232#p19232</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19232#p19232"/>
		<title type="html"><![CDATA[Why does this code not work????]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19232#p19232"><![CDATA[
It looks as though you have been reading a tcl tutorial for older eggdrops... You do not need to defined the flags with 'set flag1 V', etc.. anymore...<br><br>  You simply just: .chattr &lt;user&gt; &lt;flag&gt; in the partyline... flag can be any capital letter, you don't need to define it in a script or anything..<br><br>  Also... Because of the old tutorial you probably looked at, you are only binding globally, when I believe what you want is globally or channel specific bindings...<br>ie:<br>bind join S|S * join_auto_op<br><br>  Furthur more, I assume you are trying to give a user voice status in the channel.. in which case (as stdragon was alluding to), you would want to make it puthelp "MODE $chan +v $nick"<br>(notice the <strong class="text-strong">little</strong> v)<br><br>  In any event, for a more current tutorial, I suggest you check out<br><a href="http://www.suninet.nl" class="postlink">www.suninet.nl</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Fri Apr 18, 2003 1:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Salvia]]></name></author>
		<updated>2003-04-18T12:22:01-04:00</updated>

		<published>2003-04-18T12:22:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19230#p19230</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19230#p19230"/>
		<title type="html"><![CDATA[Why does this code not work????]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19230#p19230"><![CDATA[
That will not work for a multi channel bot<br><br>The point is there is 26 user-defined Global flags<br><br>and there is 26 user-defined Channel Flags<br><br>I want to know how to define these flags<br>______________________________________________<br>Again here goes and yes I have set the users global flag to +S<br>and for shits and giggles also set their channel flag to +S<br><br>This does not work...... <br>________________________________ <br>set flag1 S <br>set chanflag2 S <br><br>bind join S * join_auto_op <br><br>proc join_auto_op {nick host hand chan} { <br>putserv "mode $chan +V $nick" } <br>__________________________________________ <br><br>Below does work <br>_________________________________________ <br><br>bind join - * join_auto_op <br><br>proc join_auto_op {nick host hand chan} { <br>putserv "mode $chan +V $nick" }<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2838">Salvia</a> — Fri Apr 18, 2003 12:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Juustro]]></name></author>
		<updated>2003-04-18T12:14:57-04:00</updated>

		<published>2003-04-18T12:14:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19228#p19228</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19228#p19228"/>
		<title type="html"><![CDATA[Why does this code not work????]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19228#p19228"><![CDATA[
<blockquote class="uncited"><div>well how do I make it work for per channel?????</div></blockquote>well add check for channel<br><br>if {$chan == "#mychan" } {<br>  ...commands...<br>}<br><br>or use bind<br><br>bind join - "#mychan *" join_auto_op<br><br>or something like this<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1987">Juustro</a> — Fri Apr 18, 2003 12:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Salvia]]></name></author>
		<updated>2003-04-18T08:23:29-04:00</updated>

		<published>2003-04-18T08:23:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19221#p19221</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19221#p19221"/>
		<title type="html"><![CDATA[Why does this code not work????]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19221#p19221"><![CDATA[
well how do I make it work for per channel?????<br><br>and wait a minute yes I did try adding the flag to the users global and no it still did not work<br><br>I am a beginner this is my first script will someone please tell me what I need to do<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2838">Salvia</a> — Fri Apr 18, 2003 8:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-04-18T07:43:45-04:00</updated>

		<published>2003-04-18T07:43:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19212#p19212</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19212#p19212"/>
		<title type="html"><![CDATA[Why does this code not work????]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19212#p19212"><![CDATA[
your first bind will only trigger if the joining user is added, and is global +S<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Fri Apr 18, 2003 7:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Salvia]]></name></author>
		<updated>2003-04-18T06:35:42-04:00</updated>

		<published>2003-04-18T06:35:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19209#p19209</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19209#p19209"/>
		<title type="html"><![CDATA[Why does this code not work????]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19209#p19209"><![CDATA[
This does not work......<br>________________________________<br>set flag1 S<br>set chanflag2 S<br><br>bind join S * join_auto_op<br><br>proc join_auto_op {nick host hand chan} { <br>putserv "mode $chan +V $nick" }<br>__________________________________________<br><br>Below does work<br>_________________________________________<br><br>bind join - * join_auto_op<br><br>proc join_auto_op {nick host hand chan} { <br>putserv "mode $chan +V $nick" }<br><br><br>So what is up with this flag thing???????<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2838">Salvia</a> — Fri Apr 18, 2003 6:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-04-18T01:34:25-04:00</updated>

		<published>2003-04-18T01:34:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19200#p19200</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19200#p19200"/>
		<title type="html"><![CDATA[Why does this code not work????]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19200#p19200"><![CDATA[
Maybe it's refusing to pass on the +V since eggdrop doesn't know what +V is? It does some really silly things for "optimization" purposes. You could try putserv instead, although it might still not work. If it doesn't, putdccraw will work for sure.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Apr 18, 2003 1:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Salvia]]></name></author>
		<updated>2003-04-17T19:19:23-04:00</updated>

		<published>2003-04-17T19:19:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19193#p19193</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19193#p19193"/>
		<title type="html"><![CDATA[Why does this code not work????]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19193#p19193"><![CDATA[
Everything I read tells me that there is 26 user defined Flags "All capital letters"<br><br>So why does this script not work????<br><br>it is not an auto voice script!!!!!!!!!!!!!!!!<br>it is a auto VIP script<br>our IRCd server has this mode it is +V<br><br>as we all know voice is +v<br><br>I set the user flag to +fV on the bot for my channel and when he joins nothing happens<br>________________________________________________________<br><br>set flag1 V<br>set chanflag1 V<br><br>bind join V * join:mbti_autovip<br>bind join - * join:mbti_cautovip<br><br>proc join:mbti_autovip {nick host hand chan} {<br>  pushmode $chan +V $nick<br>}<br><br>proc join:mbti_cautovip {nick host hand chan} {<br>  if {[matchchanattr $hand V $chan]} {pushmode $chan +V $nick}<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2838">Salvia</a> — Thu Apr 17, 2003 7:19 pm</p><hr />
]]></content>
	</entry>
	</feed>
