Said statement

Robin_Gravel I wish to use the 3rd word in my game it does not work.

(if(Said('shoot>'))
(if(Said('/gun>'))
(if(Said('/bill'))
Print("You shoot the gun to Bill.")
)(else
Print("You don't wish to shoot to everybody.")
)
)
)


I didnt get any compile errors.


Robin Gravel
cloudee1 Hey Robin try this:

(if(Said('shoot>'))
(if(Said('/gun>'))
(if(Said('//bill'))
Print("Using the gun, You shoot at Bill.")
)(else
(if(Said('[ /* , !* ]'))
Print("You don't need to put holes in everyone and everything."))
)
)
)
Robin_Gravel Hi cloudee1

I tried it but it doesn't work.

I get "You've left me responseless." unstead.


Robin Gravel
cloudee1 Hey Robin ,
that script should work I opened a new game to work it out and the only thing I can come up with is that maybe your vocabs are set different.

shoot is Imperative Verb
gun is Noun
bill is Noun

I've tried several different phrases and they all seem to come back correct, "shoot gun at bill", "shoot gun to bill"
"shoot gun at wall" all of them worked, so like I said check your vocabs, sometimes when I add a new word I forget to add the type, make sure gun isn't set to something besides noun
Robin_Gravel Hi Cloudee1

First. Thanks for the advices.

The script now works only if I write 'shoot gun at bill', 'shoot gun to bill' but it doesn't work if I write only 'shoot gun bill'.

Some foreing people who knows a little in english will not think to write 'shoot gun at bill'. But I guess there is the way the sci works.


Robin Gravel
Gromitigo Dis is simplah not true, Robin. Ah myzelf am a Frenchman an I do be-lieve that I would have come up wiz diz an-sar. Ah, myself, would have said "pull trigger at bill", but my mastery of the English language leavez much to be dezired.

Peter Le'Franc
cloudee1 There's always the old standby "use gun on bill"

but personally I would have just said "shoot bill"

but that's just me 8)
rwfromxenon
Gromitigo wrote:

Dis is simplah not true, Robin. Ah myzelf am a Frenchman an I do be-lieve that I would have come up wiz diz an-sar. Ah, myself, would have said "pull trigger at bill", but my mastery of the English language leavez much to be dezired.

Peter Le'Franc

Hmm... a Frenchman in Virginia?
If you talk like that, you haven't really mastered the English language. Methinks you are just being a troll.
cloudee1 Hey Robin try this code:

(if(Said('shoot>'))
(if(Said('/gun>'))
(if(Said('//bill'))Print("Using the gun, You shoot Bill."))
(else(if(Said('[ /* , !* ]'))Print("You don't need to put holes in everyone and everything."))
)
)
(else(if(Said('/bill'))Print("Using the gun,You shoot Bill."))
(else(if(Said('[ /* , !* ]'))Print("You don't need to put holes in everyone and everything."))
)
)
)
Robin_Gravel Thanks cloudee1.

It works.


Robin Gravel
Brian_Provinciano
cloudee1 wrote:

Hey Robin try this code:

(if(Said('shoot>'))
(if(Said('/gun>'))
(if(Said('//bill'))Print("Using the gun, You shoot Bill."))
(else(if(Said('[ /* , !* ]'))Print("You don't need to put holes in everyone and everything."))
)
)
(else(if(Said('/bill'))Print("Using the gun,You shoot Bill."))
(else(if(Said('[ /* , !* ]'))Print("You don't need to put holes in everyone and everything."))
)
)
)


Have a look in the help file for if statements and the "and" and "or" keywords.

You could simply do something like:
if( Said('/gun>') and Said('//bill') or Said('//bill')) ....