t-rexrev2
Private
Content
57 lines{=(TRexImage):{#:https://imgur.com/JQzNKjC.png}}
{=(COMMENT):737532034930442342 is the T-Rex role, aka Reward Role}
{=(TRexRole):737532034930442342}
{=(COMMENT):Checks if the user is T-Rex.}
{=(isTargetTRex):{contains({TRexRole}):{target(roleids)}}}
{=(COMMENT):738759412344422450 is the role id for Full, the cooldown for kill commands.}
{=(FullRole):738759412344422450}
{=(COMMENT):898432167464554576 is the role id for sneeze cd.}
{=(icdRole):898432167464554576}
{=(COMMENT):1149595257277775904 is the Mod role, aka Police}
{=(PRole):1149595257277775904}
{=(COMMENT):632846586547929099 is the bot channel, to prevent message spam}
{=(BotChannel):632846586547929099}
{=(COMMENT):689696613597315079 is the dead role, Joke Mute Role}
{=(DRole):689696613597315079}
{require:{PRole}}
{override}
{=(COMMENT):Random Duration when given t-rex}
{=(TRexTime):{#:3|30sec~1|1min~1|2min~1|5min~3|30min}}
{=(COMMENT):Set up for 3rd commend execution}
{=(COMMENT):Checks if the target is T-Rex. Note same as previously section since trex is already checked for cool down}
{=(isTargetTRex):{contains({TRexRole}):{target(roleids)}}}
{=(COMMENT):Checks if the target is T-Rex. Note same as previously section since trex is already checked for cool down}
{=(isTargetFull):{contains({FullRole}):{target(roleids)}}}
{=(COMMENT):T-rex and not Full, set so 3rd doesn't occur, as no point to give them t-rex role}
{=(CanBiteCondition1):{all({isTargetTRex}==true|{isTargetFull}==false):true|false}}
{=(COMMENT):not T-rex but Full, set so 3rd doesn't occur as no way to give t-rex without removing full. if they don't kill, full is no longer a timped role}
{=(CanBiteCondition2):{all({isTargetTRex}==false|{isTargetFull}==true):true|false}}
{=(COMMENT):t-rex and full, so remove full role}
{=(CanBiteCondition3):{all({isTargetTRex}==true|{isTargetFull}==true):true|false}}
{=(NotFull):role c {target(id)} -{FullRole}}
{=(COMMENT):not t-rex and not full, so temp give t-rex}
{=(CanBiteCondition4):{all({isTargetTRex}==false|{isTargetFull}==false):true|false}}
{=(TrexD):{TRexTime}}
{=(TRexMode):temprole c {target(id)} {TrexD} +{TRexRole}}
{=(BiteOption):{if({CanBiteCondition3}==true):{NotFull}|{if({CanBiteCondition4}==true):{TRexMode}}}}
{=(canTargetbite):{all{CanBiteCondition1}==false|{CanBiteCondition2}==false):true|false}}
{=(COMMENT):Random Duration when given t-rex}
{=(TRexTime):{#:3|30sec~1|1min~1|2min~1|5min~3|30min}}
{=(TRexGive):temprole {target(id)} {TRexTime} {TRexRole}}
{=(RemoveFull):role remove {target(id)} {FullRole}}
{=(COMMENT):Command execution}
{=():}
{{if({canTargetbite}==true):c:{BiteOption}}}
{cmd:role c {target(id)} -{FullRole} -{icdRole}}
{=(TRex_Role_Color):#9b59b6}
{embed(color):{TRex_Role_Color}}Embed
1 line{"color": 5198940, "image": {"url": "{TRexImage}"}}Raw JSON
{
"id": 2234689,
"created_at": "2025-03-13T20:41:40.000Z",
"tag_name": "t-rexrev2",
"nsfw": false,
"owner_id": "237997099432542209",
"uses": 2,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "632804599979311144",
"sharer": "237997099432542209",
"content": "{=(TRexImage):{#:https://imgur.com/JQzNKjC.png}}\n\n{=(COMMENT):737532034930442342 is the T-Rex role, aka Reward Role}\n{=(TRexRole):737532034930442342}\n{=(COMMENT):Checks if the user is T-Rex.}\n{=(isTargetTRex):{contains({TRexRole}):{target(roleids)}}}\n{=(COMMENT):738759412344422450 is the role id for Full, the cooldown for kill commands.}\n{=(FullRole):738759412344422450}\n{=(COMMENT):898432167464554576 is the role id for sneeze cd.}\n{=(icdRole):898432167464554576}\n{=(COMMENT):1149595257277775904 is the Mod role, aka Police}\n{=(PRole):1149595257277775904}\n{=(COMMENT):632846586547929099 is the bot channel, to prevent message spam}\n{=(BotChannel):632846586547929099}\n{=(COMMENT):689696613597315079 is the dead role, Joke Mute Role}\n{=(DRole):689696613597315079}\n\n{require:{PRole}}\n{override} \n\n{=(COMMENT):Random Duration when given t-rex}\n{=(TRexTime):{#:3|30sec~1|1min~1|2min~1|5min~3|30min}}\n\n{=(COMMENT):Set up for 3rd commend execution}\n{=(COMMENT):Checks if the target is T-Rex. Note same as previously section since trex is already checked for cool down}\n{=(isTargetTRex):{contains({TRexRole}):{target(roleids)}}} \n{=(COMMENT):Checks if the target is T-Rex. Note same as previously section since trex is already checked for cool down}\n{=(isTargetFull):{contains({FullRole}):{target(roleids)}}} \n\n\n{=(COMMENT):T-rex and not Full, set so 3rd doesn't occur, as no point to give them t-rex role}\n{=(CanBiteCondition1):{all({isTargetTRex}==true|{isTargetFull}==false):true|false}}\n{=(COMMENT):not T-rex but Full, set so 3rd doesn't occur as no way to give t-rex without removing full. if they don't kill, full is no longer a timped role}\n{=(CanBiteCondition2):{all({isTargetTRex}==false|{isTargetFull}==true):true|false}}\n{=(COMMENT):t-rex and full, so remove full role}\n{=(CanBiteCondition3):{all({isTargetTRex}==true|{isTargetFull}==true):true|false}}\n{=(NotFull):role c {target(id)} -{FullRole}}\n{=(COMMENT):not t-rex and not full, so temp give t-rex}\n{=(CanBiteCondition4):{all({isTargetTRex}==false|{isTargetFull}==false):true|false}}\n{=(TrexD):{TRexTime}}\n{=(TRexMode):temprole c {target(id)} {TrexD} +{TRexRole}}\n\n{=(BiteOption):{if({CanBiteCondition3}==true):{NotFull}|{if({CanBiteCondition4}==true):{TRexMode}}}}\n{=(canTargetbite):{all{CanBiteCondition1}==false|{CanBiteCondition2}==false):true|false}}\n\n{=(COMMENT):Random Duration when given t-rex}\n{=(TRexTime):{#:3|30sec~1|1min~1|2min~1|5min~3|30min}}\n{=(TRexGive):temprole {target(id)} {TRexTime} {TRexRole}}\n{=(RemoveFull):role remove {target(id)} {FullRole}}\n\n{=(COMMENT):Command execution}\n{=():}\n{{if({canTargetbite}==true):c:{BiteOption}}}\n{cmd:role c {target(id)} -{FullRole} -{icdRole}}\n\n{=(TRex_Role_Color):#9b59b6}\n{embed(color):{TRex_Role_Color}}",
"embed": "{\"color\": 5198940, \"image\": {\"url\": \"{TRexImage}\"}}",
"last_fetched": "2026-10-20T19:53:32.785Z"
}