<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.eggheads.org/index.php?action=history&amp;feed=atom&amp;title=EndOfWho</id>
	<title>EndOfWho - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eggheads.org/index.php?action=history&amp;feed=atom&amp;title=EndOfWho"/>
	<link rel="alternate" type="text/html" href="https://wiki.eggheads.org/index.php?title=EndOfWho&amp;action=history"/>
	<updated>2026-05-09T11:19:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://wiki.eggheads.org/index.php?title=EndOfWho&amp;diff=121&amp;oldid=prev</id>
		<title>Geo: Tcl- trigger on end of WHO</title>
		<link rel="alternate" type="text/html" href="https://wiki.eggheads.org/index.php?title=EndOfWho&amp;diff=121&amp;oldid=prev"/>
		<updated>2022-09-19T20:52:34Z</updated>

		<summary type="html">&lt;p&gt;Tcl- trigger on end of WHO&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sending and receiving /who information can be a non-trivial task in Tcl because of the large numbers of different messages sent related to the WHO request. Here is an example of how to tell Eggdrop that a WHO request is complete and it can now act on any updated information it received (in this case, it is assumed that Eggdrop previously sent a WHOX request asking for account information).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bind rawt - 315 endofwho&lt;br /&gt;
&lt;br /&gt;
proc endofwho {from key text tags} {&lt;br /&gt;
  set chan [lindex [split $text] 0]&lt;br /&gt;
  foreach nick [chanlist $chan] {&lt;br /&gt;
    if {[getaccount $nick $chan] != &amp;quot;*&amp;quot;} {&lt;br /&gt;
      putlog &amp;quot;$nick on $chan is authenticated as [getaccount $nick $chan]&amp;quot;&lt;br /&gt;
    } else {&lt;br /&gt;
      putlog &amp;quot;$nick on $chan is not authenticated with services&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
  # make sure there is no implicit return 1 which would stop further processing&lt;br /&gt;
  return 0&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Geo</name></author>
	</entry>
</feed>