- Timestamp:
- 09/30/07 13:21:26 (14 months ago)
- Location:
- tools/nsa
- Files:
-
- 3 modified
-
lib/ircbot.py (modified) (1 diff)
-
lib/irclib.py (modified) (1 diff)
-
nsa.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tools/nsa/lib/ircbot.py
r659 r661 209 209 Used when answering a CTCP VERSION request. 210 210 """ 211 return " Yuk yuk yuk"211 return "NSA-bot by Michiel van Baak" 212 212 213 213 def jump_server(self, msg="Changing servers"): -
tools/nsa/lib/irclib.py
r659 r661 1041 1041 m = "on_" + e.eventtype() 1042 1042 if hasattr(self, m): 1043 getattr(self, m)( e.eventtype,c, e)1043 getattr(self, m)(c, e) 1044 1044 1045 1045 def _dcc_disconnect(self, c, e): -
tools/nsa/nsa.py
r660 r661 146 146 self.channel = channel 147 147 148 def on_nicknameinuse(self, ev,c, e):148 def on_nicknameinuse(self, c, e): 149 149 c.nick(c.get_nickname() + "-1") 150 150 151 def on_welcome(self, ev,c, e):151 def on_welcome(self, c, e): 152 152 c.join(self.channel) 153 153 154 def on_pubmsg(self, ev,c, e):154 def on_pubmsg(self, c, e): 155 155 msg = e.arguments()[0] 156 156
