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

	<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>2024-11-23T19:15:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[pektek]]></name></author>
		<updated>2024-11-23T19:15:11-04:00</updated>

		<published>2024-11-23T19:15:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113148#p113148</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113148#p113148"/>
		<title type="html"><![CDATA[Re: question?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113148#p113148"><![CDATA[
thank you CrazyCat  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13010">pektek</a> — Sat Nov 23, 2024 7:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2024-11-12T18:58:50-04:00</updated>

		<published>2024-11-12T18:58:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113118#p113118</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113118#p113118"/>
		<title type="html"><![CDATA[Re: question?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113118#p113118"><![CDATA[
Add some <em class="text-italics">string match</em> in your exiting condition:<div class="codebox"><p>Code: </p><pre><code>proc check:version {nick uhost hand chan} {    if {[isop $nick $chan] || [isvoice $nick $chan] || [matchattr $hand Pfov|Pfov $chan]      || [string match "*@125.*" $uhost] || [string match "*@118.*" $uhost] } {       return 0    }}</code></pre></div>If you don't want to exclude too much hostmask, you can easily manage it<br><strong class="text-strong"><br>P.S.: do you know you can say "thank you" when a post/poster helps you. I won't help you anymore until you learn that being polite is also a rule in forums.</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Nov 12, 2024 6:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pektek]]></name></author>
		<updated>2024-11-12T17:34:51-04:00</updated>

		<published>2024-11-12T17:34:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113117#p113117</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113117#p113117"/>
		<title type="html"><![CDATA[question?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113117#p113117"><![CDATA[
hello all i have this working code with me however its versioning every ip but i jus want it to version certain ips like for example *!*@125.* *!*@118.* , i tried to play around with it but with no success,help will be appreciated.. Code is listed below :<br><div class="codebox"><p>Code: </p><pre><code>bind ctcr - VERSION version:reply bind join - * check:version proc check:version {nick uhost hand chan} { if {[isop $nick $chan] || [isvoice $nick $chan] || [matchattr $hand Pfov|Pfov $chan]} { return 0 }global cversion chattr proxychk +|+P $chan set cversion([string tolower $nick]) 1 putserv "PRIVMSG $nick :\001Version\001" utimer 90 [list no:version:reply $nick $uhost $chan] } proc version:reply {nick uhost hand dest kw arg} { global cversion if {[info exists cversion([string tolower $nick])]} { unset cversion([string tolower $nick]) } } proc no:version:reply {nick uhost chan} { global cversion if {[info exists cversion([string tolower $nick])] &amp;&amp; [onchan $nick $chan]} { putserv "MODE $chan +b *!*@[lindex [split $uhost @] 1]" putserv "KICK $chan $nick : Spam" unset cversion([string tolower $nick]) } }putlog "Version Kicker"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13010">pektek</a> — Tue Nov 12, 2024 5:34 pm</p><hr />
]]></content>
	</entry>
	</feed>
