PF News
For discussion of the latest upgrades and changes posted in the News, including questions, details, or any related bugs.
Posts 853 - 864 of 894
Posts 853 - 864 of 894
Zeig Wolf
3 years ago
3 years ago
Hey Maryguise, I made an extremely basic highlighter for Notepad++. I'd prefer it to be better, but I can't even figure out what lexer N++ uses... I've had much better luck with Visual Studio Code, but even then the syntax algorithms really don't like the way language files are written.
Maryguise
2 years ago
2 years ago
copy seeks are certainly useful, Palacinkyman. It's replacing needing to copy a bunch of seeks and gotos with one AIScript line, as well as being more resilient to changes - I'll use it going forward for menus, though my bot isn't very... bottish. Feels like the main addition for me. Comments are always good! I have 10 responses to a seek, I don't want to have to read through each response and AIScript to work out if it is doing what I wanted it to. Continue is useful for adding something in - or if you have a seek that would be a copy of another seek/KP, but, for example, you have to have the bot go somewhere or lead into it in some other way.
Personally, I don't like replacing xnomatch with #nomatch, but that's a me thing, mainly what I'm used to - plus it makes me wary of using # to denote not implemented/placeholders as I have been previously.
Personally, I don't like replacing xnomatch with #nomatch, but that's a me thing, mainly what I'm used to - plus it makes me wary of using # to denote not implemented/placeholders as I have been previously.
The Professor
2 years ago
2 years ago
You can safely use #whatever for your non-matchable keyphrases. It's meant to be unmatchable - only accessible by gotos or continues.
The Combined Bot Template and macros are by far the biggest part of the upgrade. The Kephrases it contains will be tweaked as I gather data from more people using it.
The Combined Bot Template and macros are by far the biggest part of the upgrade. The Kephrases it contains will be tweaked as I gather data from more people using it.
palacinkyman
2 years ago
2 years ago
I have problems with gotos, they dont work since the update, when I click on them when designing the bot, it writes: missing bot ID. What should I do?
bobstack
2 years ago
2 years ago
it is in the book of ai in Chapter 14: More Useful AIScript.
that should explain how to use it.
that should explain how to use it.
palacinkyman
2 years ago
2 years ago
Eh, seems like I have absolutely no idea how it works. I thought it will just copy the seek I chose and use it as response (like goto), however this goes into a script. Am I supposed to leave seek empty or what? (I already tried leaving it empty and it just deleted itself)
The Professor
2 years ago
2 years ago
The idea of copy seeks is to prevent needing to repeat writing the same seeks for every response you have.
Keyphrase: i like hats <?PF copy seeks 1 ?>
Response 1: all hats?
Seek: yes
Seek: no
Seek: #nomatch
Response 2: yellow hats?
Response 3: pink hats?
In this example, Response 2 and Response 3 will also respond to "yes", "no", and "#nomatch" Seeks and show their Responses.
Keyphrase: i like hats <?PF copy seeks 1 ?>
Response 1: all hats?
Seek: yes
Seek: no
Seek: #nomatch
Response 2: yellow hats?
Response 3: pink hats?
In this example, Response 2 and Response 3 will also respond to "yes", "no", and "#nomatch" Seeks and show their Responses.
palacinkyman
2 years ago
2 years ago
Interesting. Does it copy the whole tree of seeks or just, lets say, first round of seeks.
The Professor
2 years ago
2 years ago
It applies the whole tree of Seeks and Responses that belong to the copied Response.
» More new posts: Doghead's Cosmic Bar