Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

python text adventure

Name: Anonymous 2011-03-06 22:37

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?

Name: Anonymous 2011-03-07 5:40

It's called a module you big dummy.

import attack-script

then

attack-script.attack() <- for functions

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List