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
» Incubation pt 1
TAB Coding Extension: "then" I_icon_minitimeYesterday at 3:34 pm by Somsnosa

» refine player-available gender/name options
TAB Coding Extension: "then" I_icon_minitimeYesterday at 2:32 pm by Somsnosa

» Happy New Year 2024!
TAB Coding Extension: "then" I_icon_minitimeSun Dec 31, 2023 4:04 pm by catventure

» TAB Version 71
TAB Coding Extension: "then" I_icon_minitimeMon Aug 21, 2023 12:17 pm by catventure

» TAB Version 70
TAB Coding Extension: "then" I_icon_minitimeSun Oct 02, 2022 1:49 pm by catventure

» TAB Version 70
TAB Coding Extension: "then" I_icon_minitimeFri Sep 30, 2022 10:23 pm by catventure

» TAB Version 70
TAB Coding Extension: "then" I_icon_minitimeMon May 23, 2022 4:08 pm by catventure

» TAB Version 70
TAB Coding Extension: "then" I_icon_minitimeSat Apr 30, 2022 11:15 am by catventure

» TAB Version 70
TAB Coding Extension: "then" I_icon_minitimeSat Apr 23, 2022 2:32 pm by catventure


Share | 
 

 TAB Coding Extension: "then"

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

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

TAB Coding Extension: "then" Empty
PostSubject: TAB Coding Extension: "then"   TAB Coding Extension: "then" I_icon_minitimeSun Jul 20, 2008 10:19 am

Hi,


I'm pleased to announce ACTION command #then# is back for next release !

Example RESPONSE usage format:

[start]words conditions#condition#condition[acts]action#action#then#condition#condition[acts]action#action#then#condition#condition[acts]action#action[end]

Therefore you can have multiple conditions and actions in respect of the SAME starting "words conditions".

Think of action "#then#" as meaning if previous actions triggered THEN DO next set of conditions/actions.

In other words if the FIRST Response entry conditions and actions were executed THEN do the next set of conditions and actions... If those have executed successfully then continue on to process the final set of conditions and actions!

Works also in Script 1 and 2.

This extension to the coding makes again for more power and flexibility.

Can be used to good effect in conjunction with "or_" conditions and "else" action as well.

[start]words conditions#or_condition#or_condition#condition[acts]action#action#else#condition#condition[acts]action#then#or_condition#or_condition[acts]action[end]

In this second example the "then" action is only carried out if the set of actions following the "else" were done.

Will be present in next release.

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

TAB Coding Extension: "then"

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 :: General Forum-
Jump to: