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

	<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>2001-11-09T17:27:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2001-11-09T17:27:00-04:00</updated>

		<published>2001-11-09T17:27:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=1556#p1556</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=1556#p1556"/>
		<title type="html"><![CDATA[need a little help with a script plz]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=1556#p1556"><![CDATA[
proc text-1 {n u h c a}  {<br><br>It looks like you want $n rather than $nick<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Fri Nov 09, 2001 5:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-11-09T17:26:00-04:00</updated>

		<published>2001-11-09T17:26:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=1555#p1555</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=1555#p1555"/>
		<title type="html"><![CDATA[need a little help with a script plz]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=1555#p1555"><![CDATA[
Note your use of $nick<br><br>in the line<blockquote class="uncited"><div>proc test-1 {n h u c a} {</div></blockquote>you have specified (rather the scripts designer) that n is the nickname (ead tcl-commands.doc for this information)<br><br>So in your script, you should use $n instead of $nick. Hence, the error "nick does not exist."<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Nov 09, 2001 5:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-11-09T16:19:00-04:00</updated>

		<published>2001-11-09T16:19:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=1554#p1554</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=1554#p1554"/>
		<title type="html"><![CDATA[need a little help with a script plz]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=1554#p1554"><![CDATA[
i've tried putserv "NOTICE $nick :$text1" and also puthelp "NOTICE $nick :$text1" and it gives me this error on both of them..<br><br>Tcl error [text-2]: can't read "nick": no such variable<br><br>thanks<br><br>i'm new to tcl scripting if ya can't tell lol<p>Statistics: Posted by Guest — Fri Nov 09, 2001 4:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-11-09T16:02:00-04:00</updated>

		<published>2001-11-09T16:02:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=1552#p1552</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=1552#p1552"/>
		<title type="html"><![CDATA[need a little help with a script plz]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=1552#p1552"><![CDATA[
PRIVMSG is the IRC command to send a message to a channel or a nickname.<br><br>The NOTICE command the one you want.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Nov 09, 2001 4:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-11-09T15:56:00-04:00</updated>

		<published>2001-11-09T15:56:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=1551#p1551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=1551#p1551"/>
		<title type="html"><![CDATA[need a little help with a script plz]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=1551#p1551"><![CDATA[
bind pub $trigbind $trigger1 text-1<br>proc text-1 {n u h c a}  {<br>global channelone channeltwo channelthree channelfour channelfive text2<br>if {$c == $channelone || $c == $channeltwo || $c == $channelthree || $c == $channelfour || $c == $channelfive} {<br>puthelp "PRIVMSG $c :$text1"<br>}<br>return 0<br>}<br><br>this is to display the rules of the room and this msgs the channel what ever is in $text1 but what i need it to do is do a notice to the nick with whatever is in $text1<br><br>$trigbind is the flags the person has to have to use it.. and $trigger1 is the <br>trigger that activates it.. <br><br>thanks<p>Statistics: Posted by Guest — Fri Nov 09, 2001 3:56 pm</p><hr />
]]></content>
	</entry>
	</feed>
