TAB - thinBasic Adventure Builder
Would you like to react to this message? Create an account in a few clicks or log in to continue.

TAB - thinBasic Adventure Builder

T.A.B. is an interactive fiction/text adventure program for Windows and made with thinBasic.
 
HomeLatest imagesSearchRegisterLog in
Latest topics
» How to engage in intelligent conversation with NPCs?
TAB Alpha Version 38 Available I_icon_minitimeSun Dec 08, 2024 3:52 pm by catventure

» How was it done? Implementing in-game clocks
TAB Alpha Version 38 Available I_icon_minitimeMon Dec 02, 2024 4:18 pm by catventure

» refine player-available gender/name options
TAB Alpha Version 38 Available I_icon_minitimeMon Nov 18, 2024 6:04 pm by catventure

» Incubation pt 1
TAB Alpha Version 38 Available I_icon_minitimeSun Nov 17, 2024 4:22 pm by catventure

» Happy New Year 2024!
TAB Alpha Version 38 Available I_icon_minitimeSun Dec 31, 2023 4:04 pm by catventure

» TAB Version 71
TAB Alpha Version 38 Available I_icon_minitimeMon Aug 21, 2023 12:17 pm by catventure

» TAB Version 70
TAB Alpha Version 38 Available I_icon_minitimeSun Oct 02, 2022 1:49 pm by catventure

» TAB Version 70
TAB Alpha Version 38 Available I_icon_minitimeFri Sep 30, 2022 10:23 pm by catventure

» TAB Version 70
TAB Alpha Version 38 Available I_icon_minitimeMon May 23, 2022 4:08 pm by catventure


Share | 
 

 TAB Alpha Version 38 Available

View previous topic View next topic Go down 
AuthorMessage
catventure
Admin Adventurer
catventure

Male
Number of posts : 412
Age : 72
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 77
Registration date : 2008-06-08

TAB Alpha Version 38 Available Empty
PostSubject: TAB Alpha Version 38 Available   TAB Alpha Version 38 Available I_icon_minitimeFri Jul 18, 2008 6:18 pm

Hi,

18 Jul 2008 ( Release 38 )
=========
*NEW. "#else#" ACTION command implemented. An extension to TAB coding.

EXAMPLE:
[start]words conditions#condition#condition[acts]action#action#else#condition#condition[acts]action# action#else#condition#condition[acts]action#action#else#[acts]action[end]

Therefore you can have multiple conditions and actions in respect of the SAME starting "words conditions". .. Think about it; it could save writing several individual entries to build up a particular game puzzle and also cuts down on typing too!
Think of action "#else#" as meaning ELSE IF. The last use of action "#else#" in this example shows how to do an ELSE DO type of statement.
In other words if NONE of the previous Response entry conditions and actions were executed then this default action in respect of the valid command will ALWAYS be done. Notice there are no conditions before the [acts] tag for this "catch-all" usage of "#else#"

Example SCRIPT 1 or 2 usage format:

[start]condition[acts]action#else#condition#condition[acts]action#else#condition[acts]action[end]

There are no "words conditions" in these coding editors but you could use #else# as above
to truncate several entries into a single entry to save space...
You can still use the or-checking syntax ( "or_" prefix on conditions) in this new extension to TAB coding as well.

[start]words condition#or_ condition#or_condition[acts]action#else#or_condition#or_condition[acts]action#else#[acts]action[end]

*ADDED. New parser variable CONDITIONS that were missing or forgotten:
charn1=charn2 - is parser variable charn1 the same number as parser variable charn2?
charn2=charn1
charn1<>charn2 - is parser variable charn1 not the same as parser variable charn2?
charn2<>charn1

*ADDED. When entering CONTAINER objects in the Object Editor, TAB now warns user that the corresponding location number will be used as its contents holder. If accepted that Location will be flagged as "Inside of Object X." and will not be editable in the Locations Editor.


catventure.


Last edited by catventure on Sun Aug 03, 2008 1:23 pm; edited 1 time in total
Back to top Go down
https://adventure.forumotion.com
catventure
Admin Adventurer
catventure

Male
Number of posts : 412
Age : 72
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 77
Registration date : 2008-06-08

TAB Alpha Version 38 Available Empty
PostSubject: Re: TAB Alpha Version 38 Available   TAB Alpha Version 38 Available I_icon_minitimeSun Jul 20, 2008 12:42 am

20 Jul 2008 (Release 38.1)
=========
FIX. "#else#" not functioning correctly. Amended

FIX. Condition "objlocn2=absent" was missing due to duplication of "objlocn2=here"


Regards,
catventure.
Back to top Go down
https://adventure.forumotion.com
 

TAB Alpha Version 38 Available

View previous topic View next topic Back to top 

 Similar topics

+
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
TAB - thinBasic Adventure Builder :: TAB FORUMS :: Announcements and Special Messages-
Jump to: