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

	<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-12-16T15:24:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-12-16T15:24:46-04:00</updated>

		<published>2003-12-16T15:24:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31521#p31521</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31521#p31521"/>
		<title type="html"><![CDATA[pushmode problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31521#p31521"><![CDATA[
aye good point ... and right, it works when i use a utimer with 1 sec delay ... but do you see chance to adjust pushmode that it works without a delay?<br><br>[edit]<br>i've searched through the eggdrop internal binds ... would it help to run <br>*raw:<a href="irc:mode" class="postlink">irc:mode</a><br>or <br>*raw:MODE<br>before ... i guess somewhere to bot refreshes his internal banlist, maybe it could help to do this before the pushmode is used?<br>[/edit]<br><br><br>cu<br>-ti<p>Statistics: Posted by Guest — Tue Dec 16, 2003 3:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-12-16T14:36:02-04:00</updated>

		<published>2003-12-16T14:36:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31519#p31519</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31519#p31519"/>
		<title type="html"><![CDATA[pushmode problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31519#p31519"><![CDATA[
good point there <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Dec 16, 2003 2:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-12-16T14:04:10-04:00</updated>

		<published>2003-12-16T14:04:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31515#p31515</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31515#p31515"/>
		<title type="html"><![CDATA[Just a thought...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31515#p31515"><![CDATA[
Try issuing the pushmode with a slight delay. I didn't care to check it, but it might be that eggdrop doesn't yet have the ban in its list of active bans when the proc is called and is filtering the mode because it looks redundant.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Dec 16, 2003 2:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-12-16T13:45:43-04:00</updated>

		<published>2003-12-16T13:45:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31513#p31513</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31513#p31513"/>
		<title type="html"><![CDATA[pushmode problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31513#p31513"><![CDATA[
<blockquote class="uncited"><div>Have you ever tried using <strong class="text-strong">putserv "MODE $chan -b $victim"</strong> ?<br><br>because there's nothing wrong in your code. the pushmode should work.</div></blockquote>i already tried it some days before i got here and it worked fine ... but i intended to use the bots internal queue for processing modes ... because this would cause less lines to send to the server ... the bot is going to be a security bot, and so it has to work effective and not dump 'every' mode change in one line (which is done by putserv afaik) ... (and which can cause the bot to flood off the server) ... i also tried to easily use 'resetbans' but this floods the bot off the server (...too), when there are more than one user who sets bans ... so i'm in need to use pushmode -.-<br><blockquote class="uncited"><div>isn't that what i just said ? :P</div></blockquote>ehm, yeah, but ... it's uninteresting in this case ... the problem is, as i said, that the pushmode does not work for any reasons, and i just wanted to know why ...<p>Statistics: Posted by Guest — Tue Dec 16, 2003 1:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-12-16T12:48:07-04:00</updated>

		<published>2003-12-16T12:48:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31507#p31507</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31507#p31507"/>
		<title type="html"><![CDATA[pushmode problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31507#p31507"><![CDATA[
<blockquote class="uncited"><div>$victim is NOT a users nick<br>$victim is the mask of the ban, which was set ...<br>so if someone sets /mode #chan +b bla!<a href="mailto:bla@bla.bla">bla@bla.bla</a><br>then $victim would be bla!<a href="mailto:bla@bla.bla">bla@bla.bla</a><br>just don't care about the name of the var ... IT IS THE MASK!!!</div></blockquote>isn't that what i just said ? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Tue Dec 16, 2003 12:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-12-16T12:14:34-04:00</updated>

		<published>2003-12-16T12:14:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31501#p31501</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31501#p31501"/>
		<title type="html"><![CDATA[pushmode problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31501#p31501"><![CDATA[
Have you ever tried using <strong class="text-strong">putserv "MODE $chan -b $victim"</strong> ?<br><br>because there's nothing wrong in your code. the pushmode should work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Dec 16, 2003 12:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-12-15T13:09:45-04:00</updated>

		<published>2003-12-15T13:09:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31458#p31458</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31458#p31458"/>
		<title type="html"><![CDATA[pushmode problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31458#p31458"><![CDATA[
<strong class="text-strong">if everybody would keep reading the whole thing please</strong><br><br>$victim is NOT a users nick<br>$victim is the mask of the ban, which was set ...<br>so if someone sets /mode #chan +b bla!<a href="mailto:bla@bla.bla">bla@bla.bla</a><br>then $victim would be bla!<a href="mailto:bla@bla.bla">bla@bla.bla</a><br>just don't care about the name of the var ... IT IS THE MASK!!!<br><br>and my problem is, that the bot does NOT remove the ban while executing <div class="codebox"><p>Code: </p><pre><code>pushmode $chan -b $victim</code></pre></div>(remember: $victim IS THE BANMASK)<br><br>cu<br>-ti<p>Statistics: Posted by Guest — Mon Dec 15, 2003 1:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-12-15T13:03:46-04:00</updated>

		<published>2003-12-15T13:03:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31457#p31457</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31457#p31457"/>
		<title type="html"><![CDATA[pushmode problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31457#p31457"><![CDATA[
you cant really ban a person, just the hotmask of the user<br><br>a ban like lame!<a href="mailto:lamer@124.324324.some-dialup-host.com">lamer@124.324324.some-dialup-host.com</a> would most probably match just one user, but you dont ban the user but the host<br><br>if you want to check what nicks match the ban you have to scan every user in the channel and check if the banmask matches the users mask<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Mon Dec 15, 2003 1:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-12-15T12:35:03-04:00</updated>

		<published>2003-12-15T12:35:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31455#p31455</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31455#p31455"/>
		<title type="html"><![CDATA[Re: pushmode problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31455#p31455"><![CDATA[
<blockquote class="uncited"><div>thats are the logs on the partyline<br>[19:09:46] &lt;tibtestbot&gt; [19:09] #t.d.p.: mode change '+b blu!<a href="mailto:pp@pop.de">pp@pop.de</a>' by tiberius_!<a href="mailto:tiberius@netzlab.info">tiberius@netzlab.info</a><br><span style="text-decoration:underline">[19:09:47] &lt;tibtestbot&gt; [19:09] putkick #t.d.p. tiberius_ "&gt; /mode #t.d.p. +b blu!<a href="mailto:pp@pop.de">pp@pop.de</a> &lt; &gt; Sat Dec 13 19:09:37 2003 &lt;"<br>[19:09:47] &lt;tibtestbot&gt; [19:09] pushmode #t.d.p. -b blu!<a href="mailto:pp@pop.de">pp@pop.de</a></span><br>[19:09:47] &lt;tibtestbot&gt; [19:09] tiberius_ kicked from #t.d.p. by tibtestbot: &gt; /mode #t.d.p. +b blu!<a href="mailto:pp@pop.de">pp@pop.de</a> &lt; &gt; Sat Dec 13 19:09:37 2003 &lt;</div></blockquote>the underlined lines are exactly what mylog gives out ... and if you take a second look then you'll see that $victim is NOT the nick of the user who gets banned ... <br><br>cu<br>-ti<p>Statistics: Posted by Guest — Mon Dec 15, 2003 12:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-12-15T11:09:15-04:00</updated>

		<published>2003-12-15T11:09:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31450#p31450</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31450#p31450"/>
		<title type="html"><![CDATA[pushmode problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31450#p31450"><![CDATA[
<blockquote class="uncited"><div>[snip]<br># for some reasons the following line does not want to work at all <br>pushmode $chan -b $victim<br>[snip]</div></blockquote>$victim is the nick of the user being banned, then $victim doesn't exist in the channel's banlist so the bot will not unban a none existing ban.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Dec 15, 2003 11:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-12-15T02:06:19-04:00</updated>

		<published>2003-12-15T02:06:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31441#p31441</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31441#p31441"/>
		<title type="html"><![CDATA[pushmode problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31441#p31441"><![CDATA[
no mylog doesn't do anything else then checking for a var and if the var is &gt;0 then putcmdlog the text ... the command itself is not executed at this point, it's executed in the next line as you can see ... you can just imagine the mylog as something like putcmdlog "the command" ... it only makes the things going on in the script available for the logfiles ... so if a command fails and i use this putcmdlog before in the logfiles it would look like <br>[timestamp] someproc $blo $bla $blup<br>and then<br>[timestamp] Tcl error: &lt;some errors&gt;<br>it's only to make it easier tracing errors cause you see the line which caused the error then ... but in this case it does not give any tcl errors ... it just 'ignores' the command -.-<br><br>cu<br>-ti<p>Statistics: Posted by Guest — Mon Dec 15, 2003 2:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-12-14T21:32:59-04:00</updated>

		<published>2003-12-14T21:32:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31439#p31439</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31439#p31439"/>
		<title type="html"><![CDATA[pushmode problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31439#p31439"><![CDATA[
if ur problem is that it doesn't execute .. <br><br>maybe <br><blockquote class="uncited"><div>mylog "pushmode $chan -b $victim" 3</div></blockquote><div class="codebox"><p>Code: </p><pre><code>mylog [pushmode $chan -b $victim] 3</code></pre></div>not sur ur code doesn't make sence to me .. ??? ? could u put it  in code so its readable ...?<br><br>also what is mylog i can't seem to find that command anywhere so i suppose its a proc ur refering to could u paste that proc as well plz<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Dec 14, 2003 9:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-12-14T10:13:09-04:00</updated>

		<published>2003-12-14T10:13:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31412#p31412</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31412#p31412"/>
		<title type="html"><![CDATA[pushmode problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31412#p31412"><![CDATA[
my problem: pushmode does not perform a command while executed through a proc... it works fine with other modes and if i try &gt; .tcl pushmode #t.d.p. -b blu!<a href="mailto:pp@pop.de">pp@pop.de</a> &lt; through the partyline it just works fine as well<br><br>but this does not work:<br>bind mode - "% \+b" mode:ban<br><br>proc mode:ban { nick host hand chan change victim } {<br>  if {[botisop $chan] == 1} {<br>    mylog "putkick $chan $nick \"&gt; /mode $chan +b $victim &lt; &gt; [ctime [unixtime]] &lt;\"" 3<br>    putkick $chan $nick "&gt; /mode $chan +b $victim &lt; &gt; [ctime [unixtime]] &lt;"<br>    mylog "pushmode $chan -b $victim" 3<br>    # for some reasons the following line does not want to work at all<br>    pushmode $chan -b $victim<br>  }<br>}<br><br>thats are the logs on the partyline<br>[19:09:46] &lt;tibtestbot&gt; [19:09] #t.d.p.: mode change '+b blu!<a href="mailto:pp@pop.de">pp@pop.de</a>' by tiberius_!<a href="mailto:tiberius@netzlab.info">tiberius@netzlab.info</a><br>[19:09:47] &lt;tibtestbot&gt; [19:09] putkick #t.d.p. tiberius_ "&gt; /mode #t.d.p. +b blu!<a href="mailto:pp@pop.de">pp@pop.de</a> &lt; &gt; Sat Dec 13 19:09:37 2003 &lt;"<br>[19:09:47] &lt;tibtestbot&gt; [19:09] pushmode #t.d.p. -b blu!<a href="mailto:pp@pop.de">pp@pop.de</a><br>[19:09:47] &lt;tibtestbot&gt; [19:09] tiberius_ kicked from #t.d.p. by tibtestbot: &gt; /mode #t.d.p. +b blu!<a href="mailto:pp@pop.de">pp@pop.de</a> &lt; &gt; Sat Dec 13 19:09:37 2003 &lt;<br><br>####################################<br>chaninfo for that channel:<br>[19:12:37] &lt;tibtestbot&gt; Settings for dynamic channel #t.d.p.:<br>[19:12:37] &lt;tibtestbot&gt; Protect modes (chanmode): +tn-kipsr<br>[19:12:37] &lt;tibtestbot&gt; Idle Kick after (idle-kick): DON'T!<br>[19:12:37] &lt;tibtestbot&gt; stopnethack: DON'T!<br>[19:12:37] &lt;tibtestbot&gt; aop-delay: 0:0<br>[19:12:37] &lt;tibtestbot&gt; revenge-mode: 0<br>[19:12:37] &lt;tibtestbot&gt; ban-time: 120<br>[19:12:37] &lt;tibtestbot&gt; exempt-time: 60<br>[19:12:37] &lt;tibtestbot&gt; invite-time: 60<br>[19:12:37] &lt;tibtestbot&gt; Other modes:<br>[19:12:37] &lt;tibtestbot&gt;      -inactive       -statuslog      -secret         +shared<br>[19:12:37] &lt;tibtestbot&gt;      -greet          -seen           -cycle          -dontkickops<br>[19:12:37] &lt;tibtestbot&gt;      -protectops     -protectfriends -revenge        -revengebot<br>[19:12:37] &lt;tibtestbot&gt;      -bitch          -autoop         -autovoice      -nodesynch<br>[19:12:37] &lt;tibtestbot&gt;      -enforcebans    +dynamicbans    +userbans       -autohalfop<br>[19:12:37] &lt;tibtestbot&gt;      -protecthalfops<br>[19:12:37] &lt;tibtestbot&gt;      -dynamicexempts -userexempts    -dynamicinvites -userinvites<br>[19:12:37] &lt;tibtestbot&gt; User defined channel flags:<br>[19:12:37] &lt;tibtestbot&gt;      -joinafterauth +highrules<br>[19:12:37] &lt;tibtestbot&gt; User defined channel settings:<br>[19:12:37] &lt;tibtestbot&gt; ircop: 1   <br>[19:12:37] &lt;tibtestbot&gt; flood settings: chan ctcp join kick deop nick<br>[19:12:37] &lt;tibtestbot&gt; number:            0    3    0    0    0    0<br>[19:12:37] &lt;tibtestbot&gt; time  :            0   10    0    0    0    0<br><br>####################################<br>my logs on the channel:<br>[19:09:46] * tiberius_ sets mode: +b blu!<a href="mailto:pp@pop.de">pp@pop.de</a><br>[19:09:47] * tiberius_ was kicked by tibtestbot (&gt; /mode #t.d.p. +b blu!<a href="mailto:pp@pop.de">pp@pop.de</a> &lt; &gt; Sat Dec 13 19:09:37 2003 &lt;)<br><br>as you can see the kick just works well, but the unban just don't work -.- even if it appears on the partyline as through the mylog command (mylog is a small proc which just checks for a var, if it should perform the putcmdlog to log the commands)<br><br>i know that the chansetting -userbans would remove the ban but this is not what i want ...<br><br>----<br>&lt;edit&gt;<br>i just recognized that the whole thing does not work in the inversion of the script, too -.-<br>&lt;/edit&gt;<br>----<br>cya<br>-ti<p>Statistics: Posted by Guest — Sun Dec 14, 2003 10:13 am</p><hr />
]]></content>
	</entry>
	</feed>
