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

	<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-02-12T14:00:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-02-12T14:00:00-04:00</updated>

		<published>2004-02-12T14:00:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33521#p33521</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33521#p33521"/>
		<title type="html"><![CDATA[Bartender bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33521#p33521"><![CDATA[
Name Version Date Last Author Downloads Description <br>BarScript - - fedayking 215 A simple Dutch bartender script. <br>coffeeshop.tcl - - fedayking 174 A Dutch bartender script. <br>knuffel.tcl - - NeoFlame 76 A simple Dutch bartender script. <br><br>I see three bartender bots but they are not in english... is there any that are an where would i find one?<br><br>Dawnstar<p>Statistics: Posted by Guest — Thu Feb 12, 2004 2:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-26T06:53:46-04:00</updated>

		<published>2003-10-26T06:53:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29007#p29007</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29007#p29007"/>
		<title type="html"><![CDATA[TCL script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29007#p29007"><![CDATA[
I see 3 german bartender tcl scripts in the <a href="http://www.egghelp.org/tclhtml/3478-4-0-0-1-bar.htm" class="postlink">TCL Archive</a>.. pick one. <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=187">caesar</a> — Sun Oct 26, 2003 6:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-10-26T06:16:50-04:00</updated>

		<published>2003-10-26T06:16:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29000#p29000</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29000#p29000"/>
		<title type="html"><![CDATA[TCL script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29000#p29000"><![CDATA[
aahh.. ok, i know.<br>cons.. u are realy a master <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>well.. i would like to change the answer from the bot..<br><br>e.g. when i type !gib Nickname Beer<br><br>the bot shoul say:<br><br>City_Bot gives u a beer or 2, but don't drink to much.<br> <br>or:    !gib Nickname Döner<br><br>City_Bot gives u a big hot Döner Kebap <br><br>do u know what i mean ?<br><br>do u know if there is anywhere an existing script like this ?<p>Statistics: Posted by Guest — Sun Oct 26, 2003 6:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-26T06:07:28-04:00</updated>

		<published>2003-10-26T06:07:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28998#p28998</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28998#p28998"/>
		<title type="html"><![CDATA[TCL script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28998#p28998"><![CDATA[
According to that try with !gib 0 and something will happen. It should be  if {$rest == ""} { as in you've said in the channel only !gib<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Oct 26, 2003 6:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-10-26T06:03:02-04:00</updated>

		<published>2003-10-26T06:03:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28997#p28997</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28997#p28997"/>
		<title type="html"><![CDATA[TCL script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28997#p28997"><![CDATA[
aaaahhh.. ok, thx <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>but.. whats about the notice if $rest == 0 ?<br><br>there's noting, when i type !gib in the channel<p>Statistics: Posted by Guest — Sun Oct 26, 2003 6:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-26T05:52:19-04:00</updated>

		<published>2003-10-26T05:52:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28995#p28995</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28995#p28995"/>
		<title type="html"><![CDATA[TCL script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28995#p28995"><![CDATA[
via set you set an variable and via $ you call it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Oct 26, 2003 5:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-10-26T05:37:16-04:00</updated>

		<published>2003-10-26T05:37:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28994#p28994</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28994#p28994"/>
		<title type="html"><![CDATA[TCL script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28994#p28994"><![CDATA[
<strong class="text-strong">when i load this script:</strong><blockquote class="uncited"><div>bind pub - !gib get_data<br><br>proc get_data {nick uhost hand chan rest} {<br>  set wem [lindex [split $rest] 0]<br>  set was [join [lrange [split $rest] 1 end]]<br>  if {$rest == 0} {<br>  putserv "NOTICE $nick : Bedienung - !gib"<br>  return 0<br>  }<br>  putserv "PRIVMSG $chan :\001ACTION gibt $wem $was\001" <br>}</div></blockquote><strong class="text-strong">following happens:</strong><blockquote class="uncited"><div>(10:26) (netstat) !gib defcon bier<br>(10:26) ! %City_Bot gibt defcon bier<br>(10:27) (netstat) !gib bier<br>(10:27) ! %City_Bot gibt bier<br>(10:28) (netstat) !gib<br>(10:28) ! %City_Bot gibt</div></blockquote>i thougt when $rest == 0, the bot should send a notice ?<p>Statistics: Posted by Guest — Sun Oct 26, 2003 5:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-10-26T05:02:43-04:00</updated>

		<published>2003-10-26T05:02:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28992#p28992</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28992#p28992"/>
		<title type="html"><![CDATA[TCL script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28992#p28992"><![CDATA[
hmm... i have the v flag in channel<br><blockquote class="uncited"><div>set wem [lindex [split $rest] 0]<br>  set was [join [lrange [split $rest] 1 end]]</div></blockquote>why is "wem" and "was" no variable ? <br><br>and here is it a variable:<blockquote class="uncited"><div>putserv "PRIVMSG $chan :\001ACTION gibt $wem $was\001"</div></blockquote>i don't understand this<p>Statistics: Posted by Guest — Sun Oct 26, 2003 5:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-26T04:55:32-04:00</updated>

		<published>2003-10-26T04:55:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28991#p28991</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28991#p28991"/>
		<title type="html"><![CDATA[TCL script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28991#p28991"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub v !gib get_data proc get_data {nick uhost hand chan rest} {   set wem [lindex [split $rest] 0]   set was [join [lrange [split $rest] 1 end]]   if {$rest == ""} {     putserv "NOTICE $nick : Bedienung - !gib"     return  }   putserv "PRIVMSG $chan :\001ACTION gibt $wem $was\001" }</code></pre></div>and be shure you have the v flag.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Oct 26, 2003 4:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-10-26T04:44:37-04:00</updated>

		<published>2003-10-26T04:44:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28989#p28989</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28989#p28989"/>
		<title type="html"><![CDATA[TCL script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28989#p28989"><![CDATA[
bind pub - !gib get_data<br><br>proc get_data {nick uhost hand chan rest} {<br> if {![matchattr $hand v|v $chan]} {<br> return 0<br>  }<br>  set wem [lindex [split $rest] 0]<br>  set was [join [lrange [split $rest] 1 end]]<br>  if {$rest == 0} {<br>  putserv "NOTICE $nick : Bedienung - !gib"<br>  return 0<br>  }<br>  putserv "PRIVMSG $chan :\001ACTION gibt wem was\001"<br>  }<br><br>yes, i did.<p>Statistics: Posted by Guest — Sun Oct 26, 2003 4:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-26T04:37:54-04:00</updated>

		<published>2003-10-26T04:37:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28988#p28988</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28988#p28988"/>
		<title type="html"><![CDATA[TCL script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28988#p28988"><![CDATA[
Are you shure you have changed how Sir_Fz told you to?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Oct 26, 2003 4:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-10-26T04:19:39-04:00</updated>

		<published>2003-10-26T04:19:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28986#p28986</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28986#p28986"/>
		<title type="html"><![CDATA[TCL script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28986#p28986"><![CDATA[
ok.. this error message is gone..<br>the netxt problem is, wenn i type for example "!gib defcon bier" .. nothing happens in the channel, and no error messi in the partyline.<br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by Guest — Sun Oct 26, 2003 4:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-10-26T04:13:13-04:00</updated>

		<published>2003-10-26T04:13:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28985#p28985</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28985#p28985"/>
		<title type="html"><![CDATA[TCL script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28985#p28985"><![CDATA[
It should be:<blockquote class="uncited"><div>proc get_data {nick uhost hand chan rest} {</div></blockquote>not like I guess you have:<blockquote class="uncited"><div>proc get_data {nick uhost handchan rest} {</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Oct 26, 2003 4:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-10-26T04:02:56-04:00</updated>

		<published>2003-10-26T04:02:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28984#p28984</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28984#p28984"/>
		<title type="html"><![CDATA[TCL script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28984#p28984"><![CDATA[
thats the answer from my bot in telnet session *g*<br><br><em class="text-italics"><br>Tcl error [get_data]: wrong # args: should be "get_data nick uhost handchan rest"<br></em><p>Statistics: Posted by Guest — Sun Oct 26, 2003 4:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-10-25T17:39:13-04:00</updated>

		<published>2003-10-25T17:39:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28953#p28953</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28953#p28953"/>
		<title type="html"><![CDATA[TCL script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28953#p28953"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc get_data {rest nick uhost chan hand} {</code></pre></div> should be<div class="codebox"><p>Code: </p><pre><code>proc get_data {nick uhost hand chan rest} {</code></pre></div>and <div class="codebox"><p>Code: </p><pre><code>set $wem [lindex $rest 0] set $was [lrange $rest 1 end]</code></pre></div> should be<div class="codebox"><p>Code: </p><pre><code>set wem [lindex [split $rest] 0] set was [join [lrange [split $rest] 1 end]]</code></pre></div>and I think what you mean with <strong class="text-strong">if {$restliche == 0} {</strong> is <strong class="text-strong">if {$rest == 0} {</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Oct 25, 2003 5:39 pm</p><hr />
]]></content>
	</entry>
	</feed>
