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

	<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-07-06T08:30:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[NoFear]]></name></author>
		<updated>2004-07-06T08:30:46-04:00</updated>

		<published>2004-07-06T08:30:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38261#p38261</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38261#p38261"/>
		<title type="html"><![CDATA[my superbitch.tcl, but i have little problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38261#p38261"><![CDATA[
Ok,.. I started writing on my SuperBitch.tcl,.. Had little problems.. But awyeah helped me.. Ok.. Here is the code..<br><div class="codebox"><p>Code: </p><pre><code># nofear BiTcH TcL v1.0# Contact By E-Mail: elnofear@email.si# Contact By IrC: #H-Town @ IRCNeT# Enjoy..# SeTTiNgS..# List of chans that Bitch will work on (Leave "*" for all chans)set chans "*"# Flags for users that can op in channelsset allowed "bmn|m"# Codebind mode - "*+o*" bitchproc bitch {nick uhost hand chan mode target} { global botnick chans allowed  if {([lsearch -exact [split [string tolower $chans]] [string tolower $chan]] != -1) || ($chans == "*")} {   if {($mode == "+o") &amp;&amp; ($nick != $botnick) &amp;&amp; ($target != $botnick) &amp;&amp; ([botisop $chan]) &amp;&amp; (![matchattr $hand $allowed])} {    putquick "KICK $chan $nick :Permission Denied"    putquick "KICK $chan $target :Permission Denied"    }  } }putlog "BiTcH By nofear v1.0 Loaded"</code></pre></div>Please.. I'm missing the part of the code.. Like this..<br><br>If an user with no flags ops me (i'm owner), we both get kicked, i don't want that.. so i don't know what to type so that users with bnmo|nm flags can be opped by users with no flags<br><br>Mybee that bot ignores users with these flags (bnmo|nm) and do nothing to both $opped and $nick ?<br>I don't know.. Pls Help  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><br><br>Owk.. it's done.. i publish the code here.. it's just simple bitch..<br><div class="codebox"><p>Code: </p><pre><code># nofear BiTcH TcL v1.0# Contact By E-Mail: elnofear@email.si# Contact By IrC: #H-Town @ IRCNeT# Enjoy..# SeTTiNgS..# List of chans that Bitch will work on (Leave "*" for all chans)set chans "*"# Flags for users that can op in channelsset allowed "bmn|m"# Flags for users that can be opped by users with no flagsset allowedops "bomn|mn"# Codebind mode - "*+o*" bitchproc bitch {nick uhost hand chan mode target} {global botnick chans allowed allowedops   if {([lsearch -exact [split [string tolower $chans]] [string tolower $chan]] != -1) || ($chans == "*")} {     if {[matchattr $target $allowedops $chan]} { return }   if {($mode == "+o") &amp;&amp; ($nick != $botnick) &amp;&amp; ($target != $botnick) &amp;&amp; ([botisop $chan]) &amp;&amp; (![matchattr $hand $allowed])} {      putquick "KICK $chan $nick :Permission Denied"      putquick "KICK $chan $target :Permission Denied"      }    }   }putlog "BiTcH By nofear v1.0 Loaded"</code></pre></div>There you go.. c'ya all, actually this was my first script  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3825">NoFear</a> — Tue Jul 06, 2004 8:30 am</p><hr />
]]></content>
	</entry>
	</feed>
