ok, so im working on this text adventure, and i want it to be so that my script for being attacked will be able to used at any point. like function except i know thats wrong or i am doing somethign wrong. how do i define a script for future use in python? everytime i try it says some bullcrap about the variables not existing?
0]=> python
Python 3.2 (r32:88445, Feb 21 2011, 01:54:01)
[GCC 4.5.2 20110127 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> hax-my-anus = 2
File "<stdin>", line 1
SyntaxError: can't assign to operator