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

	<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>2010-09-30T20:42:25-04:00</updated>

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

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-09-30T20:42:25-04:00</updated>

		<published>2010-09-30T20:42:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94587#p94587</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94587#p94587"/>
		<title type="html"><![CDATA[custom flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94587#p94587"><![CDATA[
With something like this script below,  your users that you set +A, could send a /msg to the bot, using their password, and the bot would award them +a  (if the server allows it)<br><br><div class="codebox"><p>Code: </p><pre><code># Tell the user to send:# /msg &lt;botnick&gt; #channel &lt;password_here&gt;# ( User must have +A, else script will not award +a)## Example:#          /msg AnyBot #chittychat xyz123abc#bind msg - "!sop" SOPviamsgproc SOPviamsg {nick uhost handle text} {global botnickset chan [lindex [split $text] 0]if {![botonchan $chan]} {putserv "privmsg $nick :$botnick is not on channel $chan"return 0   }if {[passwdok $handle [lindex [split $text] 1]] &amp;&amp; [matchattr $handle A]} {putserv "mode $chan +a $nick"} else {putserv "privmsg $nick :Syntax: /msg $botnick #channel &lt;password_here&gt; "}}</code></pre></div><br><br>Again, this could not be fully tested, as the bot was not the channel owner in the test channel I used.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Thu Sep 30, 2010 8:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-09-30T20:11:58-04:00</updated>

		<published>2010-09-30T20:11:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94586#p94586</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94586#p94586"/>
		<title type="html"><![CDATA[custom flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94586#p94586"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join - "% *" giveSOPproc giveSOP {nick uhost handle chan} {if {[matchattr $handle A]} {putserv "mode $chan +a $nick"}}</code></pre></div><br>This method of auto-awarding +a is not secure, as the bot is watching the users hostmask.<br>I think that if you want certain users, with certain flags, to be able to get +a, then it would be better for these users to have to identify themselves with a password.<br><br>On the one network I tried the above script on, I could not fully test it.<br>This was because the bot was not the channel owner, and only the channel owner can award +a there.<br>I could see that the bot did try to award +a though, and was denied.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Thu Sep 30, 2010 8:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Cr0ntab]]></name></author>
		<updated>2010-09-30T15:34:12-04:00</updated>

		<published>2010-09-30T15:34:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94585#p94585</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94585#p94585"/>
		<title type="html"><![CDATA[custom flag]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94585#p94585"><![CDATA[
Hello i want a tcl(i believe it is an easy one).<br>i want the bot to give auto mode +a on the users that have +A flag.like it gives +v on +g users.(affected by chanset aop-delay).<br>for example if i have global +A i want the bot when it can to give me +a channel mode on join like the +v with +g flag and +o with +a flag<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11149">Cr0ntab</a> — Thu Sep 30, 2010 3:34 pm</p><hr />
]]></content>
	</entry>
	</feed>
