Skip to content

Instantly share code, notes, and snippets.

@Cam1337
Created May 15, 2010 21:36
Show Gist options
  • Save Cam1337/402414 to your computer and use it in GitHub Desktop.
Save Cam1337/402414 to your computer and use it in GitHub Desktop.
Modules=["opcmds","web","spanish","rules","py","cmds","ccmds"]
Vars=["line","CMD","TotalString","Nick","Location","ALen","args","s","rn","PM","iSend","PMSend"]
def ForwardVars(self):
for i in Modules:
for y in Vars:
exec("%s.%s=self.%s"%(i,y,y))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment