I'm having a bit of trouble and it's getting me POed. I'm trying to do some crap like this:
@uhhuh
#end
:touch
'having troubles here'
#take gems 5 poorass
'I wanted extra crap here but I didn't want it to activiate it you were a 'poorass'
#extracrap
!extracrap
#end
I want to be able to continue the program when you have enough gems and not continue when you don't. I thought the program would stop at 'poorass' if you were a 'poorass' and go to :poorass. BUT I WAS WRONG.
I'd love any help.
Need help with stuff... again..
Moderator: zamros
straight from THE MAN himself:
Code: Select all
@Troll
#end
:touch
#if blocked w isin
A troll blocks your way over the bridge.
"Grrr... Pay for passage or forget
about the castle!"
!bribe;Bribe the troll...........10 Gems
#end
:bribe
#take gems 10 toopoor
#lock
"Now hurry on along..."
/i/n/i/n
/i/i/i/i/i/i/i/i
/s/i/s
#unlock
#end
:isin
#if scepter allow
$The troll blocks you:
"Nobody leaves the castle without
the Scepter of Lots 'n Lots of
Power. Return to your quest!"
#end
:allow
#lock
"Continue on, brave adventurer."
#restore touch
/n/i/n
/i/i/i/i/i/i/i/i
/s/s
#unlock
#end
:toopoor
"You can't afford it, idiot!"
kickass.. thanx..
Although I feel kind of stupid, I haven't even looked at the original zzt games since I first started using it in like 1999. When I left and came back I guess I felt too confident and thought I could remember everything....
another funny thing.. I have never used the "lock" and "unlock" commands.
Although I feel kind of stupid, I haven't even looked at the original zzt games since I first started using it in like 1999. When I left and came back I guess I felt too confident and thought I could remember everything....
another funny thing.. I have never used the "lock" and "unlock" commands.
- Zenith Nadir
- this is my hammer
- Posts: 2767
- Joined: Wed Mar 12, 2003 11:40 am
- Location: between the black and white spiders