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

	<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>2012-02-10T17:37:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2012-02-10T17:37:17-04:00</updated>

		<published>2012-02-10T17:37:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98760#p98760</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98760#p98760"/>
		<title type="html"><![CDATA[timer and set topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98760#p98760"><![CDATA[
Thanks speechless that worked it was recieving it in bold text<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Fri Feb 10, 2012 5:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2012-02-10T16:35:55-04:00</updated>

		<published>2012-02-10T16:35:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98758#p98758</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98758#p98758"/>
		<title type="html"><![CDATA[timer and set topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98758#p98758"><![CDATA[
<blockquote class="uncited"><div>Thanks speechless I`ve tried this but it dont do any thing this is the full notice it recieves<br><br> -GamesBot (<a href="mailto:GamesBot@staff.cwukchat.com">GamesBot@staff.cwukchat.com</a>)- This month:  1. concrete_angel (2553) 2. hammer (1835) 3. crow_lestat (1829)<br><br>Only part I want set in the topic is 1. concrete_angel (2553) 2. hammer (1835) 3. crow_lestat (1829)</div></blockquote>The code I provided above does do this. You aren't being honest in your statement above...<br><blockquote class="uncited"><div>This month:  1. concrete_angel (2553) 2. hammer (1835) 3. crow_lestat (1829)</div></blockquote>Is that literally what the bot notices you? Because if it is, my code above would have worked. Is there any color, bold, etc in there one would need to be made aware of? If so, use the code below...<br><div class="codebox"><p>Code: </p><pre><code>bind notc - "*" user:noticeproc user:notice {nick uhost handle text dest} {  set text [stripcodes bcruag $text]  if {[string equal -nocase "gamesbot" $nick] &amp;&amp; [string match -nocase "this month:*" $text]} {    putserv "TOPIC #Countdown :\002Top 3 Players\002: [string trim [join [lrange [split $text {:}] 1 end]]]"  }   } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Fri Feb 10, 2012 4:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2012-02-10T09:09:04-04:00</updated>

		<published>2012-02-10T09:09:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98757#p98757</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98757#p98757"/>
		<title type="html"><![CDATA[timer and set topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98757#p98757"><![CDATA[
Thanks speechless I`ve tried this but it dont do any thing this is the full notice it recieves<br><br> -GamesBot (<a href="mailto:GamesBot@staff.cwukchat.com">GamesBot@staff.cwukchat.com</a>)- This month:  1. concrete_angel (2553) 2. hammer (1835) 3. crow_lestat (1829)<br><br>Only part I want set in the topic is 1. concrete_angel (2553) 2. hammer (1835) 3. crow_lestat (1829)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Fri Feb 10, 2012 9:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2012-02-10T00:19:27-04:00</updated>

		<published>2012-02-10T00:19:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98756#p98756</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98756#p98756"/>
		<title type="html"><![CDATA[timer and set topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98756#p98756"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind notc - "*" user:notice proc user:notice {nick uhost handle text dest} {   if {[string equal -nocase "gamesbot" $nick] &amp;&amp; [string match -nocase "this month:*" $text]} {    putserv "TOPIC #Countdown :\002Top 3 Players\002: [string trim [join [lrange [split $text {:}] 1 end]]]"   }    } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Fri Feb 10, 2012 12:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2012-02-09T21:47:19-04:00</updated>

		<published>2012-02-09T21:47:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98755#p98755</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98755#p98755"/>
		<title type="html"><![CDATA[timer and set topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98755#p98755"><![CDATA[
Okay I have this partially doing what I want it to do on notice it sets the channel topic but it uses the whole of the notice text<br><div class="codebox"><p>Code: </p><pre><code>bind notc - "*" user:notice proc user:notice {nick uhost handle text dest} {    if {"GamesBot"=="$nick"} {       putserv "TOPIC #Countdown :Top 3 Players $text"      }    } </code></pre></div>This is what it is setting in the topic <br>This month: 1. nick1 (545) 2. nick2 (537) 3. nick3 (194) <br><br>how do i go about getting it to ignore this part in the notice (This Month:) all i want it to show is 1. nick1 (545) 2. nick2 (537) 3. nick3 (194)<br><br>Also if my eggdrop joins my games channel it gets messaged by my gamesbot and sets the topic for any notice it recieves from it can it be set so that it only sets the topic if recieves a notice matching a specific set of text<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Thu Feb 09, 2012 9:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2012-02-05T17:33:19-04:00</updated>

		<published>2012-02-05T17:33:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98718#p98718</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98718#p98718"/>
		<title type="html"><![CDATA[timer and set topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98718#p98718"><![CDATA[
Hey<br><br>Can someone help with this im looking to get a script that will send a command to a channel every 30 days command is !scores my eggdrop is then noticed of the top 3 ranked players for that month<br><br>Notice recieved<br>-GamesBot (<a href="mailto:GamesBot@staff.someserver.com">GamesBot@staff.someserver.com</a>)- This month:  1. nick1 (545) 2. nick2 (537) 3. nick3 (194)<br><br>id like to then get my bot to set the room topic with /topic #channelname Top three ranked players last month are 1. nick1 (545) 2. nick2 (537) 3. nick3 (194) well done (this bit is left out -GamesBot (<a href="mailto:GamesBot@staff.someserver.com">GamesBot@staff.someserver.com</a>)- )<br><br>bot will then message the channel with command !resetscores<br><br>many thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Sun Feb 05, 2012 5:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
