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

	<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>2002-12-13T17:34:34-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Photon]]></name></author>
		<updated>2002-12-13T17:34:34-04:00</updated>

		<published>2002-12-13T17:34:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14247#p14247</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14247#p14247"/>
		<title type="html"><![CDATA[Search Info]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14247#p14247"><![CDATA[
Well ,was wondering how (for example) stat gets set up - is exec_players a function?<br><br>Basically stick your putquick before you do the exec qstat bit, I think is what you want to know...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1824">Photon</a> — Fri Dec 13, 2002 5:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Black|Man]]></name></author>
		<updated>2002-12-13T12:40:34-04:00</updated>

		<published>2002-12-13T12:40:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14242#p14242</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14242#p14242"/>
		<title type="html"><![CDATA[Search Info]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14242#p14242"><![CDATA[
what do you need more info about ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2091">Black|Man</a> — Fri Dec 13, 2002 12:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Photon]]></name></author>
		<updated>2002-12-12T12:35:05-04:00</updated>

		<published>2002-12-12T12:35:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14220#p14220</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14220#p14220"/>
		<title type="html"><![CDATA[Search Info]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14220#p14220"><![CDATA[
when do you want it to say this?<br><br>is exec_players a function? Need a bit more info pls...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1824">Photon</a> — Thu Dec 12, 2002 12:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Black|Man]]></name></author>
		<updated>2002-12-12T14:28:33-04:00</updated>

		<published>2002-12-12T12:18:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14218#p14218</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14218#p14218"/>
		<title type="html"><![CDATA[Search Info]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14218#p14218"><![CDATA[
need help to add some line on this scrip when i write <strong class="text-strong">!find wolfplayer</strong> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br><strong class="text-strong">1. The BOT will write this ---&gt;  Looking for 'wolfplayer', patience.</strong><br><div class="codebox"><p>Code: </p><pre><code>proc find {nick host hand chan arg} {    if {[llength $arg] &lt; 1} then {putquick "NOTICE $nick : You might wanna put in a search word to limit the list a bit"return    }    set stat [exec_players]    set stat_arr [split $stat "\n"]    set i 0    set str $stat_arr    set found 0    #    set str [lsort $stat_arr]    for {set i 0} {$i &lt; [llength $str]} {incr i} {set j [expr $i + 1]# Loop through all the players and save them into a listwhile {[string range [lindex $str $j] 0 6] == "Player:"} {    set player [string trimleft [lindex $str $j] "Player:"]    set playername [lindex [split $player " "] 2]    set server [join [lindex [split [lindex $str $i] ""] 1] " "]    if {[string first [string tolower $arg] [string tolower $playername]] != -1} then {incr foundputquick "NOTICE $nick :$playername is on $server "    }    incr j}# Make sure we don't check through the players againset i [expr $j - 1]    }    set info_str [get_number_of $found "player"]    putquick "NOTICE $nick :$info_str"    return 0} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2091">Black|Man</a> — Thu Dec 12, 2002 12:18 pm</p><hr />
]]></content>
	</entry>
	</feed>
