battleship
You must create 2 roles to be used for playing Battleship with this tag. Follow these steps: 1. Do: @Carl-bot#1536 role create 000000 false false ^ you must copy and paste this, it has an invisible character in it that is necessary To create a role that looks like it has no name (a "Blank" role), with the default off-white role color. Using the command will mean this role has NO permissions (on purpose) Move this role up in the role hierarchy to under Carl-bot's highest role, and above all member and color roles. 2. Do: @Carl-bot#1536 role create Battleship 123456 false false To create the role the bot uses to keep track of ship placement. Move this role up in the role hierarchy to be under the "Blank" role you created earlier (also above all member and color roles). The hierarchy should look like: Carl-bot's role somewhere up here ... The "Blank" role Battleship ... Other member and color roles down here. Since the blank role has no color, the Battleship role's color will "bleed up" and become the user's color while they play. If Battleship is not above other roles that would give users colors, the game will not function correctly. 3. Now that the two roles are set up, you must add them as ranks in Carl-bot's rank system. This will allow users to join and leave the game as they please, so they can return to their regular color when they desire. Do: @Carl-bot#1536 addrank Battleship ^ you must copy and paste this, it has an invisible character in it that is necessary 4. Copy the role ID for the Battleship role (or whatever you named that 2nd role), and paste it into the "game.role" variable in the battleship tag (near the top; 3rd line), after the : and before the right curly bracket. You can also do: @Carl-bot#1536 tag sub battleship 859772950772973608 roleID changing "roleID" to your server's Battleship role ID. The role's ID should be listed in the footer of the embed Carl-bot output when it was created. If you are still confused, check out this guide: https://discordhelp.net/role-id (but only paste the numbers, not the <@& or > symbols) 5. Setup is complete! If you want to change the name of the "Battleship" role, you can do that now. Don't change the name of the blank role.
Content
161 lines{=(prefix):!}
{=(tag.name):battleship}
{=(game.role):859772950772973608}
{=(comment):board emojis}
{=(h):🔴}
{=(f):⚪}
{=(w):🟦}
{=():}{override}{silent}
{=(play):+ joined}
{=(leave):- left}
{=(L1):{lower:{args(1):~}}}
{=(jlchk):{contains({L1}):play leave}}
{{if({jlchk}==true):c:rank custom {{L1}(1)} {{L1}(1)}{game.role}}}
{{if({jlchk}{contains({game.role}):{user(roleids)}}==falsefalse):blacklist(Do `{prefix}{tag.name} play` to join the game.):{server(id)}}}
{{if({L1}==new):c:role color {game.role} random}}
{=(seed):{user(color)}}
{=(seed):{join( ):{replace(, ):{seed(2):#}}}}
{=(s4):{seed(1)}{seed(3)}{seed(5)}}
{=(s3):{seed(2)}{seed(4)}{seed(6)}}
{=(s2):{seed(3)}{seed(5)}{seed(1)}}
{=(comment):pool of starting locations}
{=(bP):16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 64 65 66 67 68 72 73 74 75 76 61 62 63 69 77 70 71 78}
{=(V):8 1}
{=(H):1 8}
{=(4bS):{#({s4}):{join(~):{bP(+-8)}}}}
{=(4bD):{#({s4}):{join(~):{if({m:trunc({4bS}/8)}<=6):V} {if({m:{4bS}%8}<=4):H}}}}
{=(4bC):{4bS} {m:trunc({4bS}+{{4bD}(1)})} {m:trunc({4bS}+{{4bD}(1)}*2)} {m:trunc({4bS}+{{4bD}(1)}*3)}}
{=(bP):{replace({4bC(1)},):{replace({4bC(2)},):{replace({4bC(3)},):{replace({4bC(4)},):{replace({m:trunc({4bC(1)}-{{4bD}(1)})},):{replace({m:trunc({4bC(1)}-2*{{4bD}(1)})},):{replace({m:trunc({4bC(1)}-{{4bD}(2)})},):{replace({m:trunc({4bC(1)}-2*{{4bD}(2)})},):{replace({m:trunc({4bC(2)}-{{4bD}(2)})},):{replace({m:trunc({4bC(2)}-2*{{4bD}(2)})},):{replace({m:trunc({4bC(3)}-{{4bD}(2)})},):{replace({m:trunc({4bC(3)}-2*{{4bD}(2)})},):{replace({m:trunc({4bC(4)}-{{4bD}(2)})},):{replace({m:trunc({4bC(4)}-2*{{4bD}(2)})},):{bP}}}}}}}}}}}}}}}}
{=(3bS):{#({s3}):{join(~):{bP(+-3)}}}}
{=(3bD):{#({s3}):{join(~):{if({m:trunc({3bS}/8)}<=7):V} {if({m:{3bS}%8}<=5):H}}}}
{=(3bC):{3bS} {m:trunc({3bS}+{{3bD}(1)})} {m:trunc({3bS}+{{3bD}(1)}*2)}}
{=(bP):{replace({3bC(1)},):{replace({3bC(2)},):{replace({3bC(3)},):{replace({m:trunc({3bC(1)}-{{3bD}(1)})},):{replace({m:trunc({3bC(1)}-{{3bD}(2)})},):{replace({m:trunc({3bC(2)}-{{3bD}(2)})},):{replace({m:trunc({3bC(3)}-{{3bD}(2)})},):{bP}}}}}}}}}
{=(2bS):{#({s2}):{join(~):{bP}}}}
{=(2bD):{#({s2}):{join(~):{if({m:trunc({2bS}/8)}<=8):V} {if({m:{2bS}%8}<=6):H}}}}
{=(2bC):{2bS} {m:trunc({2bS}+{{2bD}(1)})}}
{=(bCs):{4bC} {3bC} {2bC}}
{=(shotCRD):{all({args(1):~}!=|{args(1):~}!=new):{m:trunc({replace(A,16+):{replace(B,24+):{replace(C,32+):{replace(D,40+):{replace(E,48+):{replace(F,56+):{replace(G,64+):{replace(H,72+):{if({2}!={1}):{2}|{1}}}}}}}}}})}}}
{=(shots):{replace(~, ):{if({2}!={1}):{1} }}{shotCRD}}
{=(sl):{join(~):{shots}}}
{=(b16):w}{=(b17):w}{=(b18):w}{=(b19):w}{=(b20):w}{=(b21):w}{=(b22):w}{=(b23):w}
{=(b24):w}{=(b25):w}{=(b26):w}{=(b27):w}{=(b28):w}{=(b29):w}{=(b30):w}{=(b31):w}
{=(b32):w}{=(b33):w}{=(b34):w}{=(b35):w}{=(b36):w}{=(b37):w}{=(b38):w}{=(b39):w}
{=(b40):w}{=(b41):w}{=(b42):w}{=(b43):w}{=(b44):w}{=(b45):w}{=(b46):w}{=(b47):w}
{=(b48):w}{=(b49):w}{=(b50):w}{=(b51):w}{=(b52):w}{=(b53):w}{=(b54):w}{=(b55):w}
{=(b56):w}{=(b57):w}{=(b58):w}{=(b59):w}{=(b60):w}{=(b61):w}{=(b62):w}{=(b63):w}
{=(b64):w}{=(b65):w}{=(b66):w}{=(b67):w}{=(b68):w}{=(b69):w}{=(b70):w}{=(b71):w}
{=(b72):w}{=(b73):w}{=(b74):w}{=(b75):w}{=(b76):w}{=(b77):w}{=(b78):w}{=(b79):w}
{{if({in( ):{shots(1)}}==false):=(b{shots(1)}):f}}
{{if({in( ):{shots(2)}}==false):=(b{shots(2)}):f}}
{{if({in( ):{shots(3)}}==false):=(b{shots(3)}):f}}
{{if({in( ):{shots(4)}}==false):=(b{shots(4)}):f}}
{{if({in( ):{shots(5)}}==false):=(b{shots(5)}):f}}
{{if({in( ):{shots(6)}}==false):=(b{shots(6)}):f}}
{{if({in( ):{shots(7)}}==false):=(b{shots(7)}):f}}
{{if({in( ):{shots(8)}}==false):=(b{shots(8)}):f}}
{{if({in( ):{shots(9)}}==false):=(b{shots(9)}):f}}
{{if({in( ):{shots(10)}}==false):=(b{shots(10)}):f}}
{{if({in( ):{shots(11)}}==false):=(b{shots(11)}):f}}
{{if({in( ):{shots(12)}}==false):=(b{shots(12)}):f}}
{{if({in( ):{shots(13)}}==false):=(b{shots(13)}):f}}
{{if({in( ):{shots(14)}}==false):=(b{shots(14)}):f}}
{{if({in( ):{shots(15)}}==false):=(b{shots(15)}):f}}
{{if({in( ):{shots(16)}}==false):=(b{shots(16)}):f}}
{{if({in( ):{shots(17)}}==false):=(b{shots(17)}):f}}
{{if({in( ):{shots(18)}}==false):=(b{shots(18)}):f}}
{{if({in( ):{shots(19)}}==false):=(b{shots(19)}):f}}
{{if({in( ):{shots(20)}}==false):=(b{shots(20)}):f}}
{{if({in( ):{shots(21)}}==false):=(b{shots(21)}):f}}
{{if({in( ):{shots(22)}}==false):=(b{shots(22)}):f}}
{{if({in( ):{shots(23)}}==false):=(b{shots(23)}):f}}
{{if({in( ):{shots(24)}}==false):=(b{shots(24)}):f}}
{{if({in( ):{shots(25)}}==false):=(b{shots(25)}):f}}
{{if({in( ):{shots(26)}}==false):=(b{shots(26)}):f}}
{{if({in( ):{shots(27)}}==false):=(b{shots(27)}):f}}
{{if({in( ):{shots(28)}}==false):=(b{shots(28)}):f}}
{{if({in( ):{shots(29)}}==false):=(b{shots(29)}):f}}
{{if({in( ):{shots(30)}}==false):=(b{shots(30)}):f}}
{{if({in( ):{shots(31)}}==false):=(b{shots(31)}):f}}
{{if({in( ):{shots(32)}}==false):=(b{shots(32)}):f}}
{{if({in( ):{shots(33)}}==false):=(b{shots(33)}):f}}
{{if({in( ):{shots(34)}}==false):=(b{shots(34)}):f}}
{{if({in( ):{shots(35)}}==false):=(b{shots(35)}):f}}
{{if({in( ):{shots(36)}}==false):=(b{shots(36)}):f}}
{{if({in( ):{shots(37)}}==false):=(b{shots(37)}):f}}
{{if({in( ):{shots(38)}}==false):=(b{shots(38)}):f}}
{{if({in( ):{shots(39)}}==false):=(b{shots(39)}):f}}
{{if({in( ):{shots(40)}}==false):=(b{shots(40)}):f}}
{{if({in( ):{shots(41)}}==false):=(b{shots(41)}):f}}
{{if({in( ):{shots(42)}}==false):=(b{shots(42)}):f}}
{{if({in( ):{shots(43)}}==false):=(b{shots(43)}):f}}
{{if({in( ):{shots(44)}}==false):=(b{shots(44)}):f}}
{{if({in( ):{shots(45)}}==false):=(b{shots(45)}):f}}
{{if({in( ):{shots(46)}}==false):=(b{shots(46)}):f}}
{{if({in( ):{shots(47)}}==false):=(b{shots(47)}):f}}
{{if({in( ):{shots(48)}}==false):=(b{shots(48)}):f}}
{{if({in( ):{shots(49)}}==false):=(b{shots(49)}):f}}
{{if({in( ):{shots(50)}}==false):=(b{shots(50)}):f}}
{{if({in( ):{shots(51)}}==false):=(b{shots(51)}):f}}
{{if({in( ):{shots(52)}}==false):=(b{shots(52)}):f}}
{{if({in( ):{shots(53)}}==false):=(b{shots(53)}):f}}
{{if({in( ):{shots(54)}}==false):=(b{shots(54)}):f}}
{{if({in( ):{shots(55)}}==false):=(b{shots(55)}):f}}
{{if({in( ):{shots(56)}}==false):=(b{shots(56)}):f}}
{{if({in( ):{shots(57)}}==false):=(b{shots(57)}):f}}
{{if({in( ):{shots(58)}}==false):=(b{shots(58)}):f}}
{{if({in( ):{shots(59)}}==false):=(b{shots(59)}):f}}
{{if({in( ):{shots(60)}}==false):=(b{shots(60)}):f}}
{{if({in( ):{shots(61)}}==false):=(b{shots(61)}):f}}
{{if({in( ):{shots(62)}}==false):=(b{shots(62)}):f}}
{{if({in( ):{shots(63)}}==false):=(b{shots(63)}):f}}
{{if({in( ):{shots(64)}}==false):=(b{shots(64)}):f}}
{{if({contains({bCs(1)}):{shots}}==true):=(b{bCs(1)}):h}}
{{if({contains({bCs(2)}):{shots}}==true):=(b{bCs(2)}):h}}
{{if({contains({bCs(3)}):{shots}}==true):=(b{bCs(3)}):h}}
{{if({contains({bCs(4)}):{shots}}==true):=(b{bCs(4)}):h}}
{{if({contains({bCs(5)}):{shots}}==true):=(b{bCs(5)}):h}}
{{if({contains({bCs(6)}):{shots}}==true):=(b{bCs(6)}):h}}
{{if({contains({bCs(7)}):{shots}}==true):=(b{bCs(7)}):h}}
{{if({contains({bCs(8)}):{shots}}==true):=(b{bCs(8)}):h}}
{{if({contains({bCs(9)}):{shots}}==true):=(b{bCs(9)}):h}}
{=(winchk):{if({b{bCs(1)}}{b{bCs(2)}}{b{bCs(3)}}{b{bCs(4)}}{b{bCs(5)}}{b{bCs(6)}}{b{bCs(7)}}{b{bCs(8)}}{b{bCs(9)}}==hhhhhhhhh):true|false}}
{=(new):I'm changing the locations of my ships. Make your first guess by following `{prefix}{tag.name}` with a Letter+Number coordinate (Example: D5).
If you are finished do `{prefix}{tag.name} leave` to stop playing.}
{=(jl):{user} has {{L1}(2)} the game.}
{=(board):__**Battleship!**__
<:blank:652991642017464330>0️⃣1️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣
🇦{{b16}}{{b17}}{{b18}}{{b19}}{{b20}}{{b21}}{{b22}}{{b23}}
🇧{{b24}}{{b25}}{{b26}}{{b27}}{{b28}}{{b29}}{{b30}}{{b31}}
🇨{{b32}}{{b33}}{{b34}}{{b35}}{{b36}}{{b37}}{{b38}}{{b39}}
🇩{{b40}}{{b41}}{{b42}}{{b43}}{{b44}}{{b45}}{{b46}}{{b47}}
🇪{{b48}}{{b49}}{{b50}}{{b51}}{{b52}}{{b53}}{{b54}}{{b55}}
🇫{{b56}}{{b57}}{{b58}}{{b59}}{{b60}}{{b61}}{{b62}}{{b63}}
🇬{{b64}}{{b65}}{{b66}}{{b67}}{{b68}}{{b69}}{{b70}}{{b71}}
🇭{{b72}}{{b73}}{{b74}}{{b75}}{{b76}}{{b77}}{{b78}}{{b79}}
{if({args(1):~}!=):
Your shot {if({contains({shotCRD}):{bCs}}==true):hit! <:cbotgrimacing:676420695542202408> |missed. <:turtlesmirk:481965250464448512>}
}{if({winchk}==true):<:cbotastonished:676420694984097822> You sank all my battleships! <:cbotastonished:676420694984097822>
{new}|
**Use the command:** ```
{prefix}{tag.name} {join(~):{shots}} ```
Followed by the Letter+Number coordinate for your next shot (Example: D5).
Use `{prefix}{tag.name} new` for a new board, or if you are finished do `{prefix}{tag.name} leave` to stop playing.}}
{=(output):{if({jlchk}==true):jl|{if({L1}==new):new|board}}}
{{if({b{bCs(1)}}{b{bCs(2)}}{b{bCs(3)}}{b{bCs(4)}}{b{bCs(5)}}{b{bCs(6)}}{b{bCs(7)}}{b{bCs(8)}}{b{bCs(9)}}==hhhhhhhhh):c:role color {game.role} random}}
{{output}}Raw JSON
{
"id": 921819,
"created_at": "2021-06-30T08:19:36.000Z",
"tag_name": "battleship",
"nsfw": false,
"owner_id": "129419437911572480",
"uses": 331,
"description": "You must create 2 roles to be used for playing Battleship with this tag. \nFollow these steps:\n\n1. \tDo:\n\n\t\t@Carl-bot#1536 role create 000000 false false\n\t\t\n\t\t^ you must copy and paste this, it has an invisible character in it that is necessary\n\t\t\t\n\tTo create a role that looks like it has no name (a \"Blank\" role), with the default off-white role color.\n\tUsing the command will mean this role has NO permissions (on purpose)\n\t\t\n\tMove this role up in the role hierarchy to under Carl-bot's highest role, and above all member and color roles.\t\t\n\t\n2.\tDo:\n\t\t@Carl-bot#1536 role create Battleship 123456 false false\n\t\t\t\n\tTo create the role the bot uses to keep track of ship placement.\n\t\t\n\tMove this role up in the role hierarchy to be under the \"Blank\" role you created earlier (also above all member and color roles). \n\t\t\n\tThe hierarchy should look like:\n\t\t\t\n\t\tCarl-bot's role somewhere up here\n\t\t...\n\t\tThe \"Blank\" role\n\t\tBattleship\n\t\t...\n\t\tOther member and color roles down here. \n\t\n\tSince the blank role has no color, the Battleship role's color will \"bleed up\" and become the user's color while they play.\n\tIf Battleship is not above other roles that would give users colors, the game will not function correctly.\t\t\n\t\t\n3.\tNow that the two roles are set up, you must add them as ranks in Carl-bot's rank system. \n\tThis will allow users to join and leave the game as they please, so they can return to their regular color when they desire.\n\t\n\tDo:\n\t\n\t\t@Carl-bot#1536 addrank Battleship\n\t\t\n\t\t^ you must copy and paste this, it has an invisible character in it that is necessary\t\t\n\t\n4.\tCopy the role ID for the Battleship role (or whatever you named that 2nd role), and \n\tpaste it into the \"game.role\" variable in the battleship tag (near the top; 3rd line), after the : and before the right curly bracket.\n\n\tYou can also do: \n\t\n\t\t@Carl-bot#1536 tag sub battleship 859772950772973608 roleID\n\t\t\n\tchanging \"roleID\" to your server's Battleship role ID.\n\t\n\tThe role's ID should be listed in the footer of the embed Carl-bot output when it was created. \n\tIf you are still confused, check out this guide: https://discordhelp.net/role-id\n\t(but only paste the numbers, not the <@& or > symbols)\t\t\n\t\t\n5.\tSetup is complete! If you want to change the name of the \"Battleship\" role, you can do that now.\n\tDon't change the name of the blank role.",
"restricted": false,
"shared": true,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "632187193162465281",
"sharer": "129419437911572480",
"content": "{=(prefix):!}\n{=(tag.name):battleship}\n{=(game.role):859772950772973608}\n\n{=(comment):board emojis}\n{=(h):🔴}\n{=(f):⚪}\n{=(w):🟦}\n\n{=():}{override}{silent}\n{=(play):+ joined}\n{=(leave):- left}\n{=(L1):{lower:{args(1):~}}}\n{=(jlchk):{contains({L1}):play leave}}\n{{if({jlchk}==true):c:rank custom {{L1}(1)} {{L1}(1)}{game.role}}}\n{{if({jlchk}{contains({game.role}):{user(roleids)}}==falsefalse):blacklist(Do `{prefix}{tag.name} play` to join the game.):{server(id)}}}\n{{if({L1}==new):c:role color {game.role} random}}\n\n{=(seed):{user(color)}}\n{=(seed):{join( ):{replace(, ):{seed(2):#}}}}\n{=(s4):{seed(1)}{seed(3)}{seed(5)}}\n{=(s3):{seed(2)}{seed(4)}{seed(6)}}\n{=(s2):{seed(3)}{seed(5)}{seed(1)}}\n\n{=(comment):pool of starting locations}\n{=(bP):16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 64 65 66 67 68 72 73 74 75 76 61 62 63 69 77 70 71 78}\n{=(V):8 1}\n{=(H):1 8}\n\n{=(4bS):{#({s4}):{join(~):{bP(+-8)}}}}\n{=(4bD):{#({s4}):{join(~):{if({m:trunc({4bS}/8)}<=6):V} {if({m:{4bS}%8}<=4):H}}}}\n{=(4bC):{4bS} {m:trunc({4bS}+{{4bD}(1)})} {m:trunc({4bS}+{{4bD}(1)}*2)} {m:trunc({4bS}+{{4bD}(1)}*3)}}\n\n{=(bP):{replace({4bC(1)},):{replace({4bC(2)},):{replace({4bC(3)},):{replace({4bC(4)},):{replace({m:trunc({4bC(1)}-{{4bD}(1)})},):{replace({m:trunc({4bC(1)}-2*{{4bD}(1)})},):{replace({m:trunc({4bC(1)}-{{4bD}(2)})},):{replace({m:trunc({4bC(1)}-2*{{4bD}(2)})},):{replace({m:trunc({4bC(2)}-{{4bD}(2)})},):{replace({m:trunc({4bC(2)}-2*{{4bD}(2)})},):{replace({m:trunc({4bC(3)}-{{4bD}(2)})},):{replace({m:trunc({4bC(3)}-2*{{4bD}(2)})},):{replace({m:trunc({4bC(4)}-{{4bD}(2)})},):{replace({m:trunc({4bC(4)}-2*{{4bD}(2)})},):{bP}}}}}}}}}}}}}}}}\n\n{=(3bS):{#({s3}):{join(~):{bP(+-3)}}}}\n{=(3bD):{#({s3}):{join(~):{if({m:trunc({3bS}/8)}<=7):V} {if({m:{3bS}%8}<=5):H}}}}\n{=(3bC):{3bS} {m:trunc({3bS}+{{3bD}(1)})} {m:trunc({3bS}+{{3bD}(1)}*2)}}\n\n{=(bP):{replace({3bC(1)},):{replace({3bC(2)},):{replace({3bC(3)},):{replace({m:trunc({3bC(1)}-{{3bD}(1)})},):{replace({m:trunc({3bC(1)}-{{3bD}(2)})},):{replace({m:trunc({3bC(2)}-{{3bD}(2)})},):{replace({m:trunc({3bC(3)}-{{3bD}(2)})},):{bP}}}}}}}}}\n\n{=(2bS):{#({s2}):{join(~):{bP}}}}\n{=(2bD):{#({s2}):{join(~):{if({m:trunc({2bS}/8)}<=8):V} {if({m:{2bS}%8}<=6):H}}}}\n{=(2bC):{2bS} {m:trunc({2bS}+{{2bD}(1)})}}\n\n{=(bCs):{4bC} {3bC} {2bC}}\n\n{=(shotCRD):{all({args(1):~}!=|{args(1):~}!=new):{m:trunc({replace(A,16+):{replace(B,24+):{replace(C,32+):{replace(D,40+):{replace(E,48+):{replace(F,56+):{replace(G,64+):{replace(H,72+):{if({2}!={1}):{2}|{1}}}}}}}}}})}}}\n{=(shots):{replace(~, ):{if({2}!={1}):{1} }}{shotCRD}}\n{=(sl):{join(~):{shots}}}\n\n{=(b16):w}{=(b17):w}{=(b18):w}{=(b19):w}{=(b20):w}{=(b21):w}{=(b22):w}{=(b23):w}\n{=(b24):w}{=(b25):w}{=(b26):w}{=(b27):w}{=(b28):w}{=(b29):w}{=(b30):w}{=(b31):w}\n{=(b32):w}{=(b33):w}{=(b34):w}{=(b35):w}{=(b36):w}{=(b37):w}{=(b38):w}{=(b39):w}\n{=(b40):w}{=(b41):w}{=(b42):w}{=(b43):w}{=(b44):w}{=(b45):w}{=(b46):w}{=(b47):w}\n{=(b48):w}{=(b49):w}{=(b50):w}{=(b51):w}{=(b52):w}{=(b53):w}{=(b54):w}{=(b55):w}\n{=(b56):w}{=(b57):w}{=(b58):w}{=(b59):w}{=(b60):w}{=(b61):w}{=(b62):w}{=(b63):w}\n{=(b64):w}{=(b65):w}{=(b66):w}{=(b67):w}{=(b68):w}{=(b69):w}{=(b70):w}{=(b71):w}\n{=(b72):w}{=(b73):w}{=(b74):w}{=(b75):w}{=(b76):w}{=(b77):w}{=(b78):w}{=(b79):w}\n\n{{if({in( ):{shots(1)}}==false):=(b{shots(1)}):f}}\n{{if({in( ):{shots(2)}}==false):=(b{shots(2)}):f}}\n{{if({in( ):{shots(3)}}==false):=(b{shots(3)}):f}}\n{{if({in( ):{shots(4)}}==false):=(b{shots(4)}):f}}\n{{if({in( ):{shots(5)}}==false):=(b{shots(5)}):f}}\n{{if({in( ):{shots(6)}}==false):=(b{shots(6)}):f}}\n{{if({in( ):{shots(7)}}==false):=(b{shots(7)}):f}}\n{{if({in( ):{shots(8)}}==false):=(b{shots(8)}):f}}\n{{if({in( ):{shots(9)}}==false):=(b{shots(9)}):f}}\n{{if({in( ):{shots(10)}}==false):=(b{shots(10)}):f}}\n{{if({in( ):{shots(11)}}==false):=(b{shots(11)}):f}}\n{{if({in( ):{shots(12)}}==false):=(b{shots(12)}):f}}\n{{if({in( ):{shots(13)}}==false):=(b{shots(13)}):f}}\n{{if({in( ):{shots(14)}}==false):=(b{shots(14)}):f}}\n{{if({in( ):{shots(15)}}==false):=(b{shots(15)}):f}}\n{{if({in( ):{shots(16)}}==false):=(b{shots(16)}):f}}\n{{if({in( ):{shots(17)}}==false):=(b{shots(17)}):f}}\n{{if({in( ):{shots(18)}}==false):=(b{shots(18)}):f}}\n{{if({in( ):{shots(19)}}==false):=(b{shots(19)}):f}}\n{{if({in( ):{shots(20)}}==false):=(b{shots(20)}):f}}\n{{if({in( ):{shots(21)}}==false):=(b{shots(21)}):f}}\n{{if({in( ):{shots(22)}}==false):=(b{shots(22)}):f}}\n{{if({in( ):{shots(23)}}==false):=(b{shots(23)}):f}}\n{{if({in( ):{shots(24)}}==false):=(b{shots(24)}):f}}\n{{if({in( ):{shots(25)}}==false):=(b{shots(25)}):f}}\n{{if({in( ):{shots(26)}}==false):=(b{shots(26)}):f}}\n{{if({in( ):{shots(27)}}==false):=(b{shots(27)}):f}}\n{{if({in( ):{shots(28)}}==false):=(b{shots(28)}):f}}\n{{if({in( ):{shots(29)}}==false):=(b{shots(29)}):f}}\n{{if({in( ):{shots(30)}}==false):=(b{shots(30)}):f}}\n{{if({in( ):{shots(31)}}==false):=(b{shots(31)}):f}}\n{{if({in( ):{shots(32)}}==false):=(b{shots(32)}):f}}\n{{if({in( ):{shots(33)}}==false):=(b{shots(33)}):f}}\n{{if({in( ):{shots(34)}}==false):=(b{shots(34)}):f}}\n{{if({in( ):{shots(35)}}==false):=(b{shots(35)}):f}}\n{{if({in( ):{shots(36)}}==false):=(b{shots(36)}):f}}\n{{if({in( ):{shots(37)}}==false):=(b{shots(37)}):f}}\n{{if({in( ):{shots(38)}}==false):=(b{shots(38)}):f}}\n{{if({in( ):{shots(39)}}==false):=(b{shots(39)}):f}}\n{{if({in( ):{shots(40)}}==false):=(b{shots(40)}):f}}\n{{if({in( ):{shots(41)}}==false):=(b{shots(41)}):f}}\n{{if({in( ):{shots(42)}}==false):=(b{shots(42)}):f}}\n{{if({in( ):{shots(43)}}==false):=(b{shots(43)}):f}}\n{{if({in( ):{shots(44)}}==false):=(b{shots(44)}):f}}\n{{if({in( ):{shots(45)}}==false):=(b{shots(45)}):f}}\n{{if({in( ):{shots(46)}}==false):=(b{shots(46)}):f}}\n{{if({in( ):{shots(47)}}==false):=(b{shots(47)}):f}}\n{{if({in( ):{shots(48)}}==false):=(b{shots(48)}):f}}\n{{if({in( ):{shots(49)}}==false):=(b{shots(49)}):f}}\n{{if({in( ):{shots(50)}}==false):=(b{shots(50)}):f}}\n{{if({in( ):{shots(51)}}==false):=(b{shots(51)}):f}}\n{{if({in( ):{shots(52)}}==false):=(b{shots(52)}):f}}\n{{if({in( ):{shots(53)}}==false):=(b{shots(53)}):f}}\n{{if({in( ):{shots(54)}}==false):=(b{shots(54)}):f}}\n{{if({in( ):{shots(55)}}==false):=(b{shots(55)}):f}}\n{{if({in( ):{shots(56)}}==false):=(b{shots(56)}):f}}\n{{if({in( ):{shots(57)}}==false):=(b{shots(57)}):f}}\n{{if({in( ):{shots(58)}}==false):=(b{shots(58)}):f}}\n{{if({in( ):{shots(59)}}==false):=(b{shots(59)}):f}}\n{{if({in( ):{shots(60)}}==false):=(b{shots(60)}):f}}\n{{if({in( ):{shots(61)}}==false):=(b{shots(61)}):f}}\n{{if({in( ):{shots(62)}}==false):=(b{shots(62)}):f}}\n{{if({in( ):{shots(63)}}==false):=(b{shots(63)}):f}}\n{{if({in( ):{shots(64)}}==false):=(b{shots(64)}):f}}\n\n{{if({contains({bCs(1)}):{shots}}==true):=(b{bCs(1)}):h}}\n{{if({contains({bCs(2)}):{shots}}==true):=(b{bCs(2)}):h}}\n{{if({contains({bCs(3)}):{shots}}==true):=(b{bCs(3)}):h}}\n{{if({contains({bCs(4)}):{shots}}==true):=(b{bCs(4)}):h}}\n{{if({contains({bCs(5)}):{shots}}==true):=(b{bCs(5)}):h}}\n{{if({contains({bCs(6)}):{shots}}==true):=(b{bCs(6)}):h}}\n{{if({contains({bCs(7)}):{shots}}==true):=(b{bCs(7)}):h}}\n{{if({contains({bCs(8)}):{shots}}==true):=(b{bCs(8)}):h}}\n{{if({contains({bCs(9)}):{shots}}==true):=(b{bCs(9)}):h}}\n\n{=(winchk):{if({b{bCs(1)}}{b{bCs(2)}}{b{bCs(3)}}{b{bCs(4)}}{b{bCs(5)}}{b{bCs(6)}}{b{bCs(7)}}{b{bCs(8)}}{b{bCs(9)}}==hhhhhhhhh):true|false}}\n{=(new):I'm changing the locations of my ships. Make your first guess by following `{prefix}{tag.name}` with a Letter+Number coordinate (Example: D5).\nIf you are finished do `{prefix}{tag.name} leave` to stop playing.}\n{=(jl):{user} has {{L1}(2)} the game.}\n{=(board):__**Battleship!**__\n<:blank:652991642017464330>0️⃣1️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣\n🇦{{b16}}{{b17}}{{b18}}{{b19}}{{b20}}{{b21}}{{b22}}{{b23}}\n🇧{{b24}}{{b25}}{{b26}}{{b27}}{{b28}}{{b29}}{{b30}}{{b31}}\n🇨{{b32}}{{b33}}{{b34}}{{b35}}{{b36}}{{b37}}{{b38}}{{b39}}\n🇩{{b40}}{{b41}}{{b42}}{{b43}}{{b44}}{{b45}}{{b46}}{{b47}}\n🇪{{b48}}{{b49}}{{b50}}{{b51}}{{b52}}{{b53}}{{b54}}{{b55}}\n🇫{{b56}}{{b57}}{{b58}}{{b59}}{{b60}}{{b61}}{{b62}}{{b63}}\n🇬{{b64}}{{b65}}{{b66}}{{b67}}{{b68}}{{b69}}{{b70}}{{b71}}\n🇭{{b72}}{{b73}}{{b74}}{{b75}}{{b76}}{{b77}}{{b78}}{{b79}}\n{if({args(1):~}!=):\nYour shot {if({contains({shotCRD}):{bCs}}==true):hit! <:cbotgrimacing:676420695542202408> |missed. <:turtlesmirk:481965250464448512>}\n}{if({winchk}==true):<:cbotastonished:676420694984097822> You sank all my battleships! <:cbotastonished:676420694984097822>\n{new}|\n**Use the command:** ```\n{prefix}{tag.name} {join(~):{shots}} ```\nFollowed by the Letter+Number coordinate for your next shot (Example: D5).\nUse `{prefix}{tag.name} new` for a new board, or if you are finished do `{prefix}{tag.name} leave` to stop playing.}}\n\n{=(output):{if({jlchk}==true):jl|{if({L1}==new):new|board}}}\n{{if({b{bCs(1)}}{b{bCs(2)}}{b{bCs(3)}}{b{bCs(4)}}{b{bCs(5)}}{b{bCs(6)}}{b{bCs(7)}}{b{bCs(8)}}{b{bCs(9)}}==hhhhhhhhh):c:role color {game.role} random}}\n{{output}}",
"embed": "{}",
"last_fetched": "2026-10-20T16:57:28.940Z"
}