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

	<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>2004-06-07T06:02:47-04:00</updated>

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

		<entry>
		<author><name><![CDATA[puffi]]></name></author>
		<updated>2004-06-07T06:02:47-04:00</updated>

		<published>2004-06-07T06:02:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37086#p37086</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37086#p37086"/>
		<title type="html"><![CDATA[Help needed with Tcl trigger script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37086#p37086"><![CDATA[
An array might be not wrong there too.<br>Then you fill it once (maybe from a file) and access the description(value) by accessing $member_description_array(membername) only.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4998">puffi</a> — Mon Jun 07, 2004 6:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scorchin]]></name></author>
		<updated>2004-06-07T05:55:06-04:00</updated>

		<published>2004-06-07T05:55:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37084#p37084</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37084#p37084"/>
		<title type="html"><![CDATA[Help needed with Tcl trigger script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37084#p37084"><![CDATA[
Thanks all, will test script when Eggdrop comes online!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5030">scorchin</a> — Mon Jun 07, 2004 5:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2004-06-07T06:00:47-04:00</updated>

		<published>2004-06-07T05:52:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37081#p37081</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37081#p37081"/>
		<title type="html"><![CDATA[Help needed with Tcl trigger script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37081#p37081"><![CDATA[
you forgot to change the $chan to $c <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><div class="codebox"><p>Code: </p><pre><code>bind pub - !whatis pub:definition proc pub:definition {n u h c t} {   set honk [split $t]   if {[llength $honk] == 0} {     putserv "PRIVMSG $c :Please specify a member you want info about"     return 0   }   set honk [lindex $honk 0]   if {[string match -nocase "scorchin" $honk]} {     putserv "PRIVMSG $c :Scorchin is a nublet...."     return 0   } } </code></pre></div>also it would be better to use the switch command or make a global list of names and do lsearch on it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Mon Jun 07, 2004 5:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scorchin]]></name></author>
		<updated>2004-06-07T05:51:50-04:00</updated>

		<published>2004-06-07T05:51:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37080#p37080</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37080#p37080"/>
		<title type="html"><![CDATA[Help needed with Tcl trigger script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37080#p37080"><![CDATA[
thanks that brilliant  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5030">scorchin</a> — Mon Jun 07, 2004 5:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[puffi]]></name></author>
		<updated>2004-06-07T05:48:49-04:00</updated>

		<published>2004-06-07T05:48:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37079#p37079</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37079#p37079"/>
		<title type="html"><![CDATA[Help needed with Tcl trigger script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37079#p37079"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !whatis pub:definition proc pub:definition {n u h c t} {   set honk [split $t]  if {[llength $honk] == 0} {    putserv "PRIVMSG $chan :Please specify a member you want info about"    return 0  }  set honk [lindex $honk 0]  if {[string match -nocase "scorchin" $honk]} {    putserv "PRIVMSG $chan :Scorchin is a nublet...."    return 0  } }</code></pre></div>It checks if the user gave an argument. Repeat the <div class="codebox"><p>Code: </p><pre><code>  if {[string match -nocase "scorchin" $honk]} {    putserv "PRIVMSG $chan :Scorchin is a nublet...."    return 0  } </code></pre></div>for each user/member you want to give information about.<br>If i got you right, that is what you want.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4998">puffi</a> — Mon Jun 07, 2004 5:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scorchin]]></name></author>
		<updated>2004-06-07T05:33:04-04:00</updated>

		<published>2004-06-07T05:33:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37078#p37078</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37078#p37078"/>
		<title type="html"><![CDATA[Help needed with Tcl trigger script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37078#p37078"><![CDATA[
Hi, i am trying to make a trigger script for my clan channel. It will get info about a username that is placed after the !whatis command. But so far, its just fubarred up my Eggdrop, can anyone help? Here is the code...<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !whatis pub:definitionproc pub:definition {n u h c t} {  if {[string match -nocase "" $text]} { putserv "PRIVMSG $chan :Please specify a member you want info about" } { return 0 }  if {[string match -nocase "scorchin" $text]} { putserv "PRIVMSG $chan :Scorchin is a nublet...." } { return 0 }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5030">scorchin</a> — Mon Jun 07, 2004 5:33 am</p><hr />
]]></content>
	</entry>
	</feed>
