ZZT-OOP Help
Moderators: Commodore, Zenith Nadir
ZZT-OOP Help
Is there any possible way to make it so that if you -DARK a dark board, a command occurs? If so, how?
- Ellypses
- Whaf yew vauhnt?
- Posts: 145
- Joined: Tue Aug 24, 2004 2:14 pm
- Location: In hell called earth
- Contact:
preset the flag +dark on starting board and then have an object to check if the -dark flag is cleared.
or
Code: Select all
#set dark
:chk
#if not dark subroute
/i#chk
:subroute
<whatever>
Code: Select all
:chk
/i#if dark chk
<whatever>
- Zenith Nadir
- this is my hammer
- Posts: 2767
- Joined: Wed Mar 12, 2003 11:40 am
- Location: between the black and white spiders