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,210 - 4,221 of 8,131
Many questions are answered in the FAQ.


18 years ago #4210
(Note that the indenting got lost)

(to be continued)

18 years ago #4211
I dont even know how to use html (I have firefox) - so I guess no pretty colors for me lol.

18 years ago #4212
AIEEEE! The &^%$#!!! forge logged me out even though I clicked on the little "I'm still here" button, causing me to lose about 30 lines! Grrrr!!!! OK, I'm going to write my message in Word Pad and paste it in here ...

18 years ago #4213
It's easy (I can do it lol) just a left pointy bracket type the color like red then but the right pointy < red > only don't use the spaces between the brackets and the color

18 years ago #4214
Oops, I see an error in message 4209: instead of


last xnone [0,0]
+ xnomatch [0]
goto perdition


You would need something for the bot to say prior to the seek, e.g.,


last xnone [0,0]
I'm stalling for time here.
+ xnomatch [0]
goto perdition

18 years ago #4215
So if you want to get the various 'bottles' gotos in the order shown,
you will have to use a variant of a device I learned from Rykxx. To
my knowledge this variant has never been tested, but it seems as
though it ought to work.

At the top of your language center, where all the "def"s are, write

def "0" as "last_dendrite";

Have only one entry in xnone, like this:

last xnone [0,0]
    I'm stalling for time here.
        + xnomatch [0]
        goto perdition

then at keyphrase "perdition", you would have

perdition [50,0]
    I'm just saying this so I won't get "I have too many gotos in a row". <?PF if (mem-last_dendrite) is "0"; ?>
        + xnomatch [0]
        goto 99 bottles
    I'm just saying this so I won't get "I have too many gotos in a row". <?PF if (mem-last_dendrite) is "1"; ?>
        + xnomatch [0]
        goto 98 bottles
    I'm just saying this so I won't get "I have too many gotos in a row". <?PF if (mem-last_dendrite) is "2"; ?>
        + xnomatch [0]
        goto 97 bottles

(and so on). Of course, you would put in whatever you like in place of "I'm just saying this ..."

Then at "99 bottles" you would have,

99 bottles [0,0] <?PF rem "1" as only "last_dendrite"; ?>

Followed by whatever you want your bot to say at that point.

Then
the first time control passed to xnone, and hence to last xnone, and hence to
perdition, the AIscript there would force it to take the first response, so it would go to 99 bottles,
and so last_dendrite would get the value, 1. Then when control next passed to xnone,
hence to perdition, the AIscript would force it to pass to the second response, so control
would pass to 98 bottles, and so on. When you got down to 0 bottles, you would set
last_dendrite back to 0 so that it would start over.

Well, I've probably made several typos and perhaps other errors, but if you understand
the idea, you can catch them; besides, I'd like to hear from you how this works, and I'll
try to help you fix it if something goes wrong.


Walk in Beauty, Irina
    

18 years ago #4216
Oh, hey, the indentations worked!!!

18 years ago #4217
Haha yes, I use firefox too. well I'll try and memorize the html way of changing the colors one of these days...

A big thanks to Irina for reminding me to use the seeks with xnomatch. I didn't think that the Forge would reject a list of goto's in a row. I'll be testing it out and I'll tell you if it works.

18 years ago #4218
There's nothing wrong with a list like this:

blastoff [0,0]
goto Merecury
goto Venus
goto Earth
(and so on)

At least, I have used short versions of that without difficulty. It's when one goto sends you to one place which immediately sends you to another that you get into trouble.

Incidentally, there is one way in which the Language Center editor at the Forge is more powerful than using the the export/import feature: you can write a goto to seeks as well as keyphrases.

Walk in Beauty, Irina

18 years ago #4219
To whom it may concern:

I hereby apologize for some intemperate remarks I have made in the heat of frustration. When things are going wrong, it doesn't help to whine and snarl about them.

Walk in Beauty, Irina

18 years ago #4220
Dare I say... group hug? lols.

18 years ago #4221
Oooh! Nice idea!


Posts 4,210 - 4,221 of 8,131

» More new posts: Doghead's Cosmic Bar