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

	<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>2003-12-31T05:58:43-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-12-31T05:58:43-04:00</updated>

		<published>2003-12-31T05:58:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32016#p32016</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32016#p32016"/>
		<title type="html"><![CDATA[How do I auto-identify on AstroLink?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32016#p32016"><![CDATA[
Why not do it like this. On init-server let the bot set chans +inactive and identify. When password is accepted let the bot set its modes and make a utimer to set chans -inactive.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Dec 31, 2003 5:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Assmonkey]]></name></author>
		<updated>2003-12-30T19:46:42-04:00</updated>

		<published>2003-12-30T19:46:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32004#p32004</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32004#p32004"/>
		<title type="html"><![CDATA[How do I auto-identify on AstroLink?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32004#p32004"><![CDATA[
This is what the script looks like now (if it helps):<br><div class="codebox"><p>Code: </p><pre><code># CHANGE THIS VALUE TO YOUR NICKNAME PASSWORD #set nickpass "password"# CHANGE THIS VALUE TO THE NICKNAME OR ADDRESS OF NICKSERV #set nickserv "NickServ"# CHANGE THIS VALUE TO THE IDENTIFY COMMAND OF NICKSERV #set command "identify"# CHANGE THIS VALUE TO WHAT NICKSERV SAYS WHEN ASKING FOR IDENTIFICATION #set askpass "*please identify*"# CHANGE THIS VALUE TO WHAT NICKSERV SAYS WHEN SUCCESFULLY IDENTIFIED #set passacpt "*password accepted*"# CHANGE THIS VALUE TO WHAT MODES YOU WANT SET ON THE BOT #set modeset "+ix"##############################################################bind notc - "$askpass" identifybind notc - "$passacpt" modechangebind notc - "*authentication successful*" join:chansproc identify { nick uhost hand args } { global botnick nickpass nickserv command    putlog "--- Identification request received! ---"    putserv "PRIVMSG $nickserv :$command $nickpass"    putlog "--- Password sent, please wait! ---"  }proc modechange { nick uhost hand args } { global modeset botnick     putlog "--- Attempting modechange! ---"    putserv "MODE $botnick $modeset"    putlog "--- Command sent, please wait! ---"  }proc join:chans { nick uhost hand arg dest } { if {[string tolower $dest] == [string tolower $::botnick]} {  foreach chan [channels] {   channel set $chan -inactive   }  } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4120">Assmonkey</a> — Tue Dec 30, 2003 7:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Assmonkey]]></name></author>
		<updated>2003-12-30T17:39:57-04:00</updated>

		<published>2003-12-30T17:39:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31999#p31999</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31999#p31999"/>
		<title type="html"><![CDATA[How do I auto-identify on AstroLink?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31999#p31999"><![CDATA[
Excellent stuff! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>It does work kinda (not your fault though).<br><br>The thing is that on AstroLink you have to identify before you can set mode +x. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>So I have set the script so that it identifies first. And when the server sends the "password accepted" notice, the script sets mode +x.<br>The problem is that the server doesn't say anything about it being successful or not even though I know that it worked, so this forces me to bind the disabling of the +inactive also on the "password accepted" string but the bot joins the channels before it has time to set mode +x.<br><br>Any other solution? Is there maybe a way to set a timer on the +inactive setting?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4120">Assmonkey</a> — Tue Dec 30, 2003 5:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-12-30T17:15:02-04:00</updated>

		<published>2003-12-30T17:15:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31995#p31995</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31995#p31995"/>
		<title type="html"><![CDATA[How do I auto-identify on AstroLink?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31995#p31995"><![CDATA[
add this into the init-server proc<div class="codebox"><p>Code: </p><pre><code>foreach chan [channels] { channel set $chan +inactive }</code></pre></div>and use this code to join channels when password accepted:<div class="codebox"><p>Code: </p><pre><code>bind notc - "*password accepted*" join:chansproc join:chans {nick uhost hand arg dest} {if {[string tolower $dest] == [string tolower $::botnick]} { foreach chan [channels] {  channel set $chan -inactive  } }}</code></pre></div>I guess by the time the password is accepted the bot would've set mode +x.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Dec 30, 2003 5:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Assmonkey]]></name></author>
		<updated>2003-12-30T15:00:49-04:00</updated>

		<published>2003-12-30T15:00:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31990#p31990</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31990#p31990"/>
		<title type="html"><![CDATA[How do I auto-identify on AstroLink?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31990#p31990"><![CDATA[
OK, I created a script using your help and through reading other similar scripts.<br>It now auto identfies and succesfully sets mode +x.<br><br>But there's still one thing I want it to do but I don't know how.<br><br>I want the script to set +inactive on all channels I'm on when loading the eggdrop. Then when it has identified and set mode +x, I want it to remove the +inactive setting from all channels which will make it join the channels.<br><br>Is this possible, and if so, how?<br><br>Thanks again for the help. <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=4120">Assmonkey</a> — Tue Dec 30, 2003 3:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-12-30T11:57:31-04:00</updated>

		<published>2003-12-30T11:57:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31984#p31984</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31984#p31984"/>
		<title type="html"><![CDATA[How do I auto-identify on AstroLink?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31984#p31984"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind notc - "*password accepted*" self:opproc self:op {nick uhost hand arg dest} {if {[string tolower $dest] == [string tolower $::botnick]} { foreach chan [channels] {  putserv "PRIVMSG chanserv :op $chan $::botnick"  } }}</code></pre></div>edit "<strong class="text-strong">*password accepted*</strong>" to suite your services notice (when password is accepted). Aslo change chanserv's nick and op command if they're wrong.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Dec 30, 2003 11:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Assmonkey]]></name></author>
		<updated>2003-12-30T10:59:59-04:00</updated>

		<published>2003-12-30T10:59:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31979#p31979</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31979#p31979"/>
		<title type="html"><![CDATA[How do I auto-identify on AstroLink?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31979#p31979"><![CDATA[
<blockquote class="uncited"><div>make a Notc bind, to catch when password accepted so the bot will op itself on all channels.</div></blockquote>I would if I knew how. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4120">Assmonkey</a> — Tue Dec 30, 2003 10:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Assmonkey]]></name></author>
		<updated>2003-12-30T06:32:35-04:00</updated>

		<published>2003-12-30T06:32:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31968#p31968</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31968#p31968"/>
		<title type="html"><![CDATA[How do I auto-identify on AstroLink?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31968#p31968"><![CDATA[
By whois'ing myself. When mode +x is activated, it will not show my real hostname.<br>And you are right putquick doesn't change anything, I already tried that before making my post here. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4120">Assmonkey</a> — Tue Dec 30, 2003 6:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-12-29T18:03:29-04:00</updated>

		<published>2003-12-29T18:03:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31952#p31952</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31952#p31952"/>
		<title type="html"><![CDATA[How do I auto-identify on AstroLink?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31952#p31952"><![CDATA[
make a Notc bind, to catch when password accepted so the bot will op itself on all channels. Or you can try using putquick instead of puthelp, but I'm not sure that would help.<br><br>As for the mode, it should work. How did you find out that its not working ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Dec 29, 2003 6:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Assmonkey]]></name></author>
		<updated>2003-12-29T13:41:10-04:00</updated>

		<published>2003-12-29T13:41:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31936#p31936</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31936#p31936"/>
		<title type="html"><![CDATA[How do I auto-identify on AstroLink?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31936#p31936"><![CDATA[
I want my eggdrop to automatically identify with NickServ when it connects to the server (AstroLink in my case).<br><br>I tried using this:<br><div class="codebox"><p>Code: </p><pre><code>proc evnt:init_server {type} {  global botnickputhelp "PRIVMSG NickServ :identify &lt;password&gt;"putserv "MODE $botnick +x"}</code></pre></div>But it takes <strong class="text-strong">way</strong> too long to actually execute. It identfies about 30-45 seconds after I have connected to the server and within 5 seconds I (or the eggdrop rather) have already joined all channels and thus doesn't get auto-opped, hopped or voiced.<br><br>And as for executing the MODE change, it doesn't happen at all and I can't figure out why.<br>When I'm on AstroLink, I just type /mode +x to activate it.<br><br>Help! Please? <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=4120">Assmonkey</a> — Mon Dec 29, 2003 1:41 pm</p><hr />
]]></content>
	</entry>
	</feed>
