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

	<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>2003-02-12T16:48:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[dvV]]></name></author>
		<updated>2003-02-12T16:48:35-04:00</updated>

		<published>2003-02-12T16:48:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16502#p16502</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16502#p16502"/>
		<title type="html"><![CDATA[onotice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16502#p16502"><![CDATA[
op notices are just regular notices actually i have been using this nice script by Wcc for some time...<div class="codebox"><p>Code: </p><pre><code>#set the flags of who can use opnotice/opmessage.set opnoteflag "n"# Set the op-notice command here. set opnotice_setting(onotice) "onot"# Set the op-msg command here.set opnotice_setting(omsg) "omsg"# Does your network support /notice @#channel?set opnotice_setting(chantarg) 1# Enable use of bold in DCC chat?set opnotice_setting(bold) 1# Prefix "OPNOTICE:" in DCC chat messages?set opnotice_setting(OPNOTICE:) 1proc opnotice_dopre {} {if {!$::opnotice_setting(OPNOTICE:)} { return "" }if {!$::opnotice_setting(bold)} { return "OPNOTICE: " }return "\002OPNOTICE:\002 "}proc opnotice_onotice {hand idx text} {if {[string compare [join [lrange [split $text] 1 1]] ""] == 0} { putdcc $idx "[opnotice_dopre]Usage: .$::opnotice_setting(onotice) &lt;channel&gt; &lt;message&gt;" ; return }if {![matchattr $hand o|o [set chan [join [lrange [split $text] 0 0]]]]} { putdcc $idx "What? You need '.help'" ; return }if {![botisop $chan] &amp;&amp; ![matchattr $hand +n]} { putdcc $idx "[opnotice_dopre]I do not have ops on $chan, and you do not have access to override." ; return }putdcc $idx "[opnotice_dopre][set data "[join [lrange [split $text] 1 end]]"]"if {$::opnotice_setting(chantarg)} { putserv "NOTICE @$chan :$data" ; return }foreach o [chanlist $chan] {if {[isop $o $chan] &amp;&amp; ![isbotnick $o]} { putserv "NOTICE $o :$data" }}}proc opnotice_omsg {hand idx text} {if {[string compare [join [lrange [split $text] 1 1]] ""] == 0} { putdcc $idx "[opnotice_dopre]Usage: .$::opnotice_setting(omsg) &lt;channel&gt; &lt;message&gt;" ; return }if {![matchattr $hand o|o [set chan [lindex [split $text] 0]]]} { putdcc $idx "What? You need '.help'" ; return }if {![botisop $chan] &amp;&amp; ![matchattr $hand +n]} { putdcc $idx "[opnotice_dopre]I do not have ops on $chan, and you do not have access to override." ; return }putdcc $idx "[opnotice_dopre][set data "[join [lrange [split $text] 1 end]]"]"foreach o [chanlist $chan] {if {[isop $o $chan] &amp;&amp; ![isbotnick $o]} { putserv "PRIVMSG $o :$data" }}}bind dcc $opnoteflag $opnotice_setting(onotice) opnotice_onoticebind dcc $opnoteflag $opnotice_setting(omsg) opnotice_omsg</code></pre></div>dvV<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2609">dvV</a> — Wed Feb 12, 2003 4:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simonbell]]></name></author>
		<updated>2003-02-12T16:25:24-04:00</updated>

		<published>2003-02-12T16:25:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16498#p16498</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16498#p16498"/>
		<title type="html"><![CDATA[onotice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16498#p16498"><![CDATA[
Hi<br><br>How can i get eggdrop to catch onotice's<br><br>Ive tried the standard notc bind but it doesnt seem to register anything. I also looked through the irc rfc and i couldnt see any numerics relating to op notices.<br><br>thanks<br>Simon<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1696">simonbell</a> — Wed Feb 12, 2003 4:25 pm</p><hr />
]]></content>
	</entry>
	</feed>
