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

	<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-05-06T03:48:34-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Hamish]]></name></author>
		<updated>2006-05-06T03:48:34-04:00</updated>

		<published>2006-05-06T03:48:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62685#p62685</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62685#p62685"/>
		<title type="html"><![CDATA[Help with a channel protection script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62685#p62685"><![CDATA[
Ah yeah! Works perfectly thanks!<br>Now I'm gonna try a ban reset-er lol.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7551">Hamish</a> — Sat May 06, 2006 3:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-05-05T18:59:21-04:00</updated>

		<published>2006-05-05T18:59:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62656#p62656</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62656#p62656"/>
		<title type="html"><![CDATA[Help with a channel protection script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62656#p62656"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join - "#hamish *" gettopicbind topc - "#hamish *" resettopicproc gettopic {nick uhost hand chan} { if {[isbotnick $nick]} {  set ::currenttopic [topic $chan] }}proc resettopic {nick uhost hand chan topc} { global currenttopic if {[isbotnick $nick] || [string equal -nocase Hamish $nick]} {  set currenttopic $topc } {  putserv "topic $chan :$currenttopic"  putlog "Reset topic changed by $nick"  puthelp "privmsg $nick :Please don't try to change the topic on this channel..." }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri May 05, 2006 6:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Hamish]]></name></author>
		<updated>2006-05-05T16:30:37-04:00</updated>

		<published>2006-05-05T16:30:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62652#p62652</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62652#p62652"/>
		<title type="html"><![CDATA[Help with a channel protection script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62652#p62652"><![CDATA[
Ok, I've got an autoop channel (everyone is autoop on join)...<br>Of course I don't want everyone banning each other and changing the topic all the time so I tried to write a script to stop that.<br>Here what I got so far:<br><div class="codebox"><p>Code: </p><pre><code>set Hamish "Hamish"bind topc - "#hamish *" resetopc:topcproc resetopc:topc { nick uhost handle channel topic } {   global Hamish botnick  if { $nick == $Hamish } { }  if { $nick == $botnick } { }  else { puthelp "TOPIC #hamish :(original topic)"  putlog "Reset topic changed by %nick"  puthelp "PRIVMSG %NICK :Please don't try to change the topic on this channel..." }}  bind mode - * mode_proc_fix  proc mode_proc_fix {nick uhost hand chan mc {victim ""}} {    if {$victim != ""} {append mc " $victim"}    mode_proc $nick $uhost $hand $chan $mc  }</code></pre></div>I've probably done it totally wrong... It is ment to reset the topic if someone other than me changes it... And remove all bans other than ones set by me.<br>If anyone can help I'd appreciate it, thanks!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7551">Hamish</a> — Fri May 05, 2006 4:30 pm</p><hr />
]]></content>
	</entry>
	</feed>
