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

	<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>2005-06-13T14:08:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[tessa1]]></name></author>
		<updated>2005-06-13T14:08:04-04:00</updated>

		<published>2005-06-13T14:08:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50740#p50740</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50740#p50740"/>
		<title type="html"><![CDATA[psyBNC --&gt; Administration with eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50740#p50740"><![CDATA[
well  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br><br>many thanks for ur help...works<br><br>Great Forum<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6110">tessa1</a> — Mon Jun 13, 2005 2:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-06-13T03:42:15-04:00</updated>

		<published>2005-06-13T03:42:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50703#p50703</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50703#p50703"/>
		<title type="html"><![CDATA[psyBNC --&gt; Administration with eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50703#p50703"><![CDATA[
if I am talking about ::lastnick, you shouldn't try to save as lastnick, should you? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br>the diffrenze between these are that ::lastnick is a global var while lastnick is procedure specific (unless its made global an other way).<br><br>so just add after<br>putquick "PRIVMSG -psyBNC :adduser $arg :Bouncer.by.Some.net" <br>some line like:<br>set ::lastnick $nick<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Mon Jun 13, 2005 3:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tessa1]]></name></author>
		<updated>2005-06-12T17:06:57-04:00</updated>

		<published>2005-06-12T17:06:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50663#p50663</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50663#p50663"/>
		<title type="html"><![CDATA[psyBNC --&gt; Administration with eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50663#p50663"><![CDATA[
<blockquote class="uncited"><div>you should save ::lastnick when requesting the psybnc account</div></blockquote><br>hmm, how can I save ::lastnick ?<br><br><br>set lastnick $nick   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_question.gif" width="15" height="15" alt=":?:" title="Question"><br><br><blockquote class="uncited"><div>Tcl error [proc:msg]: can't read "::lastnick": no such variable</div></blockquote><br>sorry I don't know how<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6110">tessa1</a> — Sun Jun 12, 2005 5:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-06-12T14:18:59-04:00</updated>

		<published>2005-06-12T14:18:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50646#p50646</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50646#p50646"/>
		<title type="html"><![CDATA[psyBNC --&gt; Administration with eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50646#p50646"><![CDATA[
i rather meant something like that:<div class="codebox"><p>Code: </p><pre><code>bind msg - "Neuer" proc:msgproc proc:msg {nick uhost hand arg} {   if { $nick == "-psyBNC" &amp;&amp; $uhost == "psyBNC@lam3rz.de" } {      puthelp "privmsg $::lastnick :Das Passwort für den neuen Account ist [lindex [split $arg] 5]"      return 1   }   return 0}</code></pre></div>you should save ::lastnick when requesting the psybnc account <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=2382">De Kus</a> — Sun Jun 12, 2005 2:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tessa1]]></name></author>
		<updated>2005-06-12T13:51:26-04:00</updated>

		<published>2005-06-12T13:51:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50644#p50644</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50644#p50644"/>
		<title type="html"><![CDATA[psyBNC --&gt; Administration with eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50644#p50644"><![CDATA[
Sorry, thats to difficult for me and the following is bullshit i think <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> <br><div class="codebox"><p>Code: </p><pre><code>bind msgm - "*" proc:msgproc proc:msg {nick uhost hand arg} {set line [string trim $arg]puthelp "privmsg $nick :$line"return 1}</code></pre></div>i have no idea how to integrate this in the script and split and regex and scan and trim and ...lalala  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_eek.gif" width="15" height="15" alt=":shock:" title="Shocked"> <br><br>Geht über meinen Horizont <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=6110">tessa1</a> — Sun Jun 12, 2005 1:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tessa1]]></name></author>
		<updated>2005-06-12T11:18:33-04:00</updated>

		<published>2005-06-12T11:18:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50634#p50634</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50634#p50634"/>
		<title type="html"><![CDATA[psyBNC --&gt; Administration with eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50634#p50634"><![CDATA[
thx, thats a good idea  <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=6110">tessa1</a> — Sun Jun 12, 2005 11:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-06-12T10:15:41-04:00</updated>

		<published>2005-06-12T10:15:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50633#p50633</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50633#p50633"/>
		<title type="html"><![CDATA[psyBNC --&gt; Administration with eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50633#p50633"><![CDATA[
make a msg or msgm bind for psy and extract the value via scan or regex. also possible is to split the line into a list and trim the ' around the list element.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sun Jun 12, 2005 10:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tessa1]]></name></author>
		<updated>2005-06-12T08:21:48-04:00</updated>

		<published>2005-06-12T08:21:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50628#p50628</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50628#p50628"/>
		<title type="html"><![CDATA[psyBNC --&gt; Administration with eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50628#p50628"><![CDATA[
ok...thx the following works<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !adduser adduser_msgproc adduser_msg {nick uhost hand chan arg} {  if {[lindex [split $arg] 0] == ""} { puthelp "notice $nick :Syntax: !adduser &lt;nick&gt; " ; return 0 }   putquick "PRIVMSG -psyBNC :adduser $arg :Bouncer.by.Some.net"  return 1}bind pub - !deluser deluser_msgproc deluser_msg {nick uhost hand chan arg} {  if {[lindex [split $arg] 0] == ""} { puthelp "notice $nick :Syntax: !deluser &lt;nick&gt; " ; return 0 }   putquick "PRIVMSG -psyBNC :deluser $arg"  return 1}</code></pre></div>Good, now i want to transfer the password via eggdrop to $arg,<br>but don't know how i can extract the password 'nnendmpo' from a partyline chatwindow and send it to the added user. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad">  <br><br><br>The following text is published at the partyline:<br><blockquote class="uncited"><div>[01:55:55] &lt;botnick&gt; [13:56] &lt;&lt;tessa1&gt;&gt; !tessa1! !adduser testnick<br>[01:55:56] &lt;botnick&gt; [13:56] [-psyBNC!<a href="mailto:psyBNC@lam3rz.de">psyBNC@lam3rz.de</a>] Sun Jun 12 13:56:15 :New User:testnick (Bouncer.by.Some.net) added by botnick [01:55:56] &lt;botnick&gt; [13:56] [-psyBNC!<a href="mailto:psyBNC@lam3rz.de">psyBNC@lam3rz.de</a>] Neuer Nutzer 'testnick' hinzugefuegt. Password auf 'nnendmpo' eingestellt</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6110">tessa1</a> — Sun Jun 12, 2005 8:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-06-12T05:56:12-04:00</updated>

		<published>2005-06-12T05:56:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50624#p50624</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50624#p50624"/>
		<title type="html"><![CDATA[Re: psyBNC --&gt; Administration with eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50624#p50624"><![CDATA[
<blockquote class="uncited"><div>Hi,<br><br>-Eggdrop is connected with psyBNC<br>-Eggdrop is admin on psyBNC<br><br>Is the following possible?<br>Why doesn't work that script?<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !adduser adduser_msgproc adduser_msg {nick uhost hand chan args} {  if {[lindex $args 0] == ""} { puthelp "notice $nick :Syntax !adduser &lt;nick&gt; " ; return 0 }  set brand [lrange $args 0 end]  putquick "PRIVMSG -psybnc adduser $args :Bouncer.by.Some.net"  return 1}</code></pre></div>thx for answers</div></blockquote>You should not use <em class="text-italics">args</em> for a start. use <em class="text-italics">arg</em><br><br>then with your lindex use this <div class="codebox"><p>Code: </p><pre><code>[lindex [split $arg] 0]</code></pre></div>This will properly sort your list for you. <br>Also what are you doing with brand? you have put all of your passed arguments into $brand then did nothing with it. again with lrange you should use<div class="codebox"><p>Code: </p><pre><code>[lrange [split $arg] 0 end]</code></pre></div> Lastly are you sure you can privmsg -psybnc like that?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Sun Jun 12, 2005 5:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tessa1]]></name></author>
		<updated>2005-06-11T21:58:02-04:00</updated>

		<published>2005-06-11T21:58:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50610#p50610</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50610#p50610"/>
		<title type="html"><![CDATA[psyBNC --&gt; Administration with eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50610#p50610"><![CDATA[
Hi,<br><br>-Eggdrop is connected with psyBNC<br>-Eggdrop is admin on psyBNC<br><br>Is the following possible?<br>Why doesn't work that script?<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !adduser adduser_msgproc adduser_msg {nick uhost hand chan args} {  if {[lindex $args 0] == ""} { puthelp "notice $nick :Syntax !adduser &lt;nick&gt; " ; return 0 }  set brand [lrange $args 0 end]  putquick "PRIVMSG -psybnc adduser $args :Bouncer.by.Some.net"  return 1}</code></pre></div>thx for answers<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6110">tessa1</a> — Sat Jun 11, 2005 9:58 pm</p><hr />
]]></content>
	</entry>
	</feed>
