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

	<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>2012-01-23T01:24:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[MaleXachi]]></name></author>
		<updated>2012-01-23T01:24:32-04:00</updated>

		<published>2012-01-23T01:24:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98606#p98606</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98606#p98606"/>
		<title type="html"><![CDATA[Convert mIRC Script To TCL Script -  Help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98606#p98606"><![CDATA[
My mistake... It works perfectly, Thanks for your help Caesar!!!!!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11719">MaleXachi</a> — Mon Jan 23, 2012 1:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2012-01-22T15:00:25-04:00</updated>

		<published>2012-01-22T15:00:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98600#p98600</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98600#p98600"/>
		<title type="html"><![CDATA[Convert mIRC Script To TCL Script -  Help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98600#p98600"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join * * ident:modeproc ident:mode {nick uhost hand chan} {if {[isbotnick $nick] || ![botisop $chan]} returnset no [lindex [split $uhost "@"] 0]if {$no == 1} {putserv "MODE $chan +h $nick"}if {$no == 2} {putserv "MODE $chan +v $nick"}}</code></pre></div>should do what you want.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Jan 22, 2012 3:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MaleXachi]]></name></author>
		<updated>2012-01-22T09:15:25-04:00</updated>

		<published>2012-01-22T09:15:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98597#p98597</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98597#p98597"/>
		<title type="html"><![CDATA[Convert mIRC Script To TCL Script -  Help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98597#p98597"><![CDATA[
I found this tcl script and i changed some, but he dont give a mode, when a user joins with ident.<br><div class="codebox"><p>Code: </p><pre><code>#Set the channel(s) you want this script active on.#This script supports multiple channels.#Usage: "#channel1 #channel2 #mychannel"#(To activate on all channels use: "")set badidentchans "#Secure"#Set the *bad words* for the script to react on. #When users join a channel this script is activated #and their idents match this current world list, #they will be kicked/banned. (wildcards "*" are accepted)#(Set/edit these words according to your needs)#(I have already added some as examples)set badidents {"1"}#Set the flags for bot owners, masters, ops#and users which to exempt from the script.#(Usage: m, n, o, or "mnf", "fbo" etc)set badidentexempt ""#For how long you wish (in minutes) to ban the #user with the bad ident. (mins)set badidbantime 30################################################################################## Don't edit anything else from this point onwards, even if you know tcl! ##################################################################################bind join - * join:badidentproc join:badident {nick uhost hand chan} { global botnick badidents badidentchans badidentexempt badidbantime  if {(([lsearch -exact [string tolower $badidentchans] [string tolower $chan]] != -1) || ($badidentchans == "*")) &amp;&amp; ($nick != $botnick)} {    foreach badident [string tolower $badidents] {     set badidentban1 "*!*$badident*@*"     set badidentban2 "*!*@[lindex [split $host @] 1]"     set userident "[string trimleft [string tolower [lindex [split $host "@"] 0]] "~"]"    if {[string match *$badident* [string tolower $userident]]} {      if {([botisop $chan]) &amp;&amp; (![isop $nick $chan]) &amp;&amp; (![isvoice $nick $chan]) &amp;&amp; (![matchattr $hand $badidents $chan]) &amp;&amp; ([onchan $nick $chan])} {        putquick "MODE $chan +h $nick"        return 0        }      }    }  }}return</code></pre></div>I changed this from KICK to:<br><div class="codebox"><p>Code: </p><pre><code>putquick "MODE $chan +h $nick"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11719">MaleXachi</a> — Sun Jan 22, 2012 9:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MaleXachi]]></name></author>
		<updated>2012-01-21T16:48:41-04:00</updated>

		<published>2012-01-21T16:48:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98595#p98595</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98595#p98595"/>
		<title type="html"><![CDATA[Convert mIRC Script To TCL Script -  Help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98595#p98595"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>Explain what should happen.</div></blockquote>He gives modes on the basis of idents when a user join. 1 is Male and 2 is Female is that the recognized from Site. I have written a mirc script, so he gives to male +h and a woman +v automatically, but I want to do with eggdrop, only I have no experience with tcl. My question is whether this mirc script can be converted to tcl.<br><br>Example with mirc script -  Female:<div class="codebox"><p>Code: </p><pre><code>-|21:33:16|- * KleineMuts (2@34811AD1.737C4256.2665820C.IP) has joined #Fusionchat-|21:33:16|- * Bullseye sets mode: +v KleineMuts</code></pre></div>Example With mirc script - Male:<div class="codebox"><p>Code: </p><pre><code>-|21:15:43|- * DJ-pulse (1@458BAE5E.71BB41AB.EC8C1DE6.IP) has joined #Fusionchat-|21:15:43|- * Bullseye sets mode: +h DJ-pulse</code></pre></div>You see idents 1@ and 2@<br></div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11719">MaleXachi</a> — Sat Jan 21, 2012 4:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MaleXachi]]></name></author>
		<updated>2012-01-21T16:44:35-04:00</updated>

		<published>2012-01-21T16:44:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98594#p98594</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98594#p98594"/>
		<title type="html"><![CDATA[Convert mIRC Script To TCL Script -  Help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98594#p98594"><![CDATA[
<blockquote class="uncited"><div>Explain what should happen.</div></blockquote>He gives modes on the basis of idents. 1 is Male and 2 is Female is that the recognized from Site. I have written a mirc script, so he gives to male +h and a woman +v automatically, but I want to do with eggdrop, only I have no experience with tcl. My question is whether this mirc script can be converted to tcl.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11719">MaleXachi</a> — Sat Jan 21, 2012 4:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2012-01-21T13:47:42-04:00</updated>

		<published>2012-01-21T13:47:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98593#p98593</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98593#p98593"/>
		<title type="html"><![CDATA[Convert mIRC Script To TCL Script -  Help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98593#p98593"><![CDATA[
Explain what should happen.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Jan 21, 2012 1:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MaleXachi]]></name></author>
		<updated>2012-01-21T11:14:40-04:00</updated>

		<published>2012-01-21T11:14:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98592#p98592</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98592#p98592"/>
		<title type="html"><![CDATA[Convert mIRC Script To TCL Script -  Help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98592#p98592"><![CDATA[
I try this piece mirc script that I've made to convert tcl, but I could not really think many have tried.<br>It has two different idents on which +h and +v is given. If anyone can help me with this .. Thank you! Sorry for my bad english.<br><br>This is my mirc script:<br><div class="codebox"><p>Code: </p><pre><code>ON *:JOIN:#: {  var %ident $gettok($gettok($fulladdress,1,64),2,33)  if $istok(badident 1,%ident,32) {    mode # +h $nick  }  if $istok(badident 2,%ident,32) {    mode # +v $nick  }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11719">MaleXachi</a> — Sat Jan 21, 2012 11:14 am</p><hr />
]]></content>
	</entry>
	</feed>
