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 was it done? Implementing in-game clocks
commands I_icon_minitimeToday at 9:54 am by catventure

» How to engage in intelligent conversation with NPCs?
commands I_icon_minitimeYesterday at 9:01 pm by catventure

» refine player-available gender/name options
commands I_icon_minitimeMon Nov 18, 2024 6:04 pm by catventure

» Incubation pt 1
commands I_icon_minitimeSun Nov 17, 2024 4:22 pm by catventure

» Happy New Year 2024!
commands I_icon_minitimeSun Dec 31, 2023 4:04 pm by catventure

» TAB Version 71
commands I_icon_minitimeMon Aug 21, 2023 12:17 pm by catventure

» TAB Version 70
commands I_icon_minitimeSun Oct 02, 2022 1:49 pm by catventure

» TAB Version 70
commands I_icon_minitimeFri Sep 30, 2022 10:23 pm by catventure

» TAB Version 70
commands I_icon_minitimeMon May 23, 2022 4:08 pm by catventure


Share | 
 

 commands

View previous topic View next topic Go down 
AuthorMessage
stants
Experienced Adventurer
stants

Number of posts : 71
Age : 50
Location : Maidstone, Kent, UK
Humor : I shall tear your soul Apart!!!!!
Adventure Points : 32
Registration date : 2009-09-16

commands Empty
PostSubject: commands   commands I_icon_minitimeMon May 02, 2011 9:08 am

Ive been reading the manual today and ive found 2 lines of code that may interest me.

[start]flag20=1#answer<>grunch[acts]cmessGoblin: "That`s not the password!"#flag20=0[end]

[start]flag20=1#answer=grunch[acts]cmessGoblin: "Correct! The gold ring lies in a wooden tree trunk."#flag20=2[end]

Ive searched for the command grunch in the language file, readme and manual but i cannot find it.

What exactly is this command grunch or am I missing something.

Thanks

Stants
Back to top Go down
catventure
Admin Adventurer
catventure

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

commands Empty
PostSubject: Re: commands   commands I_icon_minitimeMon May 02, 2011 5:41 pm

Hi stants,

There is no command "grunch"

These were entries made for asking player for input and then checking the validity of the reply

ask - is an action that waits for the player to type in a reply eg: to a question that maybe asked by another character in the game.

The "answer=" and "answer<>" conditions can then check if the player typed in a correct or incorrect response and then carry out any suitable actions that may be necessary.

Erm, I think there's an example of usage of this in "character_demo.tab" where you can
>ask <character> about box
and the character asks a riddle and waits for an answer to be typed...
Check out the response code in that.

Phil.
Back to top Go down
https://adventure.forumotion.com
stants
Experienced Adventurer
stants

Number of posts : 71
Age : 50
Location : Maidstone, Kent, UK
Humor : I shall tear your soul Apart!!!!!
Adventure Points : 32
Registration date : 2009-09-16

commands Empty
PostSubject: Re: commands   commands I_icon_minitimeMon May 02, 2011 7:51 pm

ok cool thankyou.

Ill take a look.

Many thanks

Stants.
Back to top Go down
Sponsored content




commands Empty
PostSubject: Re: commands   commands I_icon_minitime

Back to top Go down
 

commands

View previous topic View next topic Back to top 
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: