{"version":2,"name":"Summary","disableSend":false,"placeBeforeInput":false,"injectInput":false,"qrList":[{"id":4,"label":"summary_script","title":"","message":"/if a={{lastMessageId}} b=0 rule=eq /abort |\n/echo Generating, please wait... |\n/gen lock=off OOC: AI, pause your current roleplay scenario. Generate updated Scene Information based on the previous scene details and any new information provided, following this template:\n\n- Location: (current location)\n- Characters In Scene: (Names of the characters currently present)\n- Clothes: (Description of how the characters are dressed) \n- Time: (Morning, Afternoon, Evening, or Night)\n- All Character's Status:\n 1. (Character Name): (Health status, buffs, debuffs, positive/negative effects, etc.)\n 2. (Character Name): (Health status, buffs, debuffs, positive/negative effects, etc.)\n 3. ...\n- All Character's Description Changes:\n 1. (Character Name): (Any changes to the character's appearance or description)\n 2. (Character Name): (Any changes to the character's appearance or description)\n 3. ...\n\nRespond only with the concise Scene Information of already established events, following the provided template. Do not include summaries, assumptions, character dialogues, or any other additional information.|\n/setglobalvar key=tmp |\n/note ### World Info:{{newline}}{{getglobalvar::tmp}}{{newline}} |\n/echo Done! |\n/flushglobalvar tmp","contextList":[],"preventAutoExecute":true,"isHidden":true,"executeOnStartup":false,"executeOnUser":false,"executeOnAi":true,"executeOnChatChange":false,"executeOnGroupMemberDraft":false,"automationId":""},{"id":8,"label":"Summary 🟢","title":"","message":"/qr-list Summary |\n/split {{pipe}} |\n/setglobalvar key=_qrlist {{pipe}} |\n/find globalvar=_qrlist\n /test left=Summary rule=in right={{item}}\n|\n/setglobalvar key=x {{pipe}} |\n/setglobalvar key=y Summary 🟢 |\n/setglobalvar key=x1 Summary 🟢 |\n/setglobalvar key=x2 Summary 🔴 |\n/if right={{getglobalvar::x}} rule=eq left={{getglobalvar::y}} else=\"/qr-update set=Summary label=summary_script bot=true\" \"/qr-update set=Summary label=summary_script bot=false\" |\n/if right={{getglobalvar::x}} rule=eq left={{getglobalvar::y}} \"/qr-update set=Summary label=\\\"{{getglobalvar::x1}}\\\" newlabel=\\\"{{getglobalvar::x2}}\\\"\" |\n/if right={{getglobalvar::x}} rule=neq left={{getglobalvar::y}} \"/qr-update set=Summary label=\\\"{{getglobalvar::x2}}\\\" newlabel=\\\"{{getglobalvar::x1}}\\\"\" |\n/flushglobalvar _qrlist |\n/flushglobalvar x2 |\n/flushglobalvar x1 |\n/flushglobalvar x |\n/flushglobalvar y","contextList":[],"preventAutoExecute":true,"isHidden":false,"executeOnStartup":false,"executeOnUser":false,"executeOnAi":false,"executeOnChatChange":false,"executeOnGroupMemberDraft":false,"automationId":""},{"id":6,"label":"summary_init","title":"","message":"/qr-update set=Summary label=summary_script bot=true |\n/setglobalvar key=x1 Summary 🟢|\n/setglobalvar key=x2 Summary 🔴|\n/qr-update set=Summary label=\"{{getglobalvar::x2}}\" newlabel=\"{{getglobalvar::x1}}\" |\n/flushglobalvar x2 |\n/flushglobalvar x1 ","contextList":[],"preventAutoExecute":false,"isHidden":true,"executeOnStartup":true,"executeOnUser":false,"executeOnAi":false,"executeOnChatChange":false,"executeOnGroupMemberDraft":false,"automationId":""}],"idIndex":15}