#NEWLINE# @ internationalizeDocstring #NEWLINE# def any( self , irc , msg , args , channel , optlist , name ) : #NEWLINE# #INDENT# "[<channel>] [--user <name>] [<nick>]\n\n        Returns the last time <nick> was seen and what <nick> was last seen\n        doing.  This includes any form of activity, instead of just PRIVMSGs.\n        If <nick> isn't specified, returns the last activity seen in\n        <channel>.  If --user is specified, looks up name in the user database\n        and returns the last time user was active in <channel>.  <channel> is\n        only necessary if the message isn't sent on the channel itself.\n        " #NEWLINE# if ( name and ircutils . strEqual ( name , irc . nick ) ) : #NEWLINE# #INDENT# irc . reply ( _ ( "You've found me!" ) ) #NEWLINE# return #NEWLINE# #UNINDENT# self . _checkChannelPresence ( irc , channel , self . nick , True ) #NEWLINE# if ( name and optlist ) : #NEWLINE# #INDENT# raise callbacks . ArgumentError #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if name : #NEWLINE# #INDENT# self . _seen ( irc , channel , name , any = True ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if optlist : #NEWLINE# #INDENT# for ( option , arg ) in optlist : #NEWLINE# #INDENT# if ( option == 'user' ) : #NEWLINE# #INDENT# user = arg #NEWLINE# #UNINDENT# #UNINDENT# self . _user ( irc , channel , user , any = True ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _last ( irc , channel , any = True )