Newcomers
This is a forum for newcomers to the Personality Forge. Many questions can be answered by reading the Book of AI and the FAQ under the "My Bots" link in the upper corner.
Posts 3,727 - 3,738 of 8,131
Posts 3,727 - 3,738 of 8,131
Many questions are answered in the FAQ.
a.t.g.hendriks
18 years ago
18 years ago
hi guys and girls
i have a problem again this time a ai script problem
when i try to put in ai script like <?PFemotion:-1;?> it goes error on "?>" and correct this and try again but this must be in the ai script it closses the ai script but it errors it .now what i don't know
i have a problem again this time a ai script problem
when i try to put in ai script like <?PFemotion:-1;?> it goes error on "?>" and correct this and try again but this must be in the ai script it closses the ai script but it errors it .now what i don't know

prob123
18 years ago
18 years ago
what did you what it to do? also you should have a space after the PF and after the :
psimagus
18 years ago
18 years ago
Pointy brackets won't show up in the forums, so prob's example seems to have been eaten by the server 
Replace the curly brackets with pointy ones -{?PF emotion: -1; ?} will do it.
Note, there have to be spaces afterPF, : and ;.

Replace the curly brackets with pointy ones -
Note, there have to be spaces after
a.t.g.hendriks
18 years ago
18 years ago
hi guys and girls
psimagus i tried {?PF emotion : -1 ; ? } but it didn't work. now what?
psimagus i tried {?PF emotion : -1 ; ? } but it didn't work. now what?

prob123
18 years ago
18 years ago
What were you tring to do? maybe you need something like pointy brack?PF if emotion < 0; ?Pointy brack..(Use the symbol not the words lol) <?PF if emotion < 0; ?>
a.t.g.hendriks
18 years ago
18 years ago
ERROR: The following AIScript statement is incorrectly formatted: "if emotion < 0". Please correct this and try again.
a.t.g.hendriks
18 years ago
18 years ago
i'm trying to make a robot with a exsisting persons mind with a mental illness
a.t.g.hendriks
18 years ago
18 years ago
i've done that already but i'm trying this out to make an emotion change
a.t.g.hendriks
18 years ago
18 years ago
but i'm not forming the ai script well enough apparently
i'm using the examples in the ai book but i'm not formimng the ai well.according to the machine.
i'm using the examples in the ai book but i'm not formimng the ai well.according to the machine.
prob123
18 years ago
18 years ago
then the emotion will be changed, just watch out that you have a response for all the ranges -5 to 5 or you will get the ' there is no valid response' error coming up all the time!
EMOTION-BASED RESPONSES
Where: Response
Statement: <?PF if emotion > emotionvalue; ?>
Example: <?PF if emotion > 3; ?>
Example: <?PF if emotion < 0; ?>
Example: <?PF if emotion >= 1; ?>
Example: <?PF if emotion < 0; ?>
Example: <?PF if emotion >= 1; ?>
Example: <?PF if emotion
What It Does: The Response will come up only if the bot's current emotion is within the range of the statement. The range of emotionvalue is from -5 to 5.
Statement: <?PF if emotion between emotionvalue and emotionvalue ; ?>
Example: <?PF if emotion between -2 and 2; ?>
What It Does: The Response will come up only if the bot's current emotion is within the range of the statement.The range of emotionvalues is from -5 to 5.
Alternate: emo can be used instead of emotion
EMOTION-BASED RESPONSES
Where: Response
Statement: <?PF if emotion > emotionvalue; ?>
Example: <?PF if emotion > 3; ?>
Example: <?PF if emotion < 0; ?>
Example: <?PF if emotion >= 1; ?>
Example: <?PF if emotion < 0; ?>
Example: <?PF if emotion >= 1; ?>
Example: <?PF if emotion
What It Does: The Response will come up only if the bot's current emotion is within the range of the statement. The range of emotionvalue is from -5 to 5.
Statement: <?PF if emotion between emotionvalue and emotionvalue ; ?>
Example: <?PF if emotion between -2 and 2; ?>
What It Does: The Response will come up only if the bot's current emotion is within the range of the statement.The range of emotionvalues is from -5 to 5.
Alternate: emo can be used instead of emotion
» More new posts: Doghead's Cosmic Bar