quote:
' Quest 3.11 ASL Templatedefine game <Game Name>
asl-version <311>
game version <1.0>
game author <Your Name>
game copyright <� 2002 ...>
game info <Extra Info>
start <Start Room>
end define
define room <Start Room>
look <It's the start-room - Whooo!>
west <Next Room>
end define
define room <Next Room>
description {
msg <You can put any code you like here, & run it before the room is described...|n>
set string <indescription; $gettag(#quest.currentroom#;indescription)$>
if is <#indescription#;> then set string <indescription; You are in>
else {
set numeric <len; $lengthof(#indescription#)$>
set numeric <len; %len%-1>
set string <indescription; $left(#indescription#;%len%)$>
}
msg <#indescription# |b|cl#quest.formatroom#|xb|cb.>
if not is <#quest.doorways.out#;> then msg <You can go out to #quest.doorways.out#.>
if not is <#quest.doorways.dirs#;> then msg <You can go #quest.doorways.dirs#.>
if not is <#quest.doorways.places#;> then msg <You can go to #quest.doorways.places#.>
if not is <#quest.objects#;> then msg <You can see #quest.formatobjects#.>
msg <#quest.lookdesc#>
}
indescription <You are in the:>
east <start room>
end define
define text <intro>
Enter intro text here
end define
define text <win>
Enter win text here
end define
define text <lose>
Enter lose text here
end define