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

	<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-01-28T09:55:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-01-28T09:55:51-04:00</updated>

		<published>2006-01-28T09:55:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59823#p59823</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59823#p59823"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59823#p59823"><![CDATA[
It is working now.<br>Thank you very much for your help Sir_Fz.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Sat Jan 28, 2006 9:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-27T18:25:49-04:00</updated>

		<published>2006-01-27T18:25:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59800#p59800</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59800#p59800"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59800#p59800"><![CDATA[
Don't you learn anything from what you're given here? What you've got in this thread is more than enough to teach you how to do it yourself. To check if $nick equals a certain nick use:<div class="codebox"><p>Code: </p><pre><code>if {[string equal -nocase "youenick" $nick]} { # got match}</code></pre></div>Good luck.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jan 27, 2006 6:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-01-27T12:02:48-04:00</updated>

		<published>2006-01-27T12:02:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59788#p59788</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59788#p59788"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59788#p59788"><![CDATA[
But its not possible to set it with a certain name?<br>And that the bot considers the first 10 letters is unimportant now. But can the bot considers only the first word?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Fri Jan 27, 2006 12:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-27T11:50:26-04:00</updated>

		<published>2006-01-27T11:50:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59787#p59787</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59787#p59787"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59787#p59787"><![CDATA[
Bind to a certain flag (i.e. if you use <strong class="text-strong">n</strong> instead of <strong class="text-strong">-</strong> then the bot will only answer the global owner (who has the +n) flag).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jan 27, 2006 11:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-01-27T11:31:19-04:00</updated>

		<published>2006-01-27T11:31:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59785#p59785</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59785#p59785"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59785#p59785"><![CDATA[
Is it also possible that the bot only reacts when a certain nick types !donate.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Fri Jan 27, 2006 11:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-26T19:03:27-04:00</updated>

		<published>2006-01-26T19:03:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59764#p59764</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59764#p59764"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59764#p59764"><![CDATA[
Ok, before explaining anything, this triggers on a public message (chan msg not private). You wanted it to check the first 10 letters if they contain the word !donate; this is what this code does, so make sure "!donate" is in the first 10 letters.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Jan 26, 2006 7:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-01-26T17:53:29-04:00</updated>

		<published>2006-01-26T17:53:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59762#p59762</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59762#p59762"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59762#p59762"><![CDATA[
I tried exactly your script but it didnt work. And no error message appears.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Thu Jan 26, 2006 5:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-26T17:02:54-04:00</updated>

		<published>2006-01-26T17:02:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59760#p59760</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59760#p59760"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59760#p59760"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pubm - * donateproc donate {nick uhost hand chan arg} { if {[string match -nocase *!donate* [string range $arg 0 9]]} {  puthelp "privmsg $chan :!msg Donate is OFF!" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Jan 26, 2006 5:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-01-26T15:50:27-04:00</updated>

		<published>2006-01-26T15:50:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59757#p59757</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59757#p59757"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59757#p59757"><![CDATA[
WOW, it really works. Is it possible that the Bot only considers the first 10 letters?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Thu Jan 26, 2006 3:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-26T08:48:03-04:00</updated>

		<published>2006-01-26T08:48:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59744#p59744</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59744#p59744"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59744#p59744"><![CDATA[
Then use bind <strong class="text-strong">pubm</strong>. and NO, I'm not going to write it for you. Read tcl-commands.doc about the pubm bind.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Jan 26, 2006 8:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-01-26T05:13:14-04:00</updated>

		<published>2006-01-26T05:13:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59740#p59740</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59740#p59740"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59740#p59740"><![CDATA[
But it must be possible without messaging the bot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Thu Jan 26, 2006 5:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-26T05:01:05-04:00</updated>

		<published>2006-01-26T05:01:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59739#p59739</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59739#p59739"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59739#p59739"><![CDATA[
<blockquote class="uncited"><div>this will msg all channels "!msg Donate is OFF!" when someone <strong class="text-strong">msgs the bot</strong> !donate (anywhere in the sentence).</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Jan 26, 2006 5:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-01-26T02:43:48-04:00</updated>

		<published>2006-01-26T02:43:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59737#p59737</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59737#p59737"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59737#p59737"><![CDATA[
I typed this in my channel: sadfdfsg: !donate. But the bot didnt react.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Thu Jan 26, 2006 2:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-25T19:19:39-04:00</updated>

		<published>2006-01-25T19:19:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59725#p59725</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59725#p59725"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59725#p59725"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind msgm - *!donate* msg:donateproc msg:donate {nick uhost hand arg} { foreach chan [channels] {  puthelp "privmsg $chan :!msg Donate is OFF!" }}</code></pre></div>this will msg all channels "!msg Donate is OFF!" when someone msgs the bot !donate (anywhere in the sentence).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Jan 25, 2006 7:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-01-25T17:42:04-04:00</updated>

		<published>2006-01-25T17:42:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59721#p59721</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59721#p59721"/>
		<title type="html"><![CDATA[Retrieve something with !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59721#p59721"><![CDATA[
But I dont want to write everytime: /msg bot !donate #channel.<br>I only want to write !donate. It must be possible that the bot reacts also when !donate isnt at first position.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Wed Jan 25, 2006 5:42 pm</p><hr />
]]></content>
	</entry>
	</feed>
