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

	<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>2002-03-04T11:46:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2002-03-04T11:46:00-04:00</updated>

		<published>2002-03-04T11:46:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5037#p5037</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5037#p5037"/>
		<title type="html"><![CDATA[Auto Auth System]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5037#p5037"><![CDATA[
iirc, setting its value to a null length string (ie "") should clear it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Mon Mar 04, 2002 11:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-04T11:04:00-04:00</updated>

		<published>2002-03-04T11:04:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5036#p5036</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5036#p5036"/>
		<title type="html"><![CDATA[Auto Auth System]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5036#p5036"><![CDATA[
I have made a script that adds a XTRA for when a person is suspend for the reason...<br><br>Eg. XTRA SUSPEND &lt;reason&gt;<br><br>Now i am after a command that when you unsuspend a person that it removed the XTRA from the userfile.. is there anyway to do it??<br><br>Thanx Kissmine<p>Statistics: Posted by Guest — Mon Mar 04, 2002 11:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-02-25T22:28:00-04:00</updated>

		<published>2002-02-25T22:28:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4923#p4923</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4923#p4923"/>
		<title type="html"><![CDATA[Auto Auth System]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4923#p4923"><![CDATA[
set adminlevel [getuser $nick XTRA ADMIN] <br>if {($adminlevel &gt;= "200" &amp;&amp; $adminlevel &lt;= "500")} { <br>puthelp "PRIVMSG $homechan :[02Admin02] - $hand02[02$nick!$uhost02]02 $adminlevel Administrator" <br>}<p>Statistics: Posted by Guest — Mon Feb 25, 2002 10:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-02-25T05:39:00-04:00</updated>

		<published>2002-02-25T05:39:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4910#p4910</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4910#p4910"/>
		<title type="html"><![CDATA[Auto Auth System]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4910#p4910"><![CDATA[
Just another bug...<br><br>set adminlevel [getuser $nick XTRA ADMIN]<br>       if {($adminlevel &lt;= "200" &amp;&amp; $adminlevel &gt;= "500")} {<br>       puthelp "PRIVMSG $homechan :[02Admin02] - $hand02[02$nick!$uhost02]02 $adminlevel Administrator"<br>      } <br><br>I am trying to make the bot check the user file for the XTRA ADMIN level.. then check to see if it is not &lt; 200 or &gt; 500. then make to say the command... But it not working. Anyone help.<br><br>Kissmine<p>Statistics: Posted by Guest — Mon Feb 25, 2002 5:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-02-23T08:28:00-04:00</updated>

		<published>2002-02-23T08:28:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4857#p4857</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4857#p4857"/>
		<title type="html"><![CDATA[Auto Auth System]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4857#p4857"><![CDATA[
Thanx i stayed up working on it till 4am... All works now<p>Statistics: Posted by Guest — Sat Feb 23, 2002 8:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-02-22T22:17:00-04:00</updated>

		<published>2002-02-22T22:17:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4848#p4848</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4848#p4848"/>
		<title type="html"><![CDATA[Auto Auth System]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4848#p4848"><![CDATA[
I'm not sure but try this:<br><br>proc part_deauth {nick uhost hand chan} { <br><br> global homechan <br><br> if { $hand == "*" } { return 0 } <br> if {([getuser $hand XTRA auth] == "0") || ([getuser $hand XTRA auth] == "DEAD")} {return 0} <br> set ostava 0<br> foreach kanal [channels] {<br>  if {($kanal != $chan) &amp;&amp; ([onchan $nick $kanal])} { set ostava 1 }<br> }<br> if {$ostava == 0} {<br>  setuser $hand XTRA AUTH 0 <br>  set tmphost "*![getuser $hand XTRA USERHOST]" <br>  delhost $hand $tmphost <br>  puthelp "PRIVMSG $homechan :[02Deauth02] - 02[02$nick!$uhost02]02 Parted All Deauthentication successfully" <br>  putcmdlog "&lt;&lt;$nick&gt;&gt; ($uhost) !$hand! Temporary hostmask $tmphost removed." <br>  save <br> }<br>}<p>Statistics: Posted by Guest — Fri Feb 22, 2002 10:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-02-21T11:20:00-04:00</updated>

		<published>2002-02-21T11:20:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4781#p4781</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4781#p4781"/>
		<title type="html"><![CDATA[Auto Auth System]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4781#p4781"><![CDATA[
I have been scripting for a while and are getting some upgrades to my bot (the harder stuff).. I made a Auth System for my bot and when the person parts a chan it Deauths them..<br><br>coding<br>proc part_deauth {nick uhost hand chan} {<br>  global homechan botnick <br>  if { $hand == "*" } { return 0 }<br>  if {([getuser $hand XTRA auth] == "0") || ([getuser $hand XTRA auth] == "DEAD")} {return 0}<br>  setuser $hand XTRA AUTH 0<br>  set tmphost "*![getuser $hand XTRA USERHOST]"<br>  delhost $hand $tmphost<br>  puthelp "PRIVMSG $homechan :[02Deauth02] - 02[02$nick!$uhost02]02 Parted All Deauthentication successfully"<br>  putcmdlog "&lt;&lt;$nick&gt;&gt; ($uhost) !$hand! Temporary hostmask $tmphost removed."<br>  save<br> }<br>}  <br><br>Now what i am trying to do (and have noidea) is that i am trying to make the bot check to see if the person is still in one of the bots chan (so that it don't deauth them untill they have left all chans that the bot is in) I would love anyhelp that people can give me..<br><br>Thanx Adz<p>Statistics: Posted by Guest — Thu Feb 21, 2002 11:20 am</p><hr />
]]></content>
	</entry>
	</feed>
