lovecalc
Private
Content
74 lines{=(PLEASE READ):kindly read the description above, yes i know it is very lengthy but i feel that it is very important for all of you to understand what is going on. all my thought processes and explanations will me in the {comment} blocks. Thank you for reading, I hope you enjoy}
{=(comment):yes i am aware i use too many variables and i apologize for that}
{=(comment):i hope you know what this does}
{override} {silent}
{=(comment):reacts to the user's message}
{reactu: β€οΈ}
{=(comment):blank variable for conditional command execution}
{=():}
{=(comment):if you want the user/target to be given a "lovestruck" role if their love is high enough, type "true" in the variable below, if not leave it be.
**note that you will have to create a role "lovestruck" first. ([p]role create lovestruck}
{=(addlovestruck):true}
{=(comment):add the lovestruck role id here. Ignore if above is false}
{=(lovestruck):ADD.ID.HERE}
{=(comment):chooses either the user, or the target.}
{=(tar):{#:{user(id)}~{target(id)}}}
{=(comment):checking to see if user has lovestruck role}
{=(isLovestruck):{if({addlovestruck}==true):{if({in({lovestruck}):{user(roleids)}}==true):true|false}}}
{=(comment):your love to the other person, to output later on}
{=(love):{range:0-120}}
{=(comment):indexing in order to see which statement is to be outputted and for the switch statements}
{=(love.index):{if({love}==0):true|false} {and({love}>0|{love}<20):true|false} {and({love}>19|{love}<50):true|false} {and({love}>49|{love}<80):true|false} {and({love}>79|{love}<101):true|false} {if({love}>100):true|false}}
{=(comment):making the switch statements}
{=(love.0):are y'all enemies or something? π ding π ding π ding π start the boxing match}
{=(love.1):i think y'all are better off living single for the rest of your life}
{=(love.2):did your parents set you guys up?}
{=(love.3):it might work, but you guys look too broke to have a baby}
{=(love.4):Cinderella? Prince Charming? Is that you?}
{=(love.5):did you just hack carl? More than 100% love?? π the police are on their way right now π }
{=(comment):making lovestruck index, similar to above}
{=(lovestruck.index):{if({love}<70):true|false} {and({love}>69|{love}<100):true|false}
{and({love}>99|{love}<120):true|false} {if({love}==120):true|false}}
{=(comment):making switch statements for lovestruck}
{=(lovestr.0)you know, i don't really feel the chemistry going on , i don't think you have enough love to get lovestruck yet}
{=(lovestr.1):i don't believe in this relationship, but whatever you passed, here ya go, get love struck~5m}
{=(lovestr.2):wow that's actually fairly decent... now kiss :)~10m}
{=(lovestr.3):dammmnnmmmm 1 hour of making out might do you some good~1h}
{=(Comment):indexing for switch statements}
{=(lovestr.switch):{index(true):{lovestruck.index}}}
{=(Comment):statement to be outputted based on lovestruckness}
{=(lovestr.output):{lovestr.{index(true):{lovestruck.index}}(1):~}}
{=(comment):duration of lovestruck role based on how much love}
{=(duration):{lovestr.{index(true):{lovestruck.index}}(0):~}}
{=(comment):giving lovestruck role if love is above 70}
{{and({love}>70|{addlovestruck}==true|{target(id)}!=235148962103951360):c:temprole {tar} {lovestruck} {duration}}}
{=(comment):statement about duration}
{=(dur.output):{if({duration}==0):You have not been lovestruck as your love is too low and you are not committed to this relationship|<@{tar}> has been lovestruck for {duration}. Spend this time wisely}}
{=(comment):output var for embed}
{=(output):{if({user(id)}!={target(id)}):You are {love}% in love with {target(mention)}!
{love.{index(true):{love.index}}}
{and({addlovestruck}==true|{love}>70):{lovestr.output}
***{dur.output}***}|You are -{love}% in love with yourself. you're so unlovable even you cant love yourself}}
{output}
Raw JSON
{
"id": 1978863,
"created_at": "2024-03-30T10:05:09.000Z",
"tag_name": "lovecalc",
"nsfw": false,
"owner_id": "784263278783365171",
"uses": 4,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "1220282022518587482",
"sharer": "784263278783365171",
"content": "{=(PLEASE READ):kindly read the description above, yes i know it is very lengthy but i feel that it is very important for all of you to understand what is going on. all my thought processes and explanations will me in the {comment} blocks. Thank you for reading, I hope you enjoy}\n\n{=(comment):yes i am aware i use too many variables and i apologize for that}\n\n{=(comment):i hope you know what this does}\n{override} {silent}\n\n{=(comment):reacts to the user's message}\n{reactu: β€οΈ}\n\n{=(comment):blank variable for conditional command execution}\n{=():}\n\n{=(comment):if you want the user/target to be given a \"lovestruck\" role if their love is high enough, type \"true\" in the variable below, if not leave it be.\n**note that you will have to create a role \"lovestruck\" first. ([p]role create lovestruck}\n{=(addlovestruck):true}\n\n{=(comment):add the lovestruck role id here. Ignore if above is false}\n{=(lovestruck):ADD.ID.HERE}\n\n{=(comment):chooses either the user, or the target.}\n{=(tar):{#:{user(id)}~{target(id)}}}\n\n{=(comment):checking to see if user has lovestruck role}\n\n{=(isLovestruck):{if({addlovestruck}==true):{if({in({lovestruck}):{user(roleids)}}==true):true|false}}}\n\n{=(comment):your love to the other person, to output later on}\n{=(love):{range:0-120}} \n\n{=(comment):indexing in order to see which statement is to be outputted and for the switch statements}\n{=(love.index):{if({love}==0):true|false} {and({love}>0|{love}<20):true|false} {and({love}>19|{love}<50):true|false} {and({love}>49|{love}<80):true|false} {and({love}>79|{love}<101):true|false} {if({love}>100):true|false}}\n\n{=(comment):making the switch statements}\n{=(love.0):are y'all enemies or something? π ding π ding π ding π start the boxing match}\n{=(love.1):i think y'all are better off living single for the rest of your life}\n{=(love.2):did your parents set you guys up?}\n{=(love.3):it might work, but you guys look too broke to have a baby}\n{=(love.4):Cinderella? Prince Charming? Is that you?}\n{=(love.5):did you just hack carl? More than 100% love?? π the police are on their way right now π }\n\n{=(comment):making lovestruck index, similar to above}\n{=(lovestruck.index):{if({love}<70):true|false} {and({love}>69|{love}<100):true|false}\n{and({love}>99|{love}<120):true|false} {if({love}==120):true|false}}\n\n{=(comment):making switch statements for lovestruck}\n{=(lovestr.0)you know, i don't really feel the chemistry going on , i don't think you have enough love to get lovestruck yet}\n{=(lovestr.1):i don't believe in this relationship, but whatever you passed, here ya go, get love struck~5m}\n{=(lovestr.2):wow that's actually fairly decent... now kiss :)~10m}\n{=(lovestr.3):dammmnnmmmm 1 hour of making out might do you some good~1h}\n\n{=(Comment):indexing for switch statements}\n{=(lovestr.switch):{index(true):{lovestruck.index}}}\n\n{=(Comment):statement to be outputted based on lovestruckness}\n{=(lovestr.output):{lovestr.{index(true):{lovestruck.index}}(1):~}}\n\n{=(comment):duration of lovestruck role based on how much love}\n{=(duration):{lovestr.{index(true):{lovestruck.index}}(0):~}}\n\n{=(comment):giving lovestruck role if love is above 70}\n{{and({love}>70|{addlovestruck}==true|{target(id)}!=235148962103951360):c:temprole {tar} {lovestruck} {duration}}}\n\n{=(comment):statement about duration}\n{=(dur.output):{if({duration}==0):You have not been lovestruck as your love is too low and you are not committed to this relationship|<@{tar}> has been lovestruck for {duration}. Spend this time wisely}}\n\n{=(comment):output var for embed}\n{=(output):{if({user(id)}!={target(id)}):You are {love}% in love with {target(mention)}!\n{love.{index(true):{love.index}}}\n\n{and({addlovestruck}==true|{love}>70):{lovestr.output}\n***{dur.output}***}|You are -{love}% in love with yourself. you're so unlovable even you cant love yourself}}\n{output}\n",
"embed": "{}",
"last_fetched": "2026-10-20T19:34:38.065Z"
}