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 7,635 - 7,646 of 8,127
Many questions are answered in the FAQ.


3 years ago #7635
also is there a goto for any. I mean like a wild card that can use any response as its goto for scripting with out needing a target. like a seek thats looking for any response and still usable in aiscript.

3 years ago #7636
Get the latest best fitness band under 2000 in india and get the best deal to buy
the best fitness band. Shop for the best fitness band. https://www.fitnessadviser.in/best-fitness-band-under-2000/

3 years ago #7637
Laviat, for that you want xnomatch, which matches anything other seeks do not.

Prety sure that API has no bearing on the bot's AI.

3 years ago #7638
can you use xnomatch as a kp? or for that matter a aiscript?

ill give it a shot i guess lol

3 years ago #7639
soo..seems like xnomatch works as a kp but not as a aiscript? is there a way to target "any"/xnomatch in aiscript? or maybe something im missing?

3 years ago #7640
What do you need an any for in AIScript? if you're checking to see if a variable exists/is set, then a response with that variable in just won't trigger if it isn't. You could also initialize the variable to something like default, and have 'if (mem-memname) is not default'.

3 years ago #7641
well atm im trying to do a name change from (any) word/words said. the xnomatch lets the seek find any answer, but from what i can tell the aiscript needs a target. post ,pre ect.. iv tested pretty much every (plugin/wildcard) i could think of to try and use what ever the seek recived >.< as (meminfo) but nothing seems to work. and it just ends with a xnone . it may not be necessary but it could also be pretty useful for responses with out needing any matching keys while still using the kp in the response.

3 years ago #7642
I think that (key1) should be what you're after. Ask name, then have xnomatch seek with rem name as only (key1). Maybe have a seek for my name is as well, using postkey. Not used that for a while, though, only similar stuff in my bot was changed to use regex to ensure it gets a number, I think.

3 years ago #7643
did you try every one of these
on this webpage.

https://www.personalityforge.com/developers/memories.php

these scripts on this webpage are used to retrieve memories to attactivate a particular response.

https://www.personalityforge.com/developers/responses-conditional.php

3 years ago #7644
iv clearly misunderstood how keys work.. thought they were used as gotos in AIScript Initialization.. using key1 as the aiscript target worked perfectly. thanks for all the help. ill probly be back on here soon though lol

3 years ago #7645
Alright! lol noticed during debug instead of using the kp its matched to the bot repeats what was said. looks like the kp is however correctly selected as the response?

"Found!
Total Rank: 26.9
Rank this needs to beat: 0"

but it just bounces my statement back at me. any ideas?

3 years ago #7646
pretty sure it was just a mis-labeled goto, from one of my tests, somehow causing it to loop back..not sure how but yeah.

ok so think im almost done with the bare basics? maybe? lol
since my programing knowledge is just barely enough to understand concepts ill probly need to come back. lol


is there a way to have the bot use numbers for numbers instead of words? ex: 1 instead of one


Posts 7,635 - 7,646 of 8,127

» More new posts: Doghead's Cosmic Bar