TADS expert needed TAKE 2


8 Aug 1995 22:20:16 GMT

Okay, since my last posting was over the 70 some odd columns needed to read
the durn thing, let me try again...

Cat : actor
sdesc = "Cat"
adesc = "the Cat"
noun = 'cat' 'kitty' 'kitten' 'cat'
adjective = 'the'
location = hall4
catMessage =
[

16 messages here -- won't bore you with them. :)

]
tracklist = ['northeast' hall3 'east' hall2 'southeast' startroom 'northwest'
hall2 'west' hall3 'southwest' hall4]
trackpos = 1
moveCounter = 0
catDaemon =
{
if (not self.isActive) return;
self.moveCounter++;
if (self.moveCounter = 6)
{
self.moveCounter := 0;
if (self.location = Me.location)
"\b\"Yeeeoow!\" The Cat
screeches. \"Time to get going! I think I'll go... that way! Yeeeeoow!\" He
struts off to the <<self.tracklist[self.trackpos]>>.\b";
self.moveInto (self.tracklist [self.trackpos + 1]);
if (self.location = Me.location)
"\bYou hear a loud \"Yeeoooow!\" and the Cat
struts into the room. He spins on one heel and than does a back flip for good
measure. He looks around the room. \"What? No girls here? What a waste of a
good move!\"\b";

self.trackpos +=2;
if (self.trackpos > length (self.tracklist)) self.trackpos :=1;
}
else
{
if (self.location = Me.location)
{
"\b";
say( self.catMessage[rand( 16 )]);
}
}
}
;

Thanks again!

Only from the warped mind of,

David L. Gilbert