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

	<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>2015-04-09T01:29:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2015-04-09T01:29:18-04:00</updated>

		<published>2015-04-09T01:29:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103772#p103772</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103772#p103772"/>
		<title type="html"><![CDATA[+e Execption TCL?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103772#p103772"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !except push:exceptproc push:except {nick uhost hand chan text} {if {![botisop $chan]} returnif {[scan $text {%s%[^!]!%[^@]@%s} mode nik user host] != 4 || $mode ne "+e"} {puthelp "PRIVMSG $chan :Syntax: !except +e *!*test@test.com"return} else {pushmode $chan +e "*!*@$host"}}</code></pre></div>Mode and host-mask check in place. Give this a try. Tested it on Undernet but there's no exceptions list so don't know if it pushes the exception as should.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Apr 09, 2015 1:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2015-04-08T21:50:55-04:00</updated>

		<published>2015-04-08T21:50:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103771#p103771</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103771#p103771"/>
		<title type="html"><![CDATA[+e Execption TCL?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103771#p103771"><![CDATA[
<blockquote class="uncited"><div><br>...<br>its should be like:<br>* uhud sets mode: +e *!*<a href="mailto:test@test.com">test@test.com</a></div></blockquote><br>See tcl-commands.doc at the link I've already posted in this thread.<br><br>Text search tcl-commands.doc for:<br>maskhost<br>and read that section.<br><br>Then examine this line in the script:<div class="codebox"><p>Code: </p><pre><code>putserv "mode $chan +e [maskhost [lindex [split $text] 1] 2]" </code></pre></div>and experiment with changing the type number that of the maskhost command.   <br>Are you wanting number 3 ?  <br><br>I hope this helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Wed Apr 08, 2015 9:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2015-04-08T21:47:18-04:00</updated>

		<published>2015-04-08T21:47:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103770#p103770</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103770#p103770"/>
		<title type="html"><![CDATA[+e Execption TCL?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103770#p103770"><![CDATA[
whew...<br>Thank you, Spike.<br>I thought I was going cross-eyed there for a moment.  Glad to know that I did read it correctly.<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 <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Wed Apr 08, 2015 9:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2015-04-08T21:09:04-04:00</updated>

		<published>2015-04-08T21:09:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103769#p103769</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103769#p103769"/>
		<title type="html"><![CDATA[+e Execption TCL?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103769#p103769"><![CDATA[
Yes, but it exactly what you asked for:)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Wed Apr 08, 2015 9:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Smartiees]]></name></author>
		<updated>2015-04-08T19:26:04-04:00</updated>

		<published>2015-04-08T19:26:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103767#p103767</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103767#p103767"/>
		<title type="html"><![CDATA[+e Execption TCL?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103767#p103767"><![CDATA[
its work but its not the set ident:<br><br>(09:02:26) &lt;Salafi&gt; !mode +e *!*<a href="mailto:test@test.com">test@test.com</a><br>(09:02:26) * uhud sets mode: +e *!*@test.com<br><br>its should be like:<br>* uhud sets mode: +e *!*<a href="mailto:test@test.com">test@test.com</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9550">Smartiees</a> — Wed Apr 08, 2015 7:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2015-03-28T22:46:11-04:00</updated>

		<published>2015-03-28T22:46:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103722#p103722</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103722#p103722"/>
		<title type="html"><![CDATA[Re: +e Execption TCL?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103722#p103722"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># March 28, 2015# http://forum.egghelp.org/viewtopic.php?t=19904bind pub - "!mode" do_mode_eproc do_mode_e {nick uhost handle chan text} {#Check to see if user sent just !mode by itself.        if {[llength [split $text]] == 0} {                putserv "privmsg $chan :Syntax: !mode +e *!*test@test.com"                return 0           }#Check to see if user used anything other than +e        if {[lindex [split $text] 0] ne "+e" } {                putserv "privmsg $chan :Syntax: !mode +e *!*test@test.com"                return 0           }#Check to see if user sent just !mode +e        if {[lindex [split $text] 1] == ""} {                putserv "privmsg $chan :Syntax: !mode +e *!*test@test.com"                return 0            }        putserv "mode $chan +e [maskhost [lindex [split $text] 1] 2]"}</code></pre></div>References:<br><a href="http://www.eggheads.org/support/egghtml/1.6.21/tcl-commands.html" class="postlink">http://www.eggheads.org/support/egghtml ... mands.html</a><br><a href="http://www.tcl.tk/man/tcl8.5/TclCmd/contents.htm" class="postlink">http://www.tcl.tk/man/tcl8.5/TclCmd/contents.htm</a><br><br>First, load the script and test it.   I tested only briefly, and it appeared to do what you requested.<br><br>Next, take a few minutes and click the links that I noted for you - for references.<br>This is a VERY simple script, and a good one for someone that wants to begin to grasp TCL for Eggdrop to study and understand.<br><br>There are probably other ideas of how to go about doing this.  Some might be shorter.  This was written to be easy to follow.   <br><br>I hope this helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sat Mar 28, 2015 10:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Smartiees]]></name></author>
		<updated>2015-03-28T18:17:30-04:00</updated>

		<published>2015-03-28T18:17:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103721#p103721</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103721#p103721"/>
		<title type="html"><![CDATA[+e Execption TCL?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103721#p103721"><![CDATA[
is there any tcl available which about like if you type:<br><br>!mode +e *!*<a href="mailto:test@test.com">test@test.com</a><br><br>then bot set it that IP as like:<br><br> nomnom sets mode: +e *!*@test.com<br><br>is there available or anyone can make that code please?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9550">Smartiees</a> — Sat Mar 28, 2015 6:17 pm</p><hr />
]]></content>
	</entry>
	</feed>
