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

	<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-11-17T18:24:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-17T18:24:58-04:00</updated>

		<published>2003-11-17T18:24:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30205#p30205</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30205#p30205"/>
		<title type="html"><![CDATA[i need small thing witch do -o user before ban...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30205#p30205"><![CDATA[
<blockquote class="uncited"><div>[snip]<div class="codebox"><p>Code: </p><pre><code>[snip] putquick "KICK $chan $chanuser :$nick: $reason</code></pre></div></div></blockquote>use <strong class="text-strong">putquick "KICK $chan $who :$reason"</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Nov 17, 2003 6:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2003-11-17T18:12:32-04:00</updated>

		<published>2003-11-17T18:12:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30203#p30203</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30203#p30203"/>
		<title type="html"><![CDATA[i need small thing witch do -o user before ban...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30203#p30203"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>putquick "MODE $chan +b-o $banmask $who" </code></pre></div>or<br><div class="codebox"><p>Code: </p><pre><code>putquick "MODE $chan -o $who" putquick "MODE $chan +b $banmask" putquick "KICK $chan $chanuser :$nick: $reason</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Mon Nov 17, 2003 6:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-17T18:07:11-04:00</updated>

		<published>2003-11-17T18:07:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30202#p30202</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30202#p30202"/>
		<title type="html"><![CDATA[hmm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30202#p30202"><![CDATA[
hmm when i start use it , i thought its ok when we were 2 on channel me and bot but look at tshis <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> on other channel:<br><br>[16:01:25] &lt;Taxi[USA]&gt; !ban Rhythm<br>[16:01:25] * Reject sets mode: -o+b Taxi[USA] *!*~Romka@159.148.154.*<br>[16:01:26] * Rhythm was kicked by Reject (Banned)<br><br>Bot remove op mode not from victim but from me... isnt it wrong?<br>and <br>if {$reason == ""} {set reason "Banned becose of rules violations"}<br><br> doesnt show this trigger, just show  banned.... <br><br> and by the way, the bot ban this person, but doent see this ban after that when i use command .bans all <br><br>???<p>Statistics: Posted by Guest — Mon Nov 17, 2003 6:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-17T17:38:18-04:00</updated>

		<published>2003-11-17T17:38:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30199#p30199</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30199#p30199"/>
		<title type="html"><![CDATA[:)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30199#p30199"><![CDATA[
Txh again guys, all works very good.....<br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Mon Nov 17, 2003 5:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-17T09:29:10-04:00</updated>

		<published>2003-11-17T09:29:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30181#p30181</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30181#p30181"/>
		<title type="html"><![CDATA[i need small thing witch do -o user before ban...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30181#p30181"><![CDATA[
you can use <strong class="text-strong">putquick "MODE $chan +b-o $banmask $nick"</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Nov 17, 2003 9:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2003-11-17T03:00:15-04:00</updated>

		<published>2003-11-17T03:00:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30166#p30166</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30166#p30166"/>
		<title type="html"><![CDATA[i need small thing witch do -o user before ban...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30166#p30166"><![CDATA[
putserv "MODE $chan +b $banmask" <br>putserv "KICK $chan $chanuser :$nick: $reason<br><br>Before this put:<div class="codebox"><p>Code: </p><pre><code>putserv "MODE $chan -o $nick"</code></pre></div>and script would be also little fast, if you would out like this:<div class="codebox"><p>Code: </p><pre><code>putquick "MODE $chan -o $nick"putquick "MODE $chan +b $banmask" putquick "KICK $chan $chanuser :$nick: $reason</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Mon Nov 17, 2003 3:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-17T02:48:59-04:00</updated>

		<published>2003-11-17T02:48:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=30165#p30165</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=30165#p30165"/>
		<title type="html"><![CDATA[i need small thing witch do -o user before ban...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=30165#p30165"><![CDATA[
Probably everyone know what is this, yeah part of lol.tcl script, so what i need, if somebody can explain me, : Bot should do -o+b user before ban, becose some of the users got protect on themself... <br>Looks like : <br><br>CAXAP sets mode: -o+b CnuT *!*@159.148.13.146<br>CnuT was kicked by the CAXAP (Banned)<br><br><br> pretty simple , but i cant figured ,<br> there is the whole !ban script <br><br>### !BAN &lt;nick|mask&gt; [time] [reason]<br><br>proc pub_lol_ban {nick host hand chan arg} {<br>set arg [charfilter $arg]<br>global lol botnick<br>if {![check $hand $nick $host]} {<br>if {$lol(silent) == 1 || [checksilent $hand]} {return 0}<br>                puthelp "NOTICE $nick :You need to be identified to use this function. Type .identhelp in the partyline for more info. : \002/msg $botnick id &lt;password&gt;\002 or \002/msg $botnick silent &lt;password&gt;\002 to no more receive this warning."<br>return 0<br>}<br>if {[llength $arg] &lt; 1} {<br>puthelp "NOTICE $nick :\002Usage:\002 [string trim $lol(cmdchar)]ban &lt;nick|mask&gt; \[time\] \[reason\]"<br>return 0<br>}<br>set who [lindex $arg 0]<br>set ti [lindex $arg 1]<br>if {[number $ti]} {<br>set reason [lrange $arg 2 end]<br>} {<br>set ti ""<br>set reason [lrange $arg 1 end]<br>}<br>if {$reason == ""} {set reason "Visit our Website to see the rules at <a href="http://www.taxi-irc.times.lv" class="postlink">www.taxi-irc.times.lv</a>"}<br>if {[string first "*" $who] != -1 || [string first "?" $who] != -1} {<br>if {$reason == "requested"} {set reason "MaskBan: $who"}<br>set who [strlwr $who]<br>set bancount 0<br>set flags "-$lol(no_ban_flags)&amp;-$lol(no_ban_flags)"<br>if {$lol(no_ban_flags) == ""} {<br>set list [strlwr [chanlist $chan]]<br>} {<br>set list [strlwr [chanlist $chan $flags]]<br>}<br>foreach chanuser $list {<br>set banmask ""<br>if {[string match [strlwr $who] [strlwr $chanuser]] &amp;&amp; $chanuser != [strlwr $botnick] &amp;&amp; $chanuser != [strlwr $nick] &amp;&amp; ![isop $chanuser $chan] &amp;&amp; ![isvoice $chanuser $chan]} {<br>incr bancount<br>set ipmask [lindex [split [maskhost $chanuser![getchanhost $chanuser $chan]] "@"] 1]<br>set userm [lindex [split [getchanhost $chanuser $chan] "@"] 0]<br>set banmask *!*$userm@$ipmask<br>newchanban $chan $banmask $nick $reason<br>if {[botisop $chan]} {<br>putserv "MODE $chan +b $banmask"<br>putserv "KICK $chan $chanuser :$nick: $reason"<br>}<br>}<br>}<br>if {$bancount == 0} {<br>                        puthelp "NOTICE $nick :Sorry but no one matches this mask."<br>}<br>} {<br>if {![onchan $who $chan]} {<br>                        puthelp "NOTICE $nick :Sorry, but I don't see $who in $chan."<br>return 0<br>}<br>if {[strlwr $who] == [strlwr $botnick]} {<br>puthelp "NOTICE $nick :Yeah right, like I'm going to let you ban ME!"<br>return 0<br>}<br>if {[nick2hand $who $chan] != "*"} {<br>if {$hand != [nick2hand $who $chan]} {<br>if {[matchattr [nick2hand $who $chan] o|o $chan] &amp;&amp; ![matchattr $hand o|o $chan]} {<br>                                        puthelp "NOTICE $nick :Sorry, you must be an operator to ban an operator."<br>return 0<br>}<br>if {([matchattr [nick2hand $who $chan] m|m $chan] || [matchattr [nick2hand $who $chan] b]) &amp;&amp; ![matchattr $hand m|m $chan]} {<br>                                        puthelp "NOTICE $nick :Sorry, you must be a master to ban a master or a bot."<br>return 0<br>}<br>}<br>}<br>set ipmask [lindex [split [maskhost $who![getchanhost $who $chan]] "@"] 1]<br>set userm [lindex [split [getchanhost $who $chan] "@"] 0]<br>set banmask *!*$userm@$ipmask<br>if {[botisop $chan]} {<br>if {[isop $who $chan]} {pushmode $chan -o $who}<br>putserv "MODE $chan +b $banmask"<br>putserv "KICK $chan $who :$reason"<br>}<br>switch $ti {<br>""<br>{<br>newchanban $chan $banmask $nick $reason<br>puthelp "NOTICE $nick :New mask added: $mask"<br>}<br>0<br>{<br>newchanban $chan $banmask $nick $reason $ti<br>puthelp "NOTICE $nick :New mask added permanently: $mask"<br>}<br>default<br>{<br>newchanban $chan $banmask $nick $reason $ti<br>puthelp "NOTICE $nick :New mask added for $ti minutes: $mask"<br>}<br>}<br>}<br>return 0<br>}<p>Statistics: Posted by Guest — Mon Nov 17, 2003 2:48 am</p><hr />
]]></content>
	</entry>
	</feed>
