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

	<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-12-09T14:41:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-12-09T14:41:00-04:00</updated>

		<published>2001-12-09T14:41:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2576#p2576</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2576#p2576"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2576#p2576"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>array set nickarray {}#set this to the special flag the user must haveset nickflag "S"bind join ${nickflag} "*" chk:joinproc chk:join {nick uh hand chan} {  global nickarray  lappend nickarray([string tolower $nick]) $chan  hi_check $nick cb:voice}proc cb:voice {nick x} {  global nickarray  foreach chan $nickarray($nick) {    if {(![isop $nick $chan]) &amp;&amp; (![isvoice $nick $chan]) &amp;&amp; ([onchan $nick $chan])} {      pushmode $chan +v $nick    }    set nickarray($nick) [lrepleace $nickarray($nick) [set idx [lsearch -exact $nickarray($nick) "$chan"]] $idx]]  }}bind time - "*" chk:timeproc chk:time {min hour day month year} {  global nickarray nickflag  set min [string trimleft $min 0]  if {![expr $min % 5]} {    foreach chan [channels] {      foreach nick [chanlist $chan $nickflag] {        if {(![isop $nick $chan]) &amp;&amp; (![isvoice $nick $chan])} {          hi_check $nick cb:voice          lappend nickarray([string tolower $nick] $chan        }      }    }  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Dec 09, 2001 2:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-12-08T12:13:00-04:00</updated>

		<published>2001-12-08T12:13:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2543#p2543</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2543#p2543"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2543#p2543"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>array set nickarray {}bind join - "*" chk:joinproc chk:join {nick uh hand chan} {  global nickarray  lappend nickarray([string tolower $nick]) $chan  hi_check $nick cb:voice}proc cb:voice {nick x} {  global nickarray  foreach chan $nickarray($nick) {    if {(![isop $nick $chan]) &amp;&amp; (![isvoice $nick $chan]) &amp;&amp; ([onchan $nick $chan])} {      pushmode $chan +v $nick    }    set nickarray($nick) [lrepleace $nickarray($nick) [set idx [lsearch -exact $nickarray($nick) "$chan"]] $idx]]  }}bind time - "*" chk:timeproc chk:time {min hour day month year} {  global nickarray  set min [string trimleft $min 0]  if {![expr $min % 5]} {    foreach chan [channels] {      foreach nick [chanlist $chan] {        if {(![isop $nick $chan]) &amp;&amp; (![isvoice $nick $chan])} {          hi_check $nick cb:voice          lappend nickarray([string tolower $nick] $chan        }      }    }  }}</code></pre></div>This isn't tested, nor fine tuned. It acts for all channels, and check all channels for no-voices every 5 mins.<br><br>You should load the script by stdarg first, then this.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sat Dec 08, 2001 12:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yourname]]></name></author>
		<updated>2001-12-08T08:21:00-04:00</updated>

		<published>2001-12-08T08:21:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2537#p2537</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2537#p2537"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2537#p2537"><![CDATA[
I hope there is someone following this...<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13">Yourname</a> — Sat Dec 08, 2001 8:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yourname]]></name></author>
		<updated>2001-12-04T14:54:00-04:00</updated>

		<published>2001-12-04T14:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2440#p2440</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2440#p2440"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2440#p2440"><![CDATA[
I saw that script, but i didnt get much of a head &amp; tail of it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":razz:" title="Razz"> But i take it that it'll need 2 more scripts to work properly from your site.<br><br>Anyways, the foundation is set, thanks to stdarg, now its for the contruction and the finishing ceremony!<br><br>All the best <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13">Yourname</a> — Tue Dec 04, 2001 2:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2001-12-03T22:47:00-04:00</updated>

		<published>2001-12-03T22:47:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2411#p2411</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2411#p2411"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2411#p2411"><![CDATA[
I already wrote a script like that<br><br><a href="http://home.dal.net/stdragon/eggdrop/hasidentified.tcl" class="postlink">http://home.dal.net/stdragon/eggdrop/hasidentified.tcl</a><br><br>It works like this..<div class="codebox"><p>Code: </p><pre><code>proc mycallback {nick ident} {  if {$ident == 1} {    # has identified  } else {    # hasn't identified  }}hi_check stdragon mycallback</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Dec 03, 2001 10:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yourname]]></name></author>
		<updated>2001-12-03T16:23:00-04:00</updated>

		<published>2001-12-03T16:23:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2387#p2387</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2387#p2387"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2387#p2387"><![CDATA[
DAMN! yeah man!! Exactly! <br><br>LOL... i almost forgot that services can be of help too! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><br>Well, there ya go guys.. that brings a very good turn now.<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13">Yourname</a> — Mon Dec 03, 2001 4:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2001-12-03T16:03:00-04:00</updated>

		<published>2001-12-03T16:03:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2386#p2386</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2386#p2386"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2386#p2386"><![CDATA[
While my knowledge of dalnet is severly limited, I recall that you could ask nickserv if a user was registered with the /nickserv ACC $nick command, to which it would reply with a notice what access level the user was at (something like 0 for unregistered nick, 1 for not real owner, 2 for hostmask matching for the nick, and 3 for password identified. - check with nickserv help if I'm right about that). It would be better to use nickserv for this application because #1 thats what it this command was designed for, and #2 it always returns an answer, unlike the whois method which has the numeric missing if it aint identified.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Mon Dec 03, 2001 4:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yourname]]></name></author>
		<updated>2001-12-03T14:28:00-04:00</updated>

		<published>2001-12-03T14:28:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2381#p2381</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2381#p2381"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2381#p2381"><![CDATA[
Well, Why do we need to keep waiting for a numeric?<br><br>Why cant we do something like output the result of /whois $nick to a temp file. And then make eggdrop search for the particular string, in this case 'identified' and do what we want it to do. (which i already told what shud be done in my main post)<br><br>Regards lag, we can think of it later. Right now the main concept can be done. Lags, splits can come up later <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13">Yourname</a> — Mon Dec 03, 2001 2:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2001-12-03T06:27:00-04:00</updated>

		<published>2001-12-03T06:27:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2370#p2370</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2370#p2370"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2370#p2370"><![CDATA[
The problem with the 1st idea is that the server doesn't send a numeric when a nick isn't identified. In fact, it doesn't always send one if a nick IS identified. And, due to server lag, etc, you can't really base something on the condition that something diddn't happen, you need 2 conditions. That may have not made sence, but oh well, I'm tired <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Mon Dec 03, 2001 6:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yourname]]></name></author>
		<updated>2001-12-03T03:25:00-04:00</updated>

		<published>2001-12-03T03:25:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2362#p2362</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2362#p2362"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2362#p2362"><![CDATA[
seems like the second idea aint possible. well, isnt there a way to code it into eggdrop and ADD this functionality?<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13">Yourname</a> — Mon Dec 03, 2001 3:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yourname]]></name></author>
		<updated>2001-12-03T03:23:00-04:00</updated>

		<published>2001-12-03T03:23:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2361#p2361</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2361#p2361"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2361#p2361"><![CDATA[
Well, the 'identified' will be missing <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13">Yourname</a> — Mon Dec 03, 2001 3:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-12-03T00:09:00-04:00</updated>

		<published>2001-12-03T00:09:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2358#p2358</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2358#p2358"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2358#p2358"><![CDATA[
Somthing else I should have asked, but what does the server send if the person is not identified.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Dec 03, 2001 12:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2001-12-02T23:30:00-04:00</updated>

		<published>2001-12-02T23:30:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2356#p2356</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2356#p2356"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2356#p2356"><![CDATA[
307<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Sun Dec 02, 2001 11:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-12-02T22:14:00-04:00</updated>

		<published>2001-12-02T22:14:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2352#p2352</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2352#p2352"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2352#p2352"><![CDATA[
As Petersen said, once the "source" command is used to load the script, the memory that it is stored in, acts like one large script.<br><br>As for the first idea. We would need to know the RAW numeric used by the server, to send the data back.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Dec 02, 2001 10:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2001-12-02T18:28:00-04:00</updated>

		<published>2001-12-02T18:28:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2346#p2346</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2346#p2346"/>
		<title type="html"><![CDATA[Best idea(s) of the millenium!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2346#p2346"><![CDATA[
re your second query. no, it can't output the filename. once a script is loaded, it doesn't have any identifiers with the filename it was from, it just exists as procs, namespaces, binds, timers and varables, and nothing else.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Sun Dec 02, 2001 6:28 pm</p><hr />
]]></content>
	</entry>
	</feed>
