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

	<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-03-16T16:11:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[eiSi]]></name></author>
		<updated>2002-03-16T16:11:00-04:00</updated>

		<published>2002-03-16T16:11:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5451#p5451</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5451#p5451"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5451#p5451"><![CDATA[
np <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=939">eiSi</a> — Sat Mar 16, 2002 4:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-16T15:06:00-04:00</updated>

		<published>2002-03-16T15:06:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5450#p5450</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5450#p5450"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5450#p5450"><![CDATA[
Thanks, it works <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><p>Statistics: Posted by Guest — Sat Mar 16, 2002 3:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eiSi]]></name></author>
		<updated>2002-03-15T17:05:00-04:00</updated>

		<published>2002-03-15T17:05:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5429#p5429</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5429#p5429"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5429#p5429"><![CDATA[
ahh I found something for you:<br><div class="codebox"><p>Code: </p><pre><code># random responses to the word "hello"set ranhello {  "Hi there"  "hello, whats up"  "hello"  "hi"  "hey whats up"  "yeah, yeah hi HI"  "hello, nice to see yea!"  "Hi i'm happy today!!"}bind pub - hello pub_hello2# random hello procproc pub_hello2 {nick uhost hand chan $ranhello} {  global ranhello  if [rand 2] {    putchan $chan "[lindex $ranhello [rand [llength $ranhello]]] $nick"    }    return 1}</code></pre></div>that should help you! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=939">eiSi</a> — Fri Mar 15, 2002 5:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eiSi]]></name></author>
		<updated>2002-03-15T16:00:00-04:00</updated>

		<published>2002-03-15T16:00:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5427#p5427</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5427#p5427"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5427#p5427"><![CDATA[
yeah, i think so, but i dont know how...<br><br>but the code for my bot's "where are you" proc isn't working yet, I don't know why..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=939">eiSi</a> — Fri Mar 15, 2002 4:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-15T15:02:00-04:00</updated>

		<published>2002-03-15T15:02:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5426#p5426</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5426#p5426"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5426#p5426"><![CDATA[
Is it possible that the Bot replies a random message. For example:<br>If someone says "Hi" the bot can answer "Hi" or  "hey" or "hum"<p>Statistics: Posted by Guest — Fri Mar 15, 2002 3:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eiSi]]></name></author>
		<updated>2002-03-10T08:42:00-04:00</updated>

		<published>2002-03-10T08:42:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5203#p5203</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5203#p5203"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5203#p5203"><![CDATA[
ah ok, i think there was my fault! thx!<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=939">eiSi</a> — Sun Mar 10, 2002 8:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-03-10T03:42:00-04:00</updated>

		<published>2002-03-10T03:42:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5195#p5195</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5195#p5195"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5195#p5195"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc lex_msg {nick uhost hand arg} {</code></pre></div>The msg bind does not take a 'chan' arg.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Sun Mar 10, 2002 3:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eiSi]]></name></author>
		<updated>2002-03-09T16:24:00-04:00</updated>

		<published>2002-03-09T16:24:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5182#p5182</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5182#p5182"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5182#p5182"><![CDATA[
thx again, but the msg prodecure don't works, I don't know why... mmh I will try it again... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=939">eiSi</a> — Sat Mar 09, 2002 4:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eiSi]]></name></author>
		<updated>2002-03-09T16:16:00-04:00</updated>

		<published>2002-03-09T16:16:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5181#p5181</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5181#p5181"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5181#p5181"><![CDATA[
yep, thx!<br><br>for my code... I have replaced the &lt;&gt;'s with my text, but it only works, if I only type the one word, e.g. "pencil" and nothing else..<br><br>thx again.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=939">eiSi</a> — Sat Mar 09, 2002 4:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-03-09T14:05:00-04:00</updated>

		<published>2002-03-09T14:05:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5177#p5177</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5177#p5177"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5177#p5177"><![CDATA[
You had to replace the text in &lt;&gt;'s with the text you want to use..<br><br>As for your code:<br><div class="codebox"><p>Code: </p><pre><code>bind msg - * lex_msg proc lex_msg {nick uhost hand chan arg} {   set words $arg   if {[string match "lex where are you?" [string tolower $words]]} { putserv "PRIVMSG $nick :I'm here, $nick: [channels]" }   return 1 } [code]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Sat Mar 09, 2002 2:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eiSi]]></name></author>
		<updated>2002-03-09T10:04:00-04:00</updated>

		<published>2002-03-09T10:04:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5175#p5175</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5175#p5175"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5175#p5175"><![CDATA[
no sorry, that don't works, got another idea?<br><br>thx!! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><br>oh and can you tell me whats wrong with this code please?:<br><br>bind msg - * lex_msg<br><br>proc lex_msg {nick uhost hand chan arg} {<br>  global words botnick<br>  set words $arg<br>  if {$words == "lex where are you?"} { putserv "PRIVMSG $nick  :I'm here, $nick: --channels--" ; return 1}<br>  return 1<br>}<br><br>then the bot should say all channels in which he is... can you tell me how to do that? thanks for your help!! sorry, but I'm an eggdrop noob <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><br>&lt;font size=-1&gt;[ This Message was edited by: eisi on 2002-03-09 07:35 ]&lt;/font&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=939">eiSi</a> — Sat Mar 09, 2002 10:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eiSi]]></name></author>
		<updated>2002-03-09T09:27:00-04:00</updated>

		<published>2002-03-09T09:27:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5172#p5172</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5172#p5172"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5172#p5172"><![CDATA[
ok thx! i will test it today! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=939">eiSi</a> — Sat Mar 09, 2002 9:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-03-08T23:43:00-04:00</updated>

		<published>2002-03-08T23:43:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5162#p5162</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5162#p5162"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5162#p5162"><![CDATA[
Something like:<div class="codebox"><p>Code: </p><pre><code>bind pubm - * pubm:parsemsg2proc pubm:parsemsg2 {nick uhost hand chan text} {  if {![string match "&lt;lower-case message to match here&gt;" [string tolower $text]]} { return }  putserv "PRIVMSG $chan :&lt;reply here&gt;"}</code></pre></div>There is a really good Eggdrop Tcl tutorial on <a href="http://www.suninet.nl/tclguide/tclguide.html" class="postlink">http://www.suninet.nl/tclguide/tclguide.html</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Fri Mar 08, 2002 11:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eiSi]]></name></author>
		<updated>2002-03-08T19:59:00-04:00</updated>

		<published>2002-03-08T19:59:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5151#p5151</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5151#p5151"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5151#p5151"><![CDATA[
a thx! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><br>can you help me another time?<br><br>when a user types sentence with e.g. pencil in it, for example: hey, my pencil is cool! then the bot should say: i love pencils or anything else... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><br>thx!! <p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=939">eiSi</a> — Fri Mar 08, 2002 7:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-03-08T19:30:00-04:00</updated>

		<published>2002-03-08T19:30:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5150#p5150</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5150#p5150"/>
		<title type="html"><![CDATA[An easy scripting question (but not for me ;))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5150#p5150"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pubm - * pubm:parsemsgproc pubm:parsemsg {nick uhost hand chan text} {  if {![regexp "hey bot, you're ugly" $text]} { return }  putserv "PRIVMSG $chan :$nick, Look in the mirror, stupid."}</code></pre></div><br>&lt;font size=-1&gt;[ This Message was edited by: Wcc on 2002-03-08 16:30 ]&lt;/font&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Fri Mar 08, 2002 7:30 pm</p><hr />
]]></content>
	</entry>
	</feed>
