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

	<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>2009-12-16T14:30:02-04:00</updated>

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

		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2009-12-16T14:30:02-04:00</updated>

		<published>2009-12-16T14:30:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91357#p91357</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91357#p91357"/>
		<title type="html"><![CDATA[Some help addop delop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91357#p91357"><![CDATA[
Ah i see i want it so +SA users can add delop<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Wed Dec 16, 2009 2:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2009-12-16T14:27:57-04:00</updated>

		<published>2009-12-16T14:27:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91355#p91355</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91355#p91355"/>
		<title type="html"><![CDATA[Some help addop delop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91355#p91355"><![CDATA[
This script was written to add the user him/herself, not someone else.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Dec 16, 2009 2:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2009-12-16T14:25:45-04:00</updated>

		<published>2009-12-16T14:25:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91354#p91354</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91354#p91354"/>
		<title type="html"><![CDATA[Some help addop delop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91354#p91354"><![CDATA[
addop dont seem to work when i do addop nickname<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Wed Dec 16, 2009 2:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2009-12-16T13:56:54-04:00</updated>

		<published>2009-12-16T13:56:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91351#p91351</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91351#p91351"/>
		<title type="html"><![CDATA[Some help addop delop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91351#p91351"><![CDATA[
Minor typo in there.<br><div class="codebox"><p>Code: </p><pre><code>proc cmd:addop {nick host hand text} { if {![validuser $hand]} {  set hand [string range $nick 0 8]  if {![validuser $hand]} {   adduser [string range $nick 0 8] [maskhost "${nick}!${host}"]  } else {   puthelp "PRIVMSG $nick :Unable to register new handle"   return 1  } } chattr $hand "+ho"}</code></pre></div>For "delete op", reverse logic and use deluser to remove the user record, or chattr to remove the flags (deluser shown below):<div class="codebox"><p>Code: </p><pre><code>bind msg ho delop cmd:delopproc cmd:delop {nick host hand text} { if {[validuser $hand]} {  deluser $hand }}</code></pre></div>Chattr version:<div class="codebox"><p>Code: </p><pre><code>bind msg ho delop cmd:delopproc cmd:delop {nick host hand text} { if {[validuser $hand]} {  chattr $hand "-ho" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Dec 16, 2009 1:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2009-12-16T13:43:58-04:00</updated>

		<published>2009-12-16T13:43:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91348#p91348</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91348#p91348"/>
		<title type="html"><![CDATA[Some help addop delop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91348#p91348"><![CDATA[
Hey found this bit of code by nml for addop has a small error <br><br>Tcl error [msg:addop]: missing "<br><br>Also how can i go about adding delop to this, addop needs to be global so basicaly will need to do adduser nick then chattr handle +flags<br><br><br><div class="codebox"><p>Code: </p><pre><code>bind msg SA addop cmd:addopproc cmd:addop {nick host hand text} { if {![validuser $hand]} {  set hand [string range $nick 0 8]  if {![validuser $hand]} {   adduser [string range $nick 0 8] [maskhost "${nick}!${host}]  } else {   puthelp "PRIVMSG $nick :Unable to register new handle"   return 1  } } chattr $hand "+ho"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Wed Dec 16, 2009 1:43 pm</p><hr />
]]></content>
	</entry>
	</feed>
