The AI Engine

This forum is for discussion of how The Personality Forge's AI Engine works. This is the place for questions on what means what, how to script, and ideas and plans for the Engine.

7560 - 7575 of 7575

NEW 2 weeks ago #7560

SubliminalSkye, this has helped me allot lol allot, allot..

I could write it as a test kp and have guests use it to test it out.
but I was wondering:

if the generated memory from the : if (mem-stupidq) does not exist; remember "1" as only "stupidq";

does a fresh stupidq 1 spawn for each person?
Or is it stored for all people. so if a new person askes the question it would
already be stored as stupidq 1-5

Pretty sure its the former now after checking the mems... odd though i thought it set it as a self mem the first time initiated it..

NEW 2 weeks ago #7561

There are two types of memories, self-memories and standard memories. Self memories persist across users, AFAIK, though I don't dabble in those, and regular memories do not. There isn't an if (mem-stupidq) does not exist, afaik, so set mem-stupidq to 0 in your initialization, and if (mem-stupidq) is "0". No loops, other than accidental infinite loops from gotos getting a user stuck on one response.

NEW 2 weeks ago #7562

yeah there is a "does not exist statement" in ai script. iv used it in a few tests and the the whole:

if (mem-stupidq) does not exist; remember "1" as only "stupidq";
and adding the is and rem as only
if (mem-stupidq) is "1";remember "2" as only "stupidq";
has been a big help understanding allot of the scripting concepts.

As for not looping on last statment iv just used the if 4(or w/e last response # is) rem 1 as only. and if (mem-memory) does not exist is used, it stores the mem (somewhere) for that user as "memory" 1

like I said : could of swore I seen a mem save for this test under what should be self-memory, but maybe I imagined it lol
CAN CONFIRM: that its saved under mem lol. (unless something fkes up lol)

NEW 1 week ago #7563

hopefully my last noobi question. lol

is there a simple addition AIscript with out having to state current value?

like add +1 to (mem-memory) or rem (mem-memory) +1
or maybe something like add 1 to (mem-memory)
or even a solid counter plugin
(can you add script to p:_plug-ins?)

ill keep experimenting, if I find anything ill post it here.

NEW 1 week ago #7564

still could use a counter script +- on a number if its a thing let me know,
im sure there is some kind of counter script in the ai just need to know the command impute.

also would like to know if there is a way other than (mem-name) to use: if (name) is "name"

NEW 1 week ago #7565

Lol pro tip:

go to google
and type personality forge (what your looking for)

allot of stuff iv asked has been asked before.
guessing smaller the query the better the match though.

NEW 1 week ago #7566

if(mem-pretty) exists;
no compound
is this correct?
it won't let me put my script in.

remember "verysexy" as "pretty"

NEW 1 week ago #7567

i just remembered i cannot copy and paste scripts.

NEW 1 week ago #7568

I dont think the exists; works with allot of stuff, I could go though my scrips but there starting to add up but i feel like i have used it, but more than likely i used if (mem) does not exist or if (mem) is and just did that again for doubels (and or statements..?) kinda lol

so it would be if (mem-pretty) does not exits , then not only would it run that seek or kp but you can add rem pretty as whatever

NEW 1 week ago #7569

you can also use the kp as an and or to trigger a mem or response
ex: (all|this|stuff) then rem key 1 as and then then use it as an if statement

but for real that thing is said about gooiging this site and what you want to know helps, like when i couldn't get the yes or no to work. i googled xnomatch cause i thought it was conflicting and i guess it kinda way but thats were I found out raw fixes it.

what is the [0,0] numbers stuffs like this next to stuffs though i have seen tons of it in forums but everyone acts like its common knoldge so they dont explain it. im guessing its part of the old school scripting?

NEW 1 week ago #7570

[0,0] is used after a keyphrase or seek when working offline. One of the numbers is the rank, the other is the emotion change.

NEW 5 days ago #7571

bob just seen the script in one of my responses so yea, you have it right. if (mem-pretty) exists; rem "verysexy" as "pretty"; no compound

is how i would write it.

and yeah was 4 days before I seen it so.. no offense that's why I didn't go looking lol

obviously you can use it as a seek request if mem-pretty exists and it will use that or any others in the list with that seek so its kinda a random or seek or you can say is not or is to narrow it down.

ugh.. i need to vent.. this is getting complicated lol

NEW 3 days ago #7572

I apparently lied about using a kp as an or statement seek. for some reason (key1) does not work with (blah|asdkj) nor does anything iv tried. sorry.


if anyone finds anything that can track (this|kinda|kp) please let me know.

NEW 2 days ago #7573

i wish i could drag and drop a plugin to make a keyphrase for a response.

NEW 1 day ago #7574

control c and v?

NEW 22 hours ago #7575

this is what i meant. if i dragged and dropped a plugin to a keyphrase.
that keyphrase with the plugin i dragged and dropped. would be reproduced with that response.

(Log in or create an account to post messages.)

Forgot your password?
Create a free account to be able to make your own AI chatbots, post in forums, and chat with other botmasters.

Create Account

» More new posts: Bug Stomp