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

	<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-03-13T11:22:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2015-03-13T09:46:31-04:00</updated>

		<published>2015-03-13T09:46:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103572#p103572</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103572#p103572"/>
		<title type="html"><![CDATA[[SOLVED] only from nick i choose]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103572#p103572"><![CDATA[
@SpiKe^^<br><br>Works fine <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>@caesar<br><br>Thanks for the input <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> — Fri Mar 13, 2015 9:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2015-03-13T11:22:32-04:00</updated>

		<published>2015-03-12T01:45:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103571#p103571</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103571#p103571"/>
		<title type="html"><![CDATA[[SOLVED] only from nick i choose]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103571#p103571"><![CDATA[
Other ways to get this without much hassle, meaning having to edit the script when you wish to maintain the list:<br><br>- add a new user and add it a custom flag that the bind will trigger on<br>- make a custom channel flag (setudef str) and have the nicks in there<div class="codebox"><p>Code: </p><pre><code>setudef str myTrigger</code></pre></div>add nicks to this from DCC Chat with .chanset #channel myTrigger "ted bart Fire-Fox" for instance, and in the proc:<div class="codebox"><p>Code: </p><pre><code>if {[lsearch -nocase [channel get $chan myTrigger] $nick] == -1} return</code></pre></div>Btw, what's with the pubm bind instead of pub and splitting text twice and not reuse it?<br><br>Edit: Fixed typo.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Mar 12, 2015 1:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2015-03-11T15:53:57-04:00</updated>

		<published>2015-03-11T15:53:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103570#p103570</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103570#p103570"/>
		<title type="html"><![CDATA[[SOLVED] only from nick i choose]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103570#p103570"><![CDATA[
Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I'll have a go at 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 Mar 11, 2015 3:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2015-03-11T11:02:23-04:00</updated>

		<published>2015-03-11T11:02:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103569#p103569</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103569#p103569"/>
		<title type="html"><![CDATA[[SOLVED] only from nick i choose]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103569#p103569"><![CDATA[
You will want the process to figure out if the text is from an allowed nick.<br><br>Maybe something more like this...<div class="codebox"><p>Code: </p><pre><code>set allowedNicks "ted bart Fire-Fox"#### END OF SETTINGS ####bind pubm - "*!rss*" send:rss proc send:rss {nick host hand chan text} {   if {[lsearch -exact -nocase [split $::allowedNicks] $nick] == "-1"} {  return 0  }  set trigger [join [lrange [split $text] 0 0]]   set message [join [lrange [split $text] 1 end]]   putlog "sent $text"   putbot "rssdb" "addrss $trigger $message" } putlog "SentAddrss.Tcl"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Wed Mar 11, 2015 11:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2015-03-13T09:47:41-04:00</updated>

		<published>2015-03-11T09:57:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103568#p103568</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103568#p103568"/>
		<title type="html"><![CDATA[[SOLVED] only from nick i choose]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103568#p103568"><![CDATA[
Can i get some help in adding a function so i can choose what nicks to listen to?<br><div class="codebox"><p>Code: </p><pre><code>bind pubm - "*!rss*" send:rssproc send:rss {nick host hand chan text} {set trigger [join [lrange [split $text] 0 0]]set message [join [lrange [split $text] 1 end]]putlog "sent $text"putbot "rssdb" "addrss $trigger $message"}putlog "SentAddrss.Tcl"</code></pre></div>Edit:<br><br>can i do :<div class="codebox"><p>Code: </p><pre><code>if nick == "nick" {bind pubm - "*!rss*" send:rss}proc send:rss {nick host hand chan text} {set trigger [join [lrange [split $text] 0 0]]set message [join [lrange [split $text] 1 end]]putlog "sent $text"putbot "rssdb" "addrss $trigger $message"}putlog "SentAddrss.Tcl"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Wed Mar 11, 2015 9:57 am</p><hr />
]]></content>
	</entry>
	</feed>
