Advertisement
Guest User

Untitled

a guest
Dec 25th, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. TIME_STOOD_STILL = 1 #minute
  2.  
  3. def apply_script(protocol,connection,config):
  4.    
  5.     class scriptProtocol(protocol):
  6.     pass
  7.  
  8.     class scriptConnection(connection):
  9.         def on_join(self, name):
  10.             if name == "N4SONIC":
  11.                 disconnect(self)
  12.    
  13.     return scriptConnection,scriptProtocol
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement