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

	<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>2005-02-10T05:09:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2005-02-10T05:09:30-04:00</updated>

		<published>2005-02-10T05:09:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46479#p46479</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46479#p46479"/>
		<title type="html"><![CDATA[Problems with a script which adds users and give flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46479#p46479"><![CDATA[
<img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_idea.gif" width="15" height="15" alt=":idea:" title="Idea"> you might find the example procedure at the end of <a href="http://johoho.eggheads.org/eggdrop/other/guide2tcl.html" class="postlink">this tcl guide</a> which does very much the same thing....<br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> and I agree with De Kus' assessment.......un-formatted tcl scripts suck!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Thu Feb 10, 2005 5:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-02-10T02:10:34-04:00</updated>

		<published>2005-02-10T02:10:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46471#p46471</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46471#p46471"/>
		<title type="html"><![CDATA[Re: Problems with a script which adds users and give flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46471#p46471"><![CDATA[
<ol style="list-style-type:decimal"><li>you would help us much posting formated text &gt;&lt;</li><li>delete the 2nd set cflag "+v" and make the varible global or use it with the :: within the proc.</li><li>set anick "[nick2hand $nick]" &lt;-- either you delete it, since adduser wont create a handle other than $nick or place it before you put the gchattr to the other bot(s) @_o.</li><li>if I see it right, you have stacked 3 foreach loops foreach culist [userlist b], you might want to delete the 2nd and 3rd, beauce they are pretty useless <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> (if you have more than 2 bots, it will cause pretty good spamming to the bots ^^)</li><li>i dont know why it gets no flags, if the user didnt exist before ^-^</li></ol><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Thu Feb 10, 2005 2:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[S0nnY]]></name></author>
		<updated>2005-02-09T22:22:40-04:00</updated>

		<published>2005-02-09T22:22:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46467#p46467</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46467#p46467"/>
		<title type="html"><![CDATA[Problems with a script which adds users and give flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46467#p46467"><![CDATA[
Heloo together.<br>I have a Problem with the following scripts: <div class="codebox"><p>Code: </p><pre><code>bind pub -|- "!rdy" ::rdyset cflag "+v"proc ::rdy {nick host handle chan text} {putserv "PRIVMSG $chan : $nick ist bereit"if {![validuser $nick]} { adduser $nick *!*@[lindex [split [getchanhost $nick $chan] @] 1] foreach culist [userlist b] { set user [lindex $culist 0] putbot $user "%adduser $nick *!*@[lindex [split [getchanhost $nick $chan] @] 1]" putlog "$nick added in the userlist"set cflag "+v"foreach culist [userlist b] { set user [lindex $culist 0] putbot $user "%gchattr $nick $cflag" set anick "[nick2hand $nick]" chattr $anick |$cflag $chan putlog "$nick aka $anick has now $cflag @ $chan" foreach culist [userlist b] { set user [lindex $culist 0] putbot $user "%chattr $anick $cflag $chan" } } } } }</code></pre></div>the bot adds the user in the userfile. but the bots adds no flags for the user who triggered rdy.<br>There is no error in the Partyline while triggering  " !rdy ! in chan!<br>Can anyone help me with my script.<br>thx a lot <br>S0nnY<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5425">S0nnY</a> — Wed Feb 09, 2005 10:22 pm</p><hr />
]]></content>
	</entry>
	</feed>
