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

	<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-11-21T10:01:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-21T10:01:40-04:00</updated>

		<published>2003-11-21T10:01:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30471#p30471</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30471#p30471"/>
		<title type="html"><![CDATA[Help with some TCL scripts..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30471#p30471"><![CDATA[
instead of<div class="codebox"><p>Code: </p><pre><code>if { validuser [lindex [split $text] 0] = 1 } {</code></pre></div>use<div class="codebox"><p>Code: </p><pre><code>if {[validuser [lindex [split $text] 0]]} {</code></pre></div>and the command is <strong class="text-strong">.finduser &lt;user&gt;</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Nov 21, 2003 10:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-21T00:14:21-04:00</updated>

		<published>2003-11-21T00:14:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30455#p30455</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30455#p30455"/>
		<title type="html"><![CDATA[Help with some TCL scripts..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30455#p30455"><![CDATA[
Find user doesnt seem to be working <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by Guest — Fri Nov 21, 2003 12:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Darkj]]></name></author>
		<updated>2003-11-20T22:23:08-04:00</updated>

		<published>2003-11-20T22:23:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30453#p30453</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30453#p30453"/>
		<title type="html"><![CDATA[Help with some TCL scripts..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30453#p30453"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub n .addmaster sb_addmaster proc sb_addmaster { nick uhost hand chan text } {   set newmaster [lindex [split $text] 0]  adduser $newmaster  chattr $newmaster +mo   putserv "privmsg $nick :You have added\:$newmaster To the master list."   putserv "privmsg $newmaster :You have been added to my master list." } bind pub - .finduser sb_finduser proc sb_finduser { nick uhost hand chan text } {   if { validuser [lindex [split $text] 0] = 1 } {     set finduser [lindex [split $text] 0]     set botfl [getuser $finduser botfl]    set handle [getuser $finduser handle]    putserv "privmsg $nick :(Info For \[$finduser\])"     putserv "privmsg $nick :Flags\: $botfl"     putserv "privmsg $nick :Handle\: $handle"   }   else {     putserv "privmsg $nick :Could not find user (\[$finduser\])"   } }</code></pre></div>Think that should work, untested though, but a start.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3459">Darkj</a> — Thu Nov 20, 2003 10:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-20T20:02:10-04:00</updated>

		<published>2003-11-20T20:02:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30449#p30449</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30449#p30449"/>
		<title type="html"><![CDATA[Help with some TCL scripts..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30449#p30449"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub n .addmaster sb_addmasterproc sb_addmaster { nick uhost hand chan text } {  adduser [lindex $text 0]  chattr [lindex $text 0] +mo  putserv "privmsg $nick :You have added:[lindex $text 0] To the master list."  putserv "privmsg [lindex $text 0] :You have been added to my master list."}bind pub - .finduser sb_finduserproc sb_finduser { nick uhost hand chan text } {  if { validuser [lindex $text 1] = 1 } {    set finduser [lindex $text 1]    set botfl getuser $finduser botfl    set handle getuser $finduser handle    putserv "privmsg $nick :(Info For [$finduser])"    putserv "privmsg $nick :Flags: $botfl"    putserv "privmsg $nick :Handle: $handle"  }  else {    putserv "privmsg $nick :Could not find user ([$finduser])"  }}</code></pre></div>It isnt adding people and messaging them.. and then the find user isnt working either.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> thanks<p>Statistics: Posted by Guest — Thu Nov 20, 2003 8:02 pm</p><hr />
]]></content>
	</entry>
	</feed>
