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

	<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>2001-12-20T12:41:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-12-20T12:41:00-04:00</updated>

		<published>2001-12-20T12:41:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2962#p2962</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2962#p2962"/>
		<title type="html"><![CDATA[unbind all /msg commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2962#p2962"><![CDATA[
Note: this is one sure way to make IRCop's know this is a bot.<blockquote class="uncited"><div>proc msg:replace {nick uh hand arg} {<br>  global lastbind botnick<br>  puthelp "NOTICE $nick :Sorry $nick - I no longer support the "/msg ${botnick{ ${lastbind}" command for security reasons"<br>  puthelp "NOTICE $nick :You should join the partyline from no on"<br>}<br><br>foreach a [binds msg] {<br>if {[lindex $a 2] != "msg:replace"} {<br>unbind msg [lindex $a 1] [lindex $a 2] [lindex $a 4]<br>bind msg - [lindex $a 2] msg:replace<br>}<br>}<br>}</div></blockquote>This should provide a notice, telling the user, such a message command is no longer supported. Which command is displayed, but not it's usage, else it would be a larger script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Dec 20, 2001 12:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-20T07:27:00-04:00</updated>

		<published>2001-12-20T07:27:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2959#p2959</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2959#p2959"/>
		<title type="html"><![CDATA[unbind all /msg commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2959#p2959"><![CDATA[
<blockquote class="uncited"><div>On 2001-12-16 17:54, ppslim wrote:<br>It is inpossible to remove the use of msg bind completely, as it is needed internaly by eggdrop<br><blockquote class="uncited"><div>bind time - "01 *" unbind:time<br>proc unbind:time {min hour day month year} {<br>  foreach a [binds msg] {<br>    unbind msg [lindex $a 1] [lindex $a 2] [lindex $a 4]<br>  }<br>}</div></blockquote>That will check once an hour, and remove all msg binds.</div></blockquote>What about rebind them all to the same proc, and that proc is a "I'm telling the user I don't support /msg for security reasons, and advice to join the partyline"?<br><br>I've got this for my /msg bot OP*:<blockquote class="uncited"><div>catch "unbind msg -|- op *msg:op"<br>bind msg - op give_ops<br><br>proc give_ops {nick host hand text} {<br>global botnick<br>  putserv "NOTICE $nick :Soory $nick, but I do no longer accept 02/msg $botnick OP &lt;password&gt;02. Please join the partyline and gain @ by typing ".op"! (02/dcc chat $botnick02)"<br>}</div></blockquote>Can someone rewrite this, so that ALL msgs point to such a message?<p>Statistics: Posted by Guest — Thu Dec 20, 2001 7:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Darmoth]]></name></author>
		<updated>2001-12-17T00:11:00-04:00</updated>

		<published>2001-12-17T00:11:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2845#p2845</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2845#p2845"/>
		<title type="html"><![CDATA[unbind all /msg commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2845#p2845"><![CDATA[
Thanks alot ppslim.<br><br>That should work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=138">Darmoth</a> — Mon Dec 17, 2001 12:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-12-16T20:54:00-04:00</updated>

		<published>2001-12-16T20:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2833#p2833</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2833#p2833"/>
		<title type="html"><![CDATA[unbind all /msg commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2833#p2833"><![CDATA[
It is inpossible to remove the use of msg bind completely, as it is needed internaly by eggdrop<br><blockquote class="uncited"><div>bind time - "01 *" unbind:time<br>proc unbind:time {min hour day month year} {<br>  foreach a [binds msg] {<br>    unbind msg [lindex $a 1] [lindex $a 2] [lindex $a 4]<br>  }<br>}</div></blockquote>That will check once an hour, and remove all msg binds.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Dec 16, 2001 8:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Darmoth]]></name></author>
		<updated>2001-12-16T17:35:00-04:00</updated>

		<published>2001-12-16T17:35:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2827#p2827</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2827#p2827"/>
		<title type="html"><![CDATA[unbind all /msg commands]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2827#p2827"><![CDATA[
Hi,<br><br>may be this got asked before, but anyway, is there any way to disable the /msg commands completely ?<br>I used unbind like it is in the conf for addhost and so on, but I would like to disable the use of /msg completely.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=138">Darmoth</a> — Sun Dec 16, 2001 5:35 pm</p><hr />
]]></content>
	</entry>
	</feed>
