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

	<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>2013-01-27T10:59:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-01-27T10:59:24-04:00</updated>

		<published>2013-01-27T10:59:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100796#p100796</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100796#p100796"/>
		<title type="html"><![CDATA[Please, need some help on this one!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100796#p100796"><![CDATA[
Modified.. weird because i tested this yet i think i wanted to do something more complex and i got back to the standard version and forgot to modify the old var's.<br>The script should be ok now<br>Thanks<br><br>Thats why users who request must test the script so that if i/we make something wrong the script should be corrected<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Sun Jan 27, 2013 10:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2013-01-27T10:51:10-04:00</updated>

		<published>2013-01-27T10:51:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100795#p100795</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100795#p100795"/>
		<title type="html"><![CDATA[Please, need some help on this one!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100795#p100795"><![CDATA[
Just a comment, list indexes start at 0, not at 1.<br>When using pub bindings, the trigger word is stripped from the text argument.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun Jan 27, 2013 10:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-01-27T10:57:51-04:00</updated>

		<published>2013-01-27T08:35:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100787#p100787</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100787#p100787"/>
		<title type="html"><![CDATA[Please, need some help on this one!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100787#p100787"><![CDATA[
Try this<br><blockquote class="uncited"><div>Commands<br><br>!register #channel $nick</div></blockquote><div class="codebox"><p>Code: </p><pre><code>bind PUB - !register register:pub bind PUBM - "*i dont remember*" seen:pubm proc register:pub {nick uhost hand chan arg} {    global temp    if {[lindex [split $arg] 0] || [lindex [split $arg] 1] == ""} { putserv "PRIVMSG $chan :\002$nick - USAGE: !register &lt;\$channel&gt; &lt;\$nick&gt;"; return }    if {[string match "#*" [lindex [split $arg] 0]]} { set temp(chan) [lindex [split $arg] 0]; channel add [lindex [split $arg] 0] }    utimer 15 [list putserv "PRIVMSG [lindex [split $arg] 0] :!seen a"]    utimer 45 [list doacc [lindex [split $arg] 0] [lindex [split $arg] 2]] } proc seen:pubm {nick uhost hand chan arg} {    global temp    if {$temp(chan) == $chan} {       channel remove $chan    } } proc doacc {chan nick} {    if {![validuser [nick2hand $nick]]} {       adduser $nick "*!*@[lindex [split [getchanhost $nick $chan] @] 1]"       chattr $nick +N $chan    } else {       chattr [nick2hand $nick] +N $chan    } } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Sun Jan 27, 2013 8:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[onthego]]></name></author>
		<updated>2012-11-01T23:07:42-04:00</updated>

		<published>2012-11-01T23:07:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100178#p100178</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100178#p100178"/>
		<title type="html"><![CDATA[Please, need some help on this one!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100178#p100178"><![CDATA[
I got the following script, I'd like someone to help me to put something in plus, for example, when i type, !Register &lt;channel&gt; &lt;nick&gt;, give the bot join the channel and to say "Status channel. .. please stand by .. "then give its cycle time, and say on channel then "!seen a" and if another bot responds like "i dont remember seen a" then the bot give an reply to chan and say "Channel Status: Rejected" and the bot purge that channel, and leave. I would appreciate if you help me!<br><blockquote class="uncited"><div>bind pub m|- !register pub:register<br><br>proc pub:register {nick uhost hand chan txt} {<br>  if {[llength $txt] != 2} {<br>    putserv "PRIVMSG $chan :$nick folosire !register &lt;#channel&gt; &lt;nick&gt;"<br>    return<br>  }<br>  foreach {channel owner} [split $txt] {<br>    break<br>  }<br>  if {[validchan $channel]} {<br>    putserv "PRIVMSG $chan :I'm already monitoring $chan channel. Registration had been stoped."<br>    return<br>  }<br>  channel add $channel<br>  chattr $hand -|+Nnf $channel<br>  putserv "PRIVMSG $chan :this $channel was accepted by $hand and gives manager atributes on $channel on $owner"<br>  putserv "PRIVMSG $channel :Channel STATUS...."<br>  putserv "PRIVMSG $channel :!seen a"<br>  putserv "PRIVMSG $channel :Status Channel: accepted by $hand, don't forget $owner if u do any abuse i will leave the channel."<br>}</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12111">onthego</a> — Thu Nov 01, 2012 11:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
