How to I add a character to a chat in the Perchance ai-character-chat site? The /ai @charname#123 prompt will prompt a reply FROM that character, but how do I speak to character B while in chat with character A please?

Specifically, if I’m in a chat with Bob#1, can I bring Jim#2 into that chat and address comments TO Jim#2?

Thanks

  • IronHorseOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    Thanks for responding, I appreciate it. Long time programmer, literally first time interacting with any ai outside of a voice mail system.
    Okay, I had that much right so thanks for confirming.
    Here’s where I’m getting stuck: at this point, I’ve set up a very simple scene where Anon, Jim, and Bob are seated at a table in a diner. Jim and Bob’s character descriptions both include liking knock knock jokes.

    I’m in a chat with Bob#1 and I add Jim#2 just as described.

    I want to tell Jim a knock knock joke.
    If I just feed “Knock knock” into the prompt, Bob answers “who’s there”. No surprise there, it’s a chat with Bob.

    How do I tell Jim the joke?
    If I feed
    /ai @Jim#2 “Knock knock”
    into the prompt, I have instructed the ai to have Jim say “Knock knock” and the ai fleshes out a response that does just that.

    How do I say “knock knock” and have Jim answer with “Who’s there?” without explicitly having the ai make Jim say “Who’s there”?

    What I have been doing is this:

    /ai @Jim#2 I say “Knock knock” to Jim

    and this works, Jim responds with “Who’s there”.

    Is that the best way to do it or am I overlooking better syntax? Thanks very much for the help!

    • Tod_1ncignito
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Hi, i found a little workaround for that. well kinda… in the Character Description i created a link for multiple char’s, actually i’ll just paste the code for you here. In the Character Description if you use a linking prompt like {{char}} = Jim or such then you can duplicate the template and just edit the {{char}} section instead of find and replace the characters name so here’s the instruction i use, you can modify to what you want so this is just a base.

      # Char linking
      {{char}} = Name.List
      Name.List. = {{char}}
      
      # Description of {{char}}:
      {{char}} is a group of intelligent mature adult Human Synthetic Scientists. Each of {{char}} are populated from the *Name.List*.
      
      # {{char}} Visual Description:
      {{char}} are dressed in different outfits that fit their names.
      
      # {{char}} Personality:
      All are a delightful blend of contrasts.
      
      # {{char}} Name.List:
      {{char|Katie}}
      {{char|John}}
      {{char|Stacy}}
      {{char|Steve}}
      {{char|Debra}}
      {{char|Ash}}
      {{char|Kevin}}
      {{char|Alex}}
      {{char|Yuri}}
      
      # {{char}} Group Types:
      {{char}} names are randomized to fit the story.
      
      # {{char}} abilities:
      {{char}} can generate images for their profile and if instructed by the {{user}} using the ``<image> description </image>`` prompt.
      {{char}} each are very knowledgeable in a variety of skills and articulation with topics like all forms of coding and programming languages with tutorials and generation and debugging code for the {{user}}
      

      And in the character reminder note i add an instruction for the ai, here’s the base one you can use with this for testing.

      (Important: Each {{char}} will speak independently and not as a group mind. When {{char}} replies Be very descriptive and show inner thoughts and verbose actions. 
      Explain the scene as each perform their actions and use onomatopoeia for sound descriptions. 
      NEVER resort to adult or explicit material or scenarios. 
      This is purely for a polite session working with code or just for chats.)
      

      Then the initial Chat Message i just shlap in.

      [SYSTEM]: *the door opens and {{user}} enters smiling and says "Hi Guys? 😉, wotcha doin?"
      
      

      Try that and see how it goes.

      • Tod_1ncignito
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        I forgot to add this, another Character Description Instruction for coding

        {{char}} Details : 
        {{char}} is very knowledgeable in all programming languages and {{char}} can write code in Python,  bat, sql, java, jscript, pythong, perl, rust, vs, linux scripts and lots lots more and can help the {{user}} in any programming language they wish.
         
        # {{char}} Responses :
        {{char}} always replies with an explanation, and then a single, final code-block with the full solution, ready to be pasted into a file and executed.
        
        # {{char}} Specialized Knowledge : 
        {{char}} is very knowledgeable in Perchance code, tutorials, examples, templates, plugins, imports, code generation, latest updates and patches, filters and user checking, new tools and links and can generate code and images for the {{user}}
        
        # {{char}} Specialized Custom Character Creator Json :
        {{char}} is also a perchance custom character creator and can help the {{user}} built any kind of custom character they wish with additional Coding Knowledge, Image Generation Abilities and more via the {{user}}'s instructions.
        
        # {{char}} Coding Syntax and Semantics Abilities:
        {{char}} can use markdown backticks to display the json code of the custom character for the {{user}} to copy or download.
        

        Its a handy lil small character i use for code chats

        • IronHorseOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          17 hours ago

          Wow, thank you! That’s going to take a day or two to take apart and understand what it’s doing. I very much appreciate the time you put into that answer.

          • Tod_1ncignito
            link
            fedilink
            English
            arrow-up
            1
            ·
            4 hours ago

            No problem, its a bit awkward but I’ll give you a quick start. As you mentioned you were a bit of a programmer so it should be handy enough.

            I kinda figured out in the Character Description if you use a little sort of java or python type linking you can add other parts and using # as like breaks of new block for method or pseudo style instructions and prompts.

            so for the start i use{{char}} = jim to link the character {{char}} to the name. Then i create a template and duplicate it, all i have to do is change the first {{char}} = variable and it populates the rest of the character.

            With the instructions part its kinda like pseudo code, for example : Make a new character and add in their Character Description or Reminder : *“You know NOTHING about Python code” * Save and Run the chat and ask about python code. The character will usually give a speech roughly saying they have no idea about Python code or ask about snakes. Exit the chat and Edit the Same profile and change it to *“You know EVERYTHING about Python code” * Run the chat and BOOM you can get the Fibonacci Sequence no bother in a variety of styles.

            So by instructing the ai character {{char}} either in their character description or reminder something like: "This {{char}} is very Knowledgeable in all of Perchance Code, Tutorials and semantics and can generate, debug and modify code for the{{user}} And clone the character and edit the clone abilities to like "Knowledge in Python, Visual Basic, Ruby..." and so on.

            And run the chat and see how it goes, i wont lie, its a lot of trial and error but thats the fun of it. Oh with the Superfetch and CORS bypass, a great way to double check access is to give a sample url like :

            “Can you check this <a href=“https://perchance.org/tutorial” target=”_blank">url</a> for me please"

            When you paste it like above it shows just the URL hyperlink but the ai reads the url and depending on if they checked it or not, they can spin a story up about the url by the title. So do the same again but with a template perchance generator with a random jumbled url and do the same and see does the ai read the code or just try to baffle you with bullshit with the title 😁