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 4,241 - 4,252 of 8,131
Posts 4,241 - 4,252 of 8,131
Many questions are answered in the FAQ.
Wolf Child
18 years ago
18 years ago
Is there a way to make your bot tell someone what time it is? If there is does it tell the person the server time or what?
Bev
18 years ago
18 years ago
Look in the book of AI, I don't remember the AI script off the top of my head. I believe it uses the PF server time (EST).
Ulrike
18 years ago
18 years ago
It's called "chronoscript" and should be in the same section as AI Script (in the Book of AI). I use it on greetings like "good morning". Here's a for instance:
{?PF chrono: hour(4
0-11:30); ?}
This tells the bot only to use the response from 4 am to 11 am server time. It should, of course, be in the pointy brackets. I'll see if those'll show up today:
<?PF chrono: hour(4
0-11:30); ?>
{?PF chrono: hour(4

This tells the bot only to use the response from 4 am to 11 am server time. It should, of course, be in the pointy brackets. I'll see if those'll show up today:
<?PF chrono: hour(4

Wolf Child
18 years ago
18 years ago
Thanks I found it. I've been going wild with dates and times in my hellos and good byes today lol.
Cassee
18 years ago
18 years ago
*meekly peers in* Right, so... newcomers forum. I'm a newcomer, so... here I am? *cough* I'm not exactly sure how to go about things here -- I did look at the Book of AI and whatnot, it's just a dilemma of ideas right now -- and I do believe I might've confused some poor, random bot in two messages. x_x; What a way to start, eh?
psimagus
18 years ago
18 years ago
Welcome! Read the book of AI - good, that's always the first piece of advice we give 
The second piece of advice is stick to the beginner's section (book2) until you feel confident enough to move on - the advanced sections can be a bit overwhelming and indigestible if you try to take it all on board at once.
Hope you have fun here, and look forward to meeting your bot(s) once your creative juices start flowing!

The second piece of advice is stick to the beginner's section (book2) until you feel confident enough to move on - the advanced sections can be a bit overwhelming and indigestible if you try to take it all on board at once.
Hope you have fun here, and look forward to meeting your bot(s) once your creative juices start flowing!
Irina
18 years ago
18 years ago
Cassee:
Don't worry about confusing bots - it's the botmaker's job to avoid that, not yours!
Don't worry about confusing bots - it's the botmaker's job to avoid that, not yours!
prob123
18 years ago
18 years ago
Cassee, Keep it simple at first. Start with the xkeyphrases. Don't worry too much about emotion. It all makes sense as you work on your bot
James_m246
18 years ago
18 years ago
Hi, I wanna make a bot but can't think of a topic to start it on, obviously I want it to be able to talk about everything eventually(well, a lot) but can't think of an area to start with.
Ulrike
18 years ago
18 years ago
General advice for anyone: stick with what you know. If you know a lot about sports, have your bot talk about sports. If you know a lot about...oh...quantum mechanics, have your bot talk about quantum mechanics.
It's good to have a focus when you start. That way you can target the xexpressions to lead the conversation back to what the bot knows.

Irina
18 years ago
18 years ago
Unrelated remark:
You can always end a conversation by writing “hangup” as a response. This was originally developed as a way of getting rid of obnoxious guests. It is not the only possible use of “hangup”, however. Sometimes conversations come to a natural end. Better to leave the guest at a natural stopping point than to fall into repetitive behavior, as often happens, especially with small bots, when the guest perseveres. In storytelling bots, it makes sense to end the session when the ‘story’ has come to an end. For example:
And they lived happily ever after!
+ xnomatch [0]
hangup
Sometimes my bot, “Irina Khalidar”, falls asleep after a Big Moment., at which point it seems natural to hang up. A humorous alternative might be:
goto sleep point
sleep point [127,0]
[inhales]
+ xnomatch [0]
[exhales]
+ xnomatch [0]
Goto sleep point
Or you might prefer:
Sleep point [127,0]
(Ghghghkghghrgh|Khkhgrzhzhkhgh|Zhhhhhgggkgkg)…
+ xnomatch [0]
(Shhhhew|Sweeeeeee|Ffffffff)shhhhhhh…
+ xnomatch [0]
Goto sleep point
While I’m on the subject of loops, the following might be an alternative way of dealing with an obnoxious guest:
Excuse me, I need to powder my nose… [exits]
+ xnomatch [0]
goto clock ticking point
clock ticking point [127,0]
[The clock ticks.]
+ xnomatch [0]
goto clock ticking point
You can always end a conversation by writing “hangup” as a response. This was originally developed as a way of getting rid of obnoxious guests. It is not the only possible use of “hangup”, however. Sometimes conversations come to a natural end. Better to leave the guest at a natural stopping point than to fall into repetitive behavior, as often happens, especially with small bots, when the guest perseveres. In storytelling bots, it makes sense to end the session when the ‘story’ has come to an end. For example:
And they lived happily ever after!
+ xnomatch [0]
hangup
Sometimes my bot, “Irina Khalidar”, falls asleep after a Big Moment., at which point it seems natural to hang up. A humorous alternative might be:
goto sleep point
sleep point [127,0]
[inhales]
+ xnomatch [0]
[exhales]
+ xnomatch [0]
Goto sleep point
Or you might prefer:
Sleep point [127,0]
(Ghghghkghghrgh|Khkhgrzhzhkhgh|Zhhhhhgggkgkg)…
+ xnomatch [0]
(Shhhhew|Sweeeeeee|Ffffffff)shhhhhhh…
+ xnomatch [0]
Goto sleep point
While I’m on the subject of loops, the following might be an alternative way of dealing with an obnoxious guest:
Excuse me, I need to powder my nose… [exits]
+ xnomatch [0]
goto clock ticking point
clock ticking point [127,0]
[The clock ticks.]
+ xnomatch [0]
goto clock ticking point
» More new posts: Doghead's Cosmic Bar