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

	<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-10-02T15:21:45-04:00</updated>

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

		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-10-02T15:21:45-04:00</updated>

		<published>2006-10-02T15:21:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66884#p66884</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66884#p66884"/>
		<title type="html"><![CDATA[Topic change command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66884#p66884"><![CDATA[
Ohh.. my bad, hehe lack of sleep again, but thank you guys, its working, will think of more stuff to add, after I read some more.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Mon Oct 02, 2006 3:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-10-02T11:07:38-04:00</updated>

		<published>2006-10-02T11:07:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66873#p66873</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66873#p66873"/>
		<title type="html"><![CDATA[Topic change command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66873#p66873"><![CDATA[
Yep, use "o" (or "o|o" to allow local ops to use it aswell) as flag, not "o-"<div class="codebox"><p>Code: </p><pre><code>...bind pub o|o !up pub_up...</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Oct 02, 2006 11:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-10-02T05:01:39-04:00</updated>

		<published>2006-10-02T05:01:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66867#p66867</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66867#p66867"/>
		<title type="html"><![CDATA[Topic change command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66867#p66867"><![CDATA[
I rehashed, didnt change anything, I restarted still the same.<br>This is what I have, but still everyone can do it:<div class="codebox"><p>Code: </p><pre><code>#proc pub_up {nick uhost hand chan rest} {    putserv "TOPIC $chan :Site Up"    return 0  }bind pub o- !up pub_up#proc pub_down {nick uhost hand chan rest} {    putserv "TOPIC $chan :Site Down"    return 0  }bind pub o- !down pub_down# </code></pre></div>Any ideas?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Mon Oct 02, 2006 5:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-09-30T18:11:48-04:00</updated>

		<published>2006-09-30T18:11:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66821#p66821</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66821#p66821"/>
		<title type="html"><![CDATA[Topic change command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66821#p66821"><![CDATA[
well did you rehash/ restart?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sat Sep 30, 2006 6:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-09-30T16:59:36-04:00</updated>

		<published>2006-09-30T16:59:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66819#p66819</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66819#p66819"/>
		<title type="html"><![CDATA[Topic change command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66819#p66819"><![CDATA[
Doh, my bad I actually knew this about flags, maybe im just tired hehe, but thanks anyway, and I havent tested it yet, but will do so soon.<br><br>*EDIT*<br>It works but I put in o but still every one can use the command.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Sat Sep 30, 2006 4:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-09-30T14:21:36-04:00</updated>

		<published>2006-09-30T14:21:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66816#p66816</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66816#p66816"/>
		<title type="html"><![CDATA[Topic change command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66816#p66816"><![CDATA[
by changing the bind depending what flag you give ops to use the bot... example o flag change bind pub - to bind pub o<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sat Sep 30, 2006 2:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-09-30T14:08:47-04:00</updated>

		<published>2006-09-30T14:08:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66814#p66814</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66814#p66814"/>
		<title type="html"><![CDATA[Topic change command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66814#p66814"><![CDATA[
Thanks will test it later, but how would I make it so only op's and above can use the command?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Sat Sep 30, 2006 2:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-09-30T14:06:10-04:00</updated>

		<published>2006-09-30T14:06:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66812#p66812</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66812#p66812"/>
		<title type="html"><![CDATA[Topic change command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66812#p66812"><![CDATA[
Am still learning tcl I think this should work.<br><div class="codebox"><p>Code: </p><pre><code>#proc pub_siteisup {nick uhost hand chan rest} {    putserv "TOPIC $chan :The Site is up!"    return 0  }bind pub - !siteup pub_siteisup#proc pub_siteisdown {nick uhost hand chan rest} {    putserv "TOPIC $chan :The Site is down!"    return 0  }bind pub - !sitedown pub_siteisdown#</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sat Sep 30, 2006 2:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-09-30T13:55:22-04:00</updated>

		<published>2006-09-30T13:55:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66810#p66810</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66810#p66810"/>
		<title type="html"><![CDATA[Topic change command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66810#p66810"><![CDATA[
I have the PubModes.tcl script<br>And there is a command for changing topic<br>But I want it to have 2 topics<br>like if I type:<br>!siteup<br>It will change the topic to something like The Site Is UP<br>and<br>!sitedown<br>It will change the topic to something like The Site Is Down<br><br>this is a snippet from the pubmodes.tcl<div class="codebox"><p>Code: </p><pre><code>#===========topic============proc modes:topic {nick userhost handle  chan text} {set topic $textif {$topic != ""} {     putserv  "TOPIC $chan :$topic" }}</code></pre></div>I was thinking if this could be modified to please my needs<br>or if a new script is needed?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Sat Sep 30, 2006 1:55 pm</p><hr />
]]></content>
	</entry>
	</feed>
