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

	<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>2001-12-19T19:57:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-19T19:57:00-04:00</updated>

		<published>2001-12-19T19:57:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2944#p2944</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2944#p2944"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2944#p2944"><![CDATA[
Yes all the domains are Prefixed vw, either<br>vw1234<br>or<br>vw-1234<br>where 1234 is calculated using the users Real IP address, so it is not just a random number.<br>So an IP of <br>202.125.74.45<br>with a hostmask ok<br>dialup748.inet.com<br><br>would be shown on this irc server with a vw mask to hide their real hostmask.<br>so it could be for example<br>vw-44752.inet.com<br><br>Its a pain in the arse, but I really need to get this script working. Any channel op knows how much of a pain it is when users can get around bans!<br><br>Cheers<p>Statistics: Posted by Guest — Wed Dec 19, 2001 7:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ian-Highlander]]></name></author>
		<updated>2001-12-19T12:50:00-04:00</updated>

		<published>2001-12-19T12:50:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2939#p2939</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2939#p2939"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2939#p2939"><![CDATA[
Is the "vw-****" bit always the same for the same user? If so this is fairly unusual. I know that on the servers I am a Techadmin for the "vw" bit (we use different obviously) is the same but the number randomises every time the user connects.<br><br>Just a thought as this may be affecting it.<br><br>Regards<br><br>Ian-Highlander<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=17">Ian-Highlander</a> — Wed Dec 19, 2001 12:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-19T07:36:00-04:00</updated>

		<published>2001-12-19T07:36:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2935#p2935</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2935#p2935"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2935#p2935"><![CDATA[
ppslim ?<br>Any ideas on how to fix your script?<br><br>Cheers mate.<br><p>Statistics: Posted by Guest — Wed Dec 19, 2001 7:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-17T23:42:00-04:00</updated>

		<published>2001-12-17T23:42:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2891#p2891</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2891#p2891"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2891#p2891"><![CDATA[
Meaning ....?<br>Im a perl programmer not a tcl coder :0<br>LOL<p>Statistics: Posted by Guest — Mon Dec 17, 2001 11:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2001-12-17T22:57:00-04:00</updated>

		<published>2001-12-17T22:57:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2889#p2889</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2889#p2889"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2889#p2889"><![CDATA[
just shove a few string tolower's in there then you don't have to worry about it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":razz:" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Mon Dec 17, 2001 10:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-17T22:48:00-04:00</updated>

		<published>2001-12-17T22:48:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2887#p2887</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2887#p2887"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2887#p2887"><![CDATA[
the vw is always lower case<br>for example:<br>if the host is<br>BassTeQ!<a href="mailto:BassTeQ@vw-7745.inet.com">BassTeQ@vw-7745.inet.com</a> <br>then the ban mask would be<br>*!*@vw-7745.inet.com <br><br><p>Statistics: Posted by Guest — Mon Dec 17, 2001 10:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-12-17T22:40:00-04:00</updated>

		<published>2001-12-17T22:40:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2883#p2883</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2883#p2883"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2883#p2883"><![CDATA[
Is the actual ban mask vw-786238.3323.2323.blah.<br><br>The vw is currently case sensitive, so is the case mixed.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Dec 17, 2001 10:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-17T20:15:00-04:00</updated>

		<published>2001-12-17T20:15:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2873#p2873</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2873#p2873"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2873#p2873"><![CDATA[
Anyone?<br>Please!<p>Statistics: Posted by Guest — Mon Dec 17, 2001 8:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-16T01:09:00-04:00</updated>

		<published>2001-12-16T01:09:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2809#p2809</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2809#p2809"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2809#p2809"><![CDATA[
Thanks for the reply, but that didnt seem to work either.<br>my code now looks like<blockquote class="uncited"><div>proc vw:addban {nick uh hand chan mc arg} {<br>if {[string range [set t [lindex [split $arg @] 1]] 0 2] == "vw"} {<br>   putserv "NOTICE $chan Ive detected a ban"<br>   if {[string index $t 2] == "-"} {<br>      set b "*!*@vw[string range $t 2 end]"<br>   } else {<br>      set b "*!*@vw-[string range $t 3 end]"<br>   }<br>      putserv "MODE $chan +b $b"<br>   }<br>}</div></blockquote>I dont even get the notice to the channel "Ive detected a ban" so its not going into that part of the if statement.<br><br>Any ideas?<br><br>Thank You.<br><br>.<br><br>&lt;font size=-1&gt;[ This Message was edited by: BassTeQ on 2001-12-17 04:47 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Sun Dec 16, 2001 1:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2001-12-15T20:20:00-04:00</updated>

		<published>2001-12-15T20:20:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2789#p2789</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2789#p2789"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2789#p2789"><![CDATA[
if {[string range $t 2] == "-"} {<br><br><br><br>should be<br><br><br><br>if {[string index $t 2] == "-"} {<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sat Dec 15, 2001 8:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-15T05:40:00-04:00</updated>

		<published>2001-12-15T05:40:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2776#p2776</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2776#p2776"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2776#p2776"><![CDATA[
thanks guys<br>I made the changes suggested, so my code now looks like.<br><blockquote class="uncited"><div>bind mode - "% +b" vw:addban <br>proc vw:addban {nick uh hand chan mc arg} { <br>if {[string range [set t [lindex [split $arg @] 1]] 0 2] == "vw"} { <br>   if {[string range $t 2] == "-"} { <br>      set b "*!*@vw[string range $t 2 end]" <br>   } else { <br>      set b "*!*@vw-[string range $t 3 end]" <br>   } <br>      putserv "MODE $chan +b $b" <br>   } <br>}</div></blockquote>Ive loaded the script, restarted my bot, but it doesnt seem to work.<br>If I do a ban in the bot, the ban goes through but the script doesnt do as it should.<br><br>Here is the output from the channel<br><br>[18:38] *** bot sets mode: +b *!*@vw-11245.optusnet.com.au<br>[18:38] *** iceb was kicked by bot (banned: test)<br><br>Any ideas?<br>Thanks<p>Statistics: Posted by Guest — Sat Dec 15, 2001 5:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-12-14T12:09:00-04:00</updated>

		<published>2001-12-14T12:09:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2758#p2758</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2758#p2758"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2758#p2758"><![CDATA[
It was string range before submitting, but I changed while testing somthing. Guess I forgot to change it back when I pasted it back in.<br><br>In the first if, you should change the "string index" to "string range" as sugested. In both parts of the script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Dec 14, 2001 12:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2001-12-14T11:56:00-04:00</updated>

		<published>2001-12-14T11:56:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2756#p2756</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2756#p2756"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2756#p2756"><![CDATA[
You might want to make that first one "string range" instead of "string index"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Dec 14, 2001 11:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-14T01:16:00-04:00</updated>

		<published>2001-12-14T01:16:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2744#p2744</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2744#p2744"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2744#p2744"><![CDATA[
Cheers Ill test it out tonight, thanks mate!<p>Statistics: Posted by Guest — Fri Dec 14, 2001 1:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-12-14T00:28:00-04:00</updated>

		<published>2001-12-14T00:28:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2742#p2742</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2742#p2742"/>
		<title type="html"><![CDATA[Help with ban script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2742#p2742"><![CDATA[
Not fully checked over, but yes it should.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Dec 14, 2001 12:28 am</p><hr />
]]></content>
	</entry>
	</feed>
