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

	<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>2006-06-05T00:10:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-06-05T00:10:36-04:00</updated>

		<published>2006-06-05T00:10:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63722#p63722</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63722#p63722"/>
		<title type="html"><![CDATA[Simple usersearch help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63722#p63722"><![CDATA[
No point posting a mIRC 'script' on a forum exclusively for Tcl. You'd be lucky if anyone could understand it anyway. Learn Tcl and attempt a translation yourself maybe. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Jun 05, 2006 12:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-06-04T04:29:11-04:00</updated>

		<published>2006-06-04T04:29:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63687#p63687</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63687#p63687"/>
		<title type="html"><![CDATA[Simple usersearch help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63687#p63687"><![CDATA[
Im very well aware of what forum this is, I just asked a question, and showed the mirc script as an example, and hoping it might shed a light on my idea, but nevermind.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Sun Jun 04, 2006 4:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2006-06-04T01:54:04-04:00</updated>

		<published>2006-06-04T01:54:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63682#p63682</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63682#p63682"/>
		<title type="html"><![CDATA[Simple usersearch help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63682#p63682"><![CDATA[
<blockquote class="uncited"><div>I dont know if this can be rewritten to tcl., if the other one cant be fixed?</div></blockquote>you are on the wrong forum dude, this one is for people who know at least the basics of Tcl, and obviously you aren't among them<br><br>post to "Script Requests"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Jun 04, 2006 1:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-06-03T18:03:38-04:00</updated>

		<published>2006-06-03T18:03:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63677#p63677</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63677#p63677"/>
		<title type="html"><![CDATA[Simple usersearch help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63677#p63677"><![CDATA[
Still wont react, I made one for my mIRC bot:<div class="codebox"><p>Code: </p><pre><code>on *:text:.user*:#:{  if ($nick isop $chan &amp;&amp; $2-) { /user $nick $2- }}alias user {  if ($1 &amp;&amp; $2-) {     notice $1 http://www.mysite.com/users.php?search= $+ $replace($2-,$chr(32),+)   }}</code></pre></div>Wich will post the link to the username in the searchlist on the site.<br>I dont know if this can be rewritten to tcl., if the other one cant be fixed?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Sat Jun 03, 2006 6:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-06-03T16:55:04-04:00</updated>

		<published>2006-06-03T16:55:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63673#p63673</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63673#p63673"/>
		<title type="html"><![CDATA[Simple usersearch help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63673#p63673"><![CDATA[
Silly me... It's a bit late and I must be blind or something.. I have fixed the code .. again.. sorry.<div class="codebox"><p>Code: </p><pre><code>bind pub - !user foo proc foo {n u h c a} {   if {![llength [set nick [lindex [split $a] 0]]]} return   set token [::http::geturl http://www.mysite.com/users.php?search=$nick]   set data [::http::data $token]   ::http::cleanup $data   foreach line [split $data \n] {     putserv "PRIVMSG $c :$line"   } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Jun 03, 2006 4:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-06-03T16:37:36-04:00</updated>

		<published>2006-06-03T16:37:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63672#p63672</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63672#p63672"/>
		<title type="html"><![CDATA[Simple usersearch help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63672#p63672"><![CDATA[
This is what happens:<div class="codebox"><p>Code: </p><pre><code>[22:36:15] &lt;%starbot&gt; ::http::17</code></pre></div>And the number gets higher every time I trigger the command.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Sat Jun 03, 2006 4:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-06-03T16:28:28-04:00</updated>

		<published>2006-06-03T16:28:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63670#p63670</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63670#p63670"/>
		<title type="html"><![CDATA[Simple usersearch help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63670#p63670"><![CDATA[
Not you, I forgot to add them in the proc I've posted above. Get it again and test it on your bot. Also, change that url to "<a href="http://www.mysite.com/users.php?search=$nick" class="postlink">http://www.mysite.com/users.php?search=$nick</a>" because this way I think it should be.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Jun 03, 2006 4:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-06-03T16:25:52-04:00</updated>

		<published>2006-06-03T16:25:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63669#p63669</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63669#p63669"/>
		<title type="html"><![CDATA[Simple usersearch help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63669#p63669"><![CDATA[
Thanks for your quick replies, but maybe im wayy to tired, cause where would I put the []'s ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Sat Jun 03, 2006 4:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-06-03T16:20:03-04:00</updated>

		<published>2006-06-03T16:20:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63667#p63667</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63667#p63667"/>
		<title type="html"><![CDATA[Simple usersearch help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63667#p63667"><![CDATA[
Oops! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> Forgot to add a pair of [] to the proc I've posted. Get it again and see if it works..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Jun 03, 2006 4:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-06-03T16:14:07-04:00</updated>

		<published>2006-06-03T16:14:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63666#p63666</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63666#p63666"/>
		<title type="html"><![CDATA[Simple usersearch help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63666#p63666"><![CDATA[
I tried adding that line, but my drop is still not responding to the trigger.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Sat Jun 03, 2006 4:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-06-03T16:09:31-04:00</updated>

		<published>2006-06-03T16:09:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63664#p63664</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63664#p63664"/>
		<title type="html"><![CDATA[Simple usersearch help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63664#p63664"><![CDATA[
Then add a line like:<div class="codebox"><p>Code: </p><pre><code>putserv :PRIVMSG $c :finished"</code></pre></div>or a putlog line to see if the script works.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Jun 03, 2006 4:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-06-03T16:00:02-04:00</updated>

		<published>2006-06-03T16:00:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63662#p63662</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63662#p63662"/>
		<title type="html"><![CDATA[Simple usersearch help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63662#p63662"><![CDATA[
Well, I used that url in a small script for my mIRC bot, wich worked, but this one aint working for my eggdrop and I really would like it to work for my drop, nothing is happening when I type !user starpossen and I tried adding nick to the url, but that didnt help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Sat Jun 03, 2006 4:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-06-03T16:52:43-04:00</updated>

		<published>2006-06-03T15:51:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63660#p63660</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63660#p63660"/>
		<title type="html"><![CDATA[Simple usersearch help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63660#p63660"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !user foo proc foo {n u h c a} {   if {![llength [set nick [lindex [split $a] 0]]]} return  set token [::http::geturl http://www.mysite.com/users.php?search=$nick]   set data [::http::data $token]  ::http::cleanup $data  foreach line [split $data \n] {     putserv "PRIVMSG $c :$line"   } }</code></pre></div>Shouldn't the url be "<a href="http://www.mysite.com/users.php?search=nick" class="postlink">http://www.mysite.com/users.php?search=nick</a>" by any chance?<br><br>Edit: Damn typos. Fixed it.. again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Jun 03, 2006 3:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-06-03T15:26:49-04:00</updated>

		<published>2006-06-03T15:26:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63659#p63659</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63659#p63659"/>
		<title type="html"><![CDATA[Simple usersearch help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63659#p63659"><![CDATA[
I've got this little script:<div class="codebox"><p>Code: </p><pre><code>bind pub - !user fooproc foo {n u h c a} { set nick [lindex [split $a] 0] if {$nick!=""} {  set data [::http::geturl http://www.mysite.com/users.php?search=]  foreach line [split [::http::data $data] \n] {   putserv "PRIVMSG $c :$line"  }  ::http::cleanup $data }}</code></pre></div>Wich will then post a link to the users profile page from the site.<br>But somehow it is not working, am I missing something?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Sat Jun 03, 2006 3:26 pm</p><hr />
]]></content>
	</entry>
	</feed>
