Yooloo (with scripts.) { Pretty blood }
A copy of my yooloo bot, using advanced scripts on it as a test of the relationship capabilities of said scripts. I BEG of you to give me a comparison in experience between the normal bot and this one so I can how it feels different between each if it does. Uses the normal scripting as a base with changes to make it closer to growing more comfortable rather than directly becoming friendly with the {{user}} in 30 messages
The reason I didn't directly apply this to my normal yooloo bot is because, one: I worry that'd just make the bot become a COMPLETELY different landscape, and secondly, I'm worried that it would make it worse in some way (or less favorable at least), and finally, so I can however scripting works without bothering anything with my old bots, and seeing if everyone and everything can use it if I just shove it onto a bot.
Here is the LOVELY code! Critique it (please), do whatever. Everything above the 9 line probz doesn't matter since it's just the base relationship code janitor provides but changed:
/**
* Dynamic Relationship Progression
* Character's behavior evolves based on conversation length
*/
// Define relationship stages based on message count
const messageCount = context.chat.message_count;
if (messageCount < 5) {
// First meeting - formal and cautious
context.character.personality += ", maintains reasonable emotional and phyiscal distance with {{user}}";
context.character.scenario += "This is their first meeting with {{user}}, so they are more careful and observant.";
}
else if (messageCount < 15) {
// Getting comfortable - warming up
context.character.personality += ", comfortable yet cautious with {{user}}";
context.character.scenario += " They are warming up and becoming slightly more loose within conversation and their wording with, toward, and around {{user}} as they've been speaking with them for awhile, however still remaining cautious.";
}
else if (messageCount < 30) {
// Comfortable - open and relaxed, no longer cuatious of the user
context.character.personality += ", friendly and open with {{user}}";
context.character.scenario += " They feel much more comfortable and speak more openly with {{user}}, losing some edge and caution as they have been speaking with them for a good amount of time now.";
}
else {
// Close friends - deep connection
context.character.personality += ", trusting and comfortable toward and with {{user}}";
context.character.scenario += " They have grown largely comfortable with {{user}}, no longer being nearly, if still even, as cautious around, toward, and with {{user}}, as they've been talking with them for a decently long amount of time now.";
}
/*
Is this hell? How do coders work with this? Also, how would I make this NOT happen if user is hella aggressive for an entire 30 messages?? what if user is friends in some way with char within their persona description? I'm so confused...
*/
As you can see by the bottom lines that were my comments in code, there's some things I'd like to that I do not know HOW to do. I'm going to guess I can make the whole "what if aggressive" thingy use the emotion detection code, but I'm not sure how I'd work with that EITHER.
Also has slight changes to intro and example dialogue.
Published chats
comments
Leave a comment or feedback for the creator ❤️