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

	<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>2006-01-08T05:36:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[TheRudy]]></name></author>
		<updated>2006-01-08T05:36:00-04:00</updated>

		<published>2006-01-08T05:36:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59232#p59232</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59232#p59232"/>
		<title type="html"><![CDATA[bind msg, reg nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59232#p59232"><![CDATA[
omg, yes thanks for that, didn't know its there!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6882">TheRudy</a> — Sun Jan 08, 2006 5:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-06T10:51:43-04:00</updated>

		<published>2006-01-06T10:51:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59135#p59135</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59135#p59135"/>
		<title type="html"><![CDATA[bind msg, reg nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59135#p59135"><![CDATA[
The problem was that you had extra arguments for the msg proc. Read Tcl-commands.doc to know about the binds.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jan 06, 2006 10:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TheRudy]]></name></author>
		<updated>2006-01-06T10:33:15-04:00</updated>

		<published>2006-01-06T10:33:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59134#p59134</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59134#p59134"/>
		<title type="html"><![CDATA[bind msg, reg nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59134#p59134"><![CDATA[
Oh my  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br>I'll learn, thanks, it works now just as i wanted!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6882">TheRudy</a> — Fri Jan 06, 2006 10:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-06T09:08:16-04:00</updated>

		<published>2006-01-06T09:08:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59131#p59131</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59131#p59131"/>
		<title type="html"><![CDATA[bind msg, reg nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59131#p59131"><![CDATA[
Don't split <strong class="text-strong">args</strong> or use<div class="codebox"><p>Code: </p><pre><code>bind msg -|- !regteam msg:reg_teamproc msg:reg_team {nick uhost hand arg} {   set team_name [lindex [split $arg] 0]   set password [lindex [split $arg] 1]   puthelp "PRIVMSG $nick :Password: $password Team name: $team_name"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jan 06, 2006 9:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TheRudy]]></name></author>
		<updated>2006-01-06T07:10:40-04:00</updated>

		<published>2006-01-06T07:10:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59126#p59126</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59126#p59126"/>
		<title type="html"><![CDATA[bind msg, reg nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59126#p59126"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind msg -|- !regteam msg:reg_teamproc msg:reg_team { nickname args } {set team_name [lindex [split $args] 2]set password [lindex [split $args] 3] puthelp "PRIVMSG $nickname :Password: $password Team name: $team_name"}</code></pre></div><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br>Managed to get it working BUT the output is: Password: somepassword<strong class="text-strong">}</strong> Team name: <strong class="text-strong">{</strong>someteamname<br><br>with a command: !regteam someteamname somepassword<br><br>where did those { in front and at the end } come from??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6882">TheRudy</a> — Fri Jan 06, 2006 7:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TheRudy]]></name></author>
		<updated>2006-01-06T06:43:41-04:00</updated>

		<published>2006-01-06T06:43:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59125#p59125</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59125#p59125"/>
		<title type="html"><![CDATA[bind msg, reg nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59125#p59125"><![CDATA[
Hey<br><br>Yes i'm new so sorry for stupid question <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br>And yes, i'm reading <a href="http://tcl.activestate.com/man/tcl8.3/TclCmd/proc.htm" class="postlink">http://tcl.activestate.com/man/tcl8.3/TclCmd/proc.htm</a> but it doesn't help me with this problem.<br><br>I'm trying to register a nick over PM, posting this on channel has no use since it involves password..<br><br>This method works, !regteam some_nick some_pass &lt;--- PUBLIC channel<div class="codebox"><p>Code: </p><pre><code>bind pub n|- !regteam pub:reg_teamproc pub:reg_team { nickname hostname handle channel arguments } {set nick [lindex [split $arguments] 0]set password [lindex [split $arguments] 1] puthelp "PRIVMSG $nickname :Nickname: $nick Password: $password"}</code></pre></div><br>This method doesn't work, PM method!! What am i missing here?!?<div class="codebox"><p>Code: </p><pre><code>bind msg n !regteam msg:reg_teamproc msg:reg_team { nickname hostname handle channel arguments } {set nick [lindex [split $arguments] 0]set password [lindex [split $arguments] 1] puthelp "PRIVMSG $nickname :Nickname: $nick Password: $password"}</code></pre></div>btw, the error i get using above MSG code is: wrong # args: should be "reg_team nickname hostname handle channel arguments"<br><br>Now if i change "arguments" to "args" the error is not there anymore but there is nothing in the args so the output is: Nickname: Password:<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6882">TheRudy</a> — Fri Jan 06, 2006 6:43 am</p><hr />
]]></content>
	</entry>
	</feed>
