<font face="courier new,monospace">First, I apologize if this is not the appropriate place for this.<br><br>I have a basic bot written as a mechanism for learning classes and methods.  I think I&#39;ve got methods down, but classes are kicking my butt.<br>
<br>As a personal exercise, I&#39;m trying to implement a check in an IRC bot to see if the person issuing a command has oper (@) status.  in IRC this is done with the &#39;NAMES &lt;#channel&gt;&#39; command.<br><br>Google gives me this:<br>
<a href="http://stackoverflow.com/questions/6671620/list-users-in-irc-channel-using-twisted-python-irc-framework">http://stackoverflow.com/questions/6671620/list-users-in-irc-channel-using-twisted-python-irc-framework</a><br>
<br>My own research points me to this:<br><a href="http://twistedmatrix.com/trac/browser/trunk/twisted/words/protocols/irc.py#L448">http://twistedmatrix.com/trac/browser/trunk/twisted/words/protocols/irc.py#L448</a><br><br>
Now, is stackoverflow overriding that method or was it perhaps written prior to the implementation of the irc.py portion I linked to?<br><br>My code is here.  I am attempting to parse the names list at line 110<br><a href="http://bpaste.net/show/Fll7at9Z3b8nD6GDNN14/">http://bpaste.net/show/Fll7at9Z3b8nD6GDNN14/</a><br>
<br>I don&#39;t know if I should be using twisted/words/protocols/irc.py or twisted/words/im/ircsupport.py.<br><br>Can someone point me in the right direction as to what I need to do to grab the list of names at that particular spot using Twisted&#39;s in methods?  If it cannot be done with the Twisted&#39;s methods, am I to understand that&#39;s what the StackOverflow post was doing?<br>
<br>Yes, I know the code is ugly.  I can clean it up after I understand what I&#39;m doing more fully.<br><br><br clear="all"></font><br>-- <br>Molon Labe<br>&quot;Come and take them&quot;<br><br>&quot;The Marines I have seen around the world have the cleanest bodies, the filthiest minds, the highest morale, and the lowest morals of any group of animals I have ever seen. Thank God for the United States Marine Corps!&quot; -Eleanor Roosevelt<br>