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

	<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>2004-06-27T16:57:08-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-27T16:57:08-04:00</updated>

		<published>2004-06-27T16:57:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37948#p37948</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37948#p37948"/>
		<title type="html"><![CDATA[chan mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37948#p37948"><![CDATA[
Yes if you have too many useless scripts remove them, they might clash with other fine working ones.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Jun 27, 2004 4:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DarkJFMan]]></name></author>
		<updated>2004-06-27T16:28:24-04:00</updated>

		<published>2004-06-27T16:28:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37944#p37944</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37944#p37944"/>
		<title type="html"><![CDATA[chan mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37944#p37944"><![CDATA[
yea it's working fine, the only probelm i had too many scripts in same file, when i put it on a new file then it worked fine.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4261">DarkJFMan</a> — Sun Jun 27, 2004 4:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-27T15:21:01-04:00</updated>

		<published>2004-06-27T15:21:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37938#p37938</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37938#p37938"/>
		<title type="html"><![CDATA[chan mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37938#p37938"><![CDATA[
I am clueless, to me this is a very simple piece of code, quite<br>straight forward and should work. hmmmm   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Jun 27, 2004 3:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DarkJFMan]]></name></author>
		<updated>2004-06-26T19:32:55-04:00</updated>

		<published>2004-06-26T19:32:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37914#p37914</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37914#p37914"/>
		<title type="html"><![CDATA[chan mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37914#p37914"><![CDATA[
for some reason, it won't work i tried "if", "elseif", "else" none of them allowed an op to change the topic. Any ideas?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4261">DarkJFMan</a> — Sat Jun 26, 2004 7:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-26T17:03:07-04:00</updated>

		<published>2004-06-26T17:03:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37906#p37906</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37906#p37906"/>
		<title type="html"><![CDATA[chan mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37906#p37906"><![CDATA[
This is not the best way for doing, what you are trying to do.<br>There is a more better and easier technique for doing this.<br>Try this code:<br><div class="codebox"><p>Code: </p><pre><code>bind pub - `mode pub:mode proc pub:mode {nick uhost hand chan arg} {  set modechan [lindex $arg 0]   if {($modechan == "")} {    putserv "NOTICE $nick :The correct way of using `mode is - `mode +/-&lt;chan mode&gt;"    return 0   }   if {[isop $nick $chan]} {    putserv "MODE $chan $modechan"   return 0  }   if {![isop $nick $chan]} {   putserv "NOTICE $nick :You don't have acess over this command."  return 0  } }</code></pre></div>You can change the last 'if' to 'elseif' or 'else' depending upon how<br>you want it to function, supponsingly if you have many if statements.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sat Jun 26, 2004 5:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-06-26T11:40:30-04:00</updated>

		<published>2004-06-26T11:40:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37901#p37901</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37901#p37901"/>
		<title type="html"><![CDATA[chan mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37901#p37901"><![CDATA[
you wouldnt happen to be on a ircd server (unreald) where they have ~and &amp; flags ?<br><br>if you do, make sure that your net-type setting and set opchar setting is correct. otherwise isop/isvoice wont work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Sat Jun 26, 2004 11:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DarkJFMan]]></name></author>
		<updated>2004-06-26T11:31:17-04:00</updated>

		<published>2004-06-26T11:31:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37900#p37900</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37900#p37900"/>
		<title type="html"><![CDATA[chan mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37900#p37900"><![CDATA[
weird, even tho it should be on the chan, because everytime i add remove someon as an op, i have to do it to bot too. <br><br>i never messed the bot's list, can you tell me how you add an op the bot's list?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4261">DarkJFMan</a> — Sat Jun 26, 2004 11:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-06-26T09:01:11-04:00</updated>

		<published>2004-06-26T09:01:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37896#p37896</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37896#p37896"/>
		<title type="html"><![CDATA[chan mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37896#p37896"><![CDATA[
<blockquote class="uncited"><div>  isop &lt;nickname&gt; [channel]<br>    Returns: 1 if someone by the specified nickname is on the channel (or<br>      any channel if no channel name is specified) and has ops; 0 otherwise<br>    Module: irc</div></blockquote>Seems that should work.  Try a test by adding them as an op in the bot and see what happens.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat Jun 26, 2004 9:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DarkJFMan]]></name></author>
		<updated>2004-06-26T04:27:49-04:00</updated>

		<published>2004-06-26T04:27:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37891#p37891</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37891#p37891"/>
		<title type="html"><![CDATA[chan mode script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37891#p37891"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - `mode pub:modeproc pub:mode {nick uhost hand chan arg} {set modechan [lindex $arg 0]if {$modechan == ""} {putserv "NOTICE $nick :The correct way of using `mode is - `mode +/-&lt;chan mode&gt;"return 0 }if {![isop $nick $chan]} {putserv "NOTICE $nick :You don't have acess over this command."} else {putserv "MODE $chan $modechan"}}</code></pre></div>Even if an op uses `mode comannd he's noticed "You don't have access over this command" any ideas why?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4261">DarkJFMan</a> — Sat Jun 26, 2004 4:27 am</p><hr />
]]></content>
	</entry>
	</feed>
