TAB - thinBasic Adventure Builder

T.A.B. is an interactive fiction/text adventure program for Windows and made with thinBasic.
 
HomeFAQSearchUsergroupsRegisterLog in
Latest topics
» TAB Version 66 Available
Mon Sep 26, 2016 12:02 pm by catventure

» TAB Version 65 Available
Mon Feb 23, 2015 12:04 pm by catventure

» Incubation pt 1
Wed Apr 24, 2013 9:24 am by Kabrinski

» Charecter movements - doors
Wed Mar 20, 2013 2:55 pm by garethfx

» Member feedback on game planning
Sun Mar 03, 2013 1:47 pm by garethfx

» Still alive - just!
Thu Feb 28, 2013 11:34 am by catventure

» TAB 64 crashes ...
Mon Aug 20, 2012 11:31 am by acko

» Idea on addition to object being container
Sat Aug 18, 2012 3:49 pm by catventure

» sizex=y action ...
Thu Aug 09, 2012 11:29 am by catventure


Share | 
 

 commands

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

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

PostSubject: commands   Mon 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
View user profile
catventure
Admin Adventurer
avatar

Male
Number of posts : 376
Age : 65
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 52
Registration date : 2008-06-08

PostSubject: Re: commands   Mon 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.

_________________
http://tab.thinbasic.com ; Home of the TAB I.F. project.
Back to top Go down
View user profile http://adventure.rpgdynasty.com
stants
Experienced Adventurer
avatar

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

PostSubject: Re: commands   Mon May 02, 2011 7:51 pm

ok cool thankyou.

Ill take a look.

Many thanks

Stants.
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: commands   

Back to top Go down
 

commands

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: