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

	<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>2007-11-28T15:05:50-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-11-28T15:05:50-04:00</updated>

		<published>2007-11-28T15:05:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78760#p78760</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78760#p78760"/>
		<title type="html"><![CDATA[text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78760#p78760"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>Im n00b to the tcl world so please help to write the script</div></blockquote>Just use the code I gave you and fill authppl with lowercase nicks.<br>It's not a tcl problem, it's simply logical.</div></blockquote>Hey okay i'll try <br><br>Lowercase = text with no big chars ?<br>Uppercase = LIKE THIS<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Wed Nov 28, 2007 3:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2007-11-28T04:00:39-04:00</updated>

		<published>2007-11-28T04:00:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78743#p78743</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78743#p78743"/>
		<title type="html"><![CDATA[text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78743#p78743"><![CDATA[
<blockquote class="uncited"><div>Im n00b to the tcl world so please help to write the script</div></blockquote>Just use the code I gave you and fill authppl with lowercase nicks.<br>It's not a tcl problem, it's simply logical.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Nov 28, 2007 4:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-11-27T22:06:38-04:00</updated>

		<published>2007-11-27T22:06:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78735#p78735</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78735#p78735"/>
		<title type="html"><![CDATA[text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78735#p78735"><![CDATA[
Seriously, you've been here over a year. I learned tcl in 2 months.  It's really not that hard.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Nov 27, 2007 10:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-11-27T20:22:31-04:00</updated>

		<published>2007-11-27T20:22:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78730#p78730</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78730#p78730"/>
		<title type="html"><![CDATA[text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78730#p78730"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>Just put lowercase entries in you list: YOU manage it, so YOU can choose if it muste be lowercase or case sensitive.</div></blockquote>Im n00b to the tcl world so please help to write the script</div></blockquote>Then become "un-n00b" and at least make some effort on your own behalf; these forums are full of hints/tips (apart from what you have been told already). <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Nov 27, 2007 8:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-11-27T19:22:36-04:00</updated>

		<published>2007-11-27T19:22:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78725#p78725</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78725#p78725"/>
		<title type="html"><![CDATA[text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78725#p78725"><![CDATA[
<blockquote class="uncited"><div>Just put lowercase entries in you list: YOU manage it, so YOU can choose if it muste be lowercase or case sensitive.</div></blockquote>Im n00b to the tcl world so please help to write the script<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Tue Nov 27, 2007 7:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2007-11-27T17:45:30-04:00</updated>

		<published>2007-11-27T17:45:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78719#p78719</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78719#p78719"/>
		<title type="html"><![CDATA[text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78719#p78719"><![CDATA[
Just put lowercase entries in you list: YOU manage it, so YOU can choose if it muste be lowercase or case sensitive.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Nov 27, 2007 5:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-11-27T17:39:55-04:00</updated>

		<published>2007-11-27T17:39:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78718#p78718</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78718#p78718"/>
		<title type="html"><![CDATA[text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78718#p78718"><![CDATA[
<blockquote class="uncited"><div>if {[lsearch $::authppl [string tolower $nick]]} { <br><br>is not the same as<br><br>{[lsearch [string tolower $::authppl] [string tolower $nick]]}<br><br><br>because you converted a LIST into a STRING and lsearch only works with lists.</div></blockquote>How can i make it right ... <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=8230">Fire-Fox</a> — Tue Nov 27, 2007 5:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-11-22T22:01:37-04:00</updated>

		<published>2007-11-22T22:01:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78609#p78609</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78609#p78609"/>
		<title type="html"><![CDATA[text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78609#p78609"><![CDATA[
if {[lsearch $::authppl [string tolower $nick]]} { <br><br>is not the same as<br><br>{[lsearch [string tolower $::authppl] [string tolower $nick]]}<br><br><br>because you converted a LIST into a STRING and lsearch only works with lists.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Thu Nov 22, 2007 10:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-11-22T17:24:35-04:00</updated>

		<published>2007-11-22T17:24:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78608#p78608</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78608#p78608"/>
		<title type="html"><![CDATA[Re: text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78608#p78608"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>I guess you want to have a fixed list of allowed pple and match independantly of their status on the chan:<div class="codebox"><p>Code: </p><pre><code>set chans "#chan"set authppl {"fido" "noob"}set nynewtext2 "some text"proc pub_staff {nick uhost hand chan text} {global mynewtext2if {[lsearch $::authppl [string tolower $nick]]} { putserv "PRIVMSG $chan :$nick $mynewtext2"} else { putserv "PRIVMSG  $chan :$nick is not authorized to use this" }}</code></pre></div></div></blockquote>Thanks i'll try it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote><blockquote class="uncited"><div>set authppl {"name"}<br>set mynewtext6 "access"<br><br>proc pub_admin {nick uhost and chan text} {<br>  global mynewtext6<br>  if {[lsearch [string tolower $::authppl] [string tolower $nick]]} {<br>    putserv "PRIVMSG $chan :$nick $mynewtext6"<br>  } else { <br>    putserv "PRIVMSG $chan :$nick is not authorized to use this" <br>  }<br>}</div></blockquote>This does not work all can access the command... even with the set authppl is filled<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Thu Nov 22, 2007 5:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-11-22T16:35:58-04:00</updated>

		<published>2007-11-22T16:35:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78607#p78607</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78607#p78607"/>
		<title type="html"><![CDATA[Re: text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78607#p78607"><![CDATA[
<blockquote class="uncited"><div>I guess you want to have a fixed list of allowed pple and match independantly of their status on the chan:<div class="codebox"><p>Code: </p><pre><code>set chans "#chan"set authppl {"fido" "noob"}set nynewtext2 "some text"proc pub_staff {nick uhost hand chan text} {global mynewtext2if {[lsearch $::authppl [string tolower $nick]]} { putserv "PRIVMSG $chan :$nick $mynewtext2"} else { putserv "PRIVMSG  $chan :$nick is not authorized to use this" }}</code></pre></div></div></blockquote>Thanks i'll try it <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=8230">Fire-Fox</a> — Thu Nov 22, 2007 4:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2007-11-22T07:49:21-04:00</updated>

		<published>2007-11-22T07:49:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78594#p78594</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78594#p78594"/>
		<title type="html"><![CDATA[Re: text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78594#p78594"><![CDATA[
I guess you want to have a fixed list of allowed pple and match independantly of their status on the chan:<div class="codebox"><p>Code: </p><pre><code>set chans "#chan"set authppl {"fido" "noob"}set nynewtext2 "some text"proc pub_staff {nick uhost hand chan text} {global mynewtext2if {[lsearch $::authppl [string tolower $nick]]} { putserv "PRIVMSG $chan :$nick $mynewtext2"} else { putserv "PRIVMSG  $chan :$nick is not authorized to use this" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Nov 22, 2007 7:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-11-22T07:43:28-04:00</updated>

		<published>2007-11-22T07:43:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78593#p78593</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78593#p78593"/>
		<title type="html"><![CDATA[Re: text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78593#p78593"><![CDATA[
<blockquote class="uncited"><div>hey <br><br>how can i rewrite this so ONLY some ppl on that liste can access the giving command <br><br>lets say fiddo is one on the list..<br>then i need to type name in a string. <br><br>hope all understand....<br><div class="codebox"><p>Code: </p><pre><code>###########################     only for some ppl     #########################set chans "#chan"set nynewtext2 "some text"proc pub_staff {nick uhost hand chan text} {global mynewtext2if {[isop $nick $chan]} { putserv "PRIVMSG $chan : $nick $mynewtext2"} else { putnoobuser  $chan $nick }}###########################       End       #########################</code></pre></div></div></blockquote>You have to be more clear about your request.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Nov 22, 2007 7:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-11-21T08:41:00-04:00</updated>

		<published>2007-11-21T08:41:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78591#p78591</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78591#p78591"/>
		<title type="html"><![CDATA[text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78591#p78591"><![CDATA[
<blockquote class="uncited"><div>Create a list. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>See this post for inspiration: <a href="http://forum.egghelp.org/viewtopic.php?t=14185&amp;highlight=lists" class="postlink">http://forum.egghelp.org/viewtopic.php? ... ight=lists</a></div></blockquote>Thanks for the help. But now im noob to tcl how whot i implement it <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=8230">Fire-Fox</a> — Wed Nov 21, 2007 8:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-11-20T18:59:00-04:00</updated>

		<published>2007-11-20T18:59:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78579#p78579</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78579#p78579"/>
		<title type="html"><![CDATA[text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78579#p78579"><![CDATA[
Create a list. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>See this post for inspiration: <a href="http://forum.egghelp.org/viewtopic.php?t=14185&amp;highlight=lists" class="postlink">http://forum.egghelp.org/viewtopic.php? ... ight=lists</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Nov 20, 2007 6:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-11-20T18:47:49-04:00</updated>

		<published>2007-11-20T18:47:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78577#p78577</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78577#p78577"/>
		<title type="html"><![CDATA[text to specific names]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78577#p78577"><![CDATA[
hey <br><br>how can i rewrite this so ONLY some ppl on that liste can access the giving command <br><br>lets say fiddo is one on the list..<br>then i need to type name in a string. <br><br>hope all understand....<br><div class="codebox"><p>Code: </p><pre><code>###########################     only for some ppl     #########################set chans "#chan"set nynewtext2 "some text"proc pub_staff {nick uhost hand chan text} {global mynewtext2if {[isop $nick $chan]} { putserv "PRIVMSG $chan : $nick $mynewtext2"} else { putnoobuser  $chan $nick }}###########################       End       #########################</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Tue Nov 20, 2007 6:47 pm</p><hr />
]]></content>
	</entry>
	</feed>
