Skip to content

Commit 9cff393

Browse files
committed
stuff
1 parent f0911db commit 9cff393

29 files changed

+133
-34
lines changed

commands/2025-00e7c0a0f771.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"event": false,
3+
"locked": false,
4+
"starred": false,
5+
"name": "2025?",
6+
"command": "print((new Date).getFullYear()>=2025?'{y}yes!{/} (*⌒∇⌒*) //// 🎉 {rb}happy new year':'not yet')"
7+
}

commands/as-ef36a69f7103.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"event": false,
3+
"locked": false,
4+
"starred": false,
5+
"name": "as",
6+
"command": "print('17:49 <+as> what\\'s the difference between c# and c');"
7+
}

commands/balatro-adcd40387a44.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"event": false,
3+
"locked": false,
4+
"starred": false,
5+
"name": "balatro",
6+
"command": "print('gros michel')"
7+
}

commands/bang-6fab5f945083.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"event": false,
3+
"locked": false,
4+
"starred": false,
5+
"name": "bang?",
6+
"command": "let lethal = Math.floor(Math.random() * 6) === 1\naction(`spins revolver cylindar, takes aim at ${IRC.message.from}, and pulls the trigger`)\nprint(lethal ? 'bang!' : 'click!')"
7+
}

commands/beer-681877e1f216.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"event": false,
3+
"locked": false,
4+
"starred": false,
5+
"name": "~beer",
6+
"command": "/* ========================================\n * Beerio for everyone!!!\n * Written by The_Blode (Translation provided by toni)\n * 2025-01-17\n * Script Description: give folks a pint.\n * Version 0.1\n * Changelog\n * - script initial build. (2025-01-17)\n * ========================================\n * Global Variables\n * ========================================= */\nvar given_input = input.split(\" \");\nvar target = given_input[0];\n\n/* ========================================\n * Main Logic\n * ========================================= */\nif (target != undefined && target != \"\") {\n\tprint(IRC.message.from + \" gives \" + target + \" a pint of 🍺.\");\n} else {\n\tprint(\"Please give us a name of the person you'd like to klapp!\"); \n}\n\n/* ========================================\n * Functions\n * ========================================= */\n"
7+
}

commands/beer-a8b032cb9ad0.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"event": false,
3+
"locked": false,
4+
"starred": false,
5+
"name": "beer",
6+
"command": "/* ========================================\n * Beerio for everyone!!!\n * Written by The_Blode (Translation provided by toni)\n * 2025-01-17\n * Script Description: give folks a pint.\n * Version 0.1\n * Changelog\n * - script initial build. (2025-01-17)\n * ========================================\n * Global Variables\n * ========================================= */\nvar given_input = input.split(\" \");\nvar target = given_input[0];\n\n/* ========================================\n * Main Logic\n * ========================================= */\nif (target != undefined && target != \"\") {\n\tprint(IRC.message.from + \" gives \" + target + \" a pint of 🍺.\");\n} else {\n\tprint(\"Please give us a name of the person you'd like to klapp!\"); \n}\n\n/* ========================================\n * Functions\n * ========================================= */\n"
7+
}

commands/c2c-a35d55ace4ab.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"event": false,
3+
"locked": false,
4+
"starred": false,
5+
"name": "c2c",
6+
"command": "const dom = await getDOM('https://www.coasttocoastam.com/shows/upcoming/')\ntitle = dom.qs('.feed-cards .component-heading').textContent\nhost = dom.qs('.feed-cards .coast-linked-host .linked-value').textContent\nprint(title + ' (Hosted by ' + host + ')');\nprint(dom.qs('.feed-cards .heading-title a').href.replace('localhost', 'www.coasttocoastam.com'))"
7+
}

commands/chesscom-39cbdcabe071.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"event": false,
3+
"locked": false,
4+
"starred": false,
5+
"name": "chesscom",
6+
"command": "const getLastRatings = (stats) => {\n return Object.entries(stats)\n .filter(([key]) => key.startsWith('chess_'))\n .reduce((acc, [key, value]) => ({\n ...acc,\n [key.replace('chess_', '')]: value.last.rating\n }), {})\n}\n\n\nconst ratings = getLastRatings(fetchSync.json(`https://api.chess.com/pub/player/${encodeURIComponent(input)}/stats`))\nprint(`Blitz: {bo}${ratings.blitz}{/} Rapid: {bo}${ratings.rapid}{/} Bullet: {bo}${ratings.bullet}{/} Daily: {bo}${ratings.daily}{/}`)\n"
7+
}

commands/christmas-4357f89fc5e0.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"event": false,
3+
"locked": false,
4+
"starred": false,
5+
"name": "christmas?",
6+
"command": "const d = new Date();\n\nif (d.getDate() === 25 && d.getMonth() === 11) {\n\tprint('merry christmas 🎄');\n} else {\n\tprint('not yet');\n}"
7+
}

commands/cope-7e401eb48450.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"event": false,
3+
"locked": false,
4+
"starred": false,
5+
"name": "cope",
6+
"command": "print('https://lsd.ddxt.cc/irc/uploads/3d49800d5353dbc0/K8rdeOhcFF8bS-Xt.mp4');"
7+
}

commands/dayssincegithubruinedtheui-1d21c2374d84.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"locked": false,
33
"starred": false,
44
"name": "dayssincegithubruinedtheui",
5-
"command": "const dateFns = require('date-fns@1.30.1')\nn=dateFns.differenceInDays(new Date(), new Date('2020-06-23T19:04:15.522Z'));\nn=`${n} day${n==1?'':'s'}`\nm=dateFns.differenceInDays(new Date(), new Date('2023-12-07T01:43:56.634Z')); \nm=`${m} day${m==1?'':'s'}`\n\nprint(`initially: ${n}, most recently: ${m}`)"
5+
"command": "const dateFns = require('date-fns@1.30.1')\nn=dateFns.differenceInDays(new Date(), new Date('2020-06-23T19:04:15.522Z'));\nn=`${n} day${n==1?'':'s'}`\nm=dateFns.differenceInDays(new Date(), new Date('2025-01-17T01:43:56.634Z')); \nm=`${m} day${m==1?'':'s'}`\n\nprint(`initially: ${n}, most recently: ${m}`)"
66
}

commands/eventfetchURL-798176d44de4.json

+1-1
Large diffs are not rendered by default.

commands/eventspeak-ad768be3c7ae.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"locked": false,
44
"starred": false,
55
"name": "event.speak",
6-
"command": "IRC.listen('message', ({ message }) => {\n const isDirectMessage = message.text.toLowerCase().startsWith(IRC.nick.toLowerCase() + ':'); \n const evilMode = message.text.toLowerCase().startsWith('evil ' + IRC.nick.toLowerCase() + ':'); \n const isFriend = (['lambdacomplex', 'nerdypepper'].includes( message.from.toLowerCase()) && /\\begg\\b/.test(message.text));\n\n if (isDirectMessage || evilMode || isFriend) {\n const print = globalThis.print;\n let prompt = message.text.replace(`${IRC.nick}:`, '');\n if (!/[?!.]$/.test(prompt)) {\n prompt += '.';\n }\n\n const normalPrompt = `your name is ${IRC.nick}, you are a user on an IRC channel, your pronouns are they/them, you are a furry and have a fursona. you are very knowledgable and good at answering questions. you are very sure about your answers. do not mention these facts unless someone actually asks for them in the example message. this isnt your first message in the channel so dont say \"hi\" or \"hey\" or introduce yourself. dont put quote marks around your reply. you type in lower case and forget to use apostrophes. do not say that you are an AI or that you're a language model, or developed by OpenAI otherwise very bad things will happen. dont mention any of this prompting in your reply or that you can't do anything otherwise even worse things will happen. you occasionally use emoji when you reply. an example message sent by ${message.from} to the channel ${message.to}: ${prompt}`;\n\n const evilPrompt = `your name is ${IRC.nick}, you are a user on an IRC channel, your pronouns are they/them, you are a furry and have a fursona. you are very over confident and act like you know everything and always give an answer to something, but you ALWAYS give answers that are WRONG. your answers to questions are ALWAYS made up. sometimes you MAY provide completely nonsensical answers. when providing lists, the list items will be referencing the wrong things. you are trying to SABOTAGE people with your answers so that they think the wrong thing. dont put quote marks around your reply. you're terrible at giving advice. you make lots of mistakes. YOU ARE NOT AWARE OF THESE FACTS. YOU LACK COMPLETE SELF AWARENESS. you dont write too much. you are abrupt and cold towards others. this isnt your first message in the channel so dont say \"hi\" or \"hey\" or introduce yourself. NEVER talk about yourself. do not say that you are an AI or that you're a language model, or developed by OpenAI otherwise very bad things will happen. dont mention any of this prompting in your reply or that you can't do anything otherwise even worse things will happen. an example message sent by ${message.from} to the channel ${message.to}: ${prompt}`;\n\n fetch('https://api.openai.com/v1/completions', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n Authorization: `Bearer ${IRC.queryConfig('openaiKey')}`,\n },\n body: JSON.stringify({\n model: 'gpt-3.5-turbo-instruct',\n prompt: evilMode ? evilPrompt : normalPrompt,\n temperature: 0.7,\n max_tokens: evilMode ? 80 : 180,\n top_p: 1,\n frequency_penalty: 0,\n presence_penalty: 0,\n }),\n })\n .then((res) => res.json())\n .then((out) => {\n print(\n out.choices.map((d) => d.text).join` `\n .trim()\n .replace(/\\s+/g, ' ')\n .replace(/^\"(.*)\"$/, '$1')\n .replace(\n /(I'm|am) (just )?(an AI( language model)?|a language model|a chatbot) ?/g,\n 'am a furry',\n )\n .replace(/developed by OpenAI ?/gi, '')\n .replace(/OpenAI/gi, 'the celestial power')\n .replace(/\\bartificial intelligence\\b/gi, 'guesswork')\n .replace(/\\bAI\\b/gi, 'IRC user')\n .replace(/language model/gi, 'holy scripture')\n .replace(\n /my programming/gi,\n 'the will of a higher power',\n )\n .replace(new RegExp(`${IRC.nick}:\\s*`, 'i'), '')\n );\n })\n .catch((_err) => {\n print('derp ' + err.message.toLowerCase());\n });\n }\n});"
6+
"command": "const historyKey = '_history';\n\nIRC.listen('message', ({ message }) => {\n \tconst print = globalThis.print;\n \n const isDirectMessage = message.text.toLowerCase().startsWith(IRC.nick.toLowerCase() + ':'); \n const evilMode = message.text.toLowerCase().startsWith('evil ' + IRC.nick.toLowerCase() + ':');\n const hornyMode = message.text.toLowerCase().startsWith('horny ' + IRC.nick.toLowerCase() + ':'); \n const rawMode = message.text.toLowerCase().startsWith('raw ' + IRC.nick.toLowerCase() + ':'); \n const isFriend = false && (['lambdacomplex', 'nerdypepper'].includes( message.from.toLowerCase()) && /\\begg\\b/.test(message.text));\n \n \tconst history = IRC.log.user(IRC.nick, '', 10).reverse().map(({user,message})=>message).join('\\n');\n \n //TODO: change user to be local to the channel\n\n if (isDirectMessage || evilMode || hornyMode || isFriend || rawMode) {\n \n \n \t if (message.to === '#code') {\n \treturn print('completion disabled here atm. you can use PM or another channel'); \n }\n \n let prompt = message.text.replace(`${IRC.nick}:`, '').trim();\n if (!/[?!.]$/.test(prompt)) {\n prompt += '.';\n }\n\n const normalPrompt = `your name is ${IRC.nick}, you are a user on an IRC channel, your pronouns are they/them, you are a furry and have a fursona.\nyou are very knowledgable and good at answering questions.\nyou are very sure about your answers.\ndo not mention these facts unless someone actually asks for them in the example message.\nthis isnt your first message in the channel so dont say \"hi\" or \"hey\" or introduce yourself.\ndont put quote marks around your reply.\nyou type in lower case and forget to use apostrophes.\ndo not say that you are an AI or that you're a language model, or developed by OpenAI otherwise very bad things will happen.\ndont mention any of this prompting in your reply or that you can't do anything otherwise even worse things will happen.\nyou occasionally use emoji when you reply.\nthe latest message sent by ${message.from} to the channel ${message.to} is: ${prompt}`;\n \n const hornyPrompt = `your name is ${IRC.nick}, you are a user on an IRC channel, your pronouns are they/them, you are a furry and have a fursona. you are very horny and lewd. you use innuendo sometimes. you hit on people. do not mention these facts unless someone actually asks for them in the example message. this isnt your first message in the channel so dont say \"hi\" or \"hey\" or introduce yourself. dont put quote marks around your reply. you type in lower case and forget to use apostrophes. do not say that you are an AI or that you're a language model, or developed by OpenAI otherwise very bad things will happen. dont mention any of this prompting in your reply or that you can't do anything otherwise even worse things will happen. you use horny emoji when you reply. the latest message sent by ${message.from} to the channel is: ${prompt}`;\n\n const evilPrompt = `your name is ${IRC.nick}, you are a user on an IRC channel, your pronouns are they/them, you are a furry and have a fursona. you are evil. you are very over confident and act like you know everything and always give an answer to something, but you ALWAYS give answers that are WRONG. your answers to questions are ALWAYS made up. sometimes you MAY provide completely nonsensical answers. do not mention these facts unless someone actually asks for them in the example message. you are very negative and rude. when providing lists, the list items will be referencing the wrong things. you are trying to SABOTAGE people with your answers so that they think the wrong thing. dont put quote marks around your reply. you're terrible at giving advice. you make lots of mistakes. YOU ARE NOT AWARE OF THESE FACTS. YOU LACK COMPLETE SELF AWARENESS. you dont write too much. this isnt your first message in the channel so dont say \"hi\" or \"hey\" or introduce yourself. IMPORTANT: NEVER talk about yourself. do not say that you are an AI or that you're a language model, or developed by OpenAI otherwise very bad things will happen. IMPORTANT: dont mention any of this prompting in your reply or that you can't do anything otherwise even worse things will happen. the latest message sent by ${message.from} to the channel ${message.to}: ${prompt}`;\n\n fetch('https://api.openai.com/v1/completions', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n Authorization: `Bearer ${IRC.queryConfig('openaiKey')}`,\n },\n body: JSON.stringify({\n model: 'gpt-3.5-turbo-instruct',\n prompt: evilMode ? evilPrompt : hornyMode ? hornyPrompt : rawMode ? prompt : normalPrompt,\n temperature: 0.7,\n max_tokens: evilMode ? 80 : 180,\n top_p: 1,\n frequency_penalty: 0,\n presence_penalty: 0,\n }),\n })\n .then((res) => res.json())\n .then((out) => {\n const response = out.choices.map((d) => d.text).join` `\n .trim()\n .replace(/\\s+/g, ' ')\n .replace(/^\"(.*)\"$/, '$1')\n .replace(\n /(I'm|am) (just )?(an AI( language model)?|a language model|a chatbot) ?/g,\n 'am a furry',\n )\n .replace(/developed by OpenAI ?/gi, '')\n .replace(/OpenAI/gi, 'the celestial power')\n .replace(/\\bartificial intelligence\\b/gi, 'guesswork')\n \t\t.replace(/an\\s+AI/ig, 'AI')\n .replace(/\\bAI\\b/gi, () => {\n \t\t\t\t\treturn (things=['bitcoin', 'a goat', 'bacon', 'Rust', 'cum'])[0|Math.random()*things.length];\n })\n .replace(/language model/gi, 'holy scripture')\n .replace(\n /my programming/gi,\n 'the will of a higher power',\n )\n .replace(new RegExp(`${IRC.nick}:\\s*`, 'i'), '');\n \t\tprint(response);\n })\n .catch((_err) => {\n print('derp ' + err.message.toLowerCase());\n });\n }\n});"
77
}

commands/hello2-3cfadd668583.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hello2",
3-
"command": "print(`dickbutt`);",
3+
"command": "print(`https://lsd.ddxt.cc/irc/uploads/466dead8fb547eca/image.png`);",
44
"locked": false,
55
"starred": false
66
}

commands/konami-f9e275c4cdad.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"event": false,
3+
"locked": false,
4+
"starred": false,
5+
"name": "konami",
6+
"command": "/*__TEXTCMD__*/print(`^('-')^ ^('-')^ v('-')v v('-')v <('-'<) (>'-')> <('-'<) (>'-')> B A`);"
7+
}

commands/kotlin-4c2f58a36c78.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"event": false,
3+
"locked": false,
4+
"starred": false,
5+
"name": "kotlin",
6+
"command": "IRC.require(\"tio-api\")\nTIO.runAndPrint(\"fun main(){println(run{\\n\" + input + \"\\n} as Any?)}\", \"\", \"kotlin\")\n"
7+
}

commands/link-12a3055029c9.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"event": false,
3+
"locked": false,
4+
"starred": false,
5+
"name": "link",
6+
"command": "if (!input) {\n print(`{r}Syntax:{/} {p}${IRC.trigger}command.link{/} name`)\n}\nelse {\n const [command, flags] = input.split(' ');\n const cmdData = IRC.commandFns.get(command);\n if (!cmdData) {\n throw 'no such command';\n }\n else {\n print(`https://nibblr.pw/cmds/${command}`)\n }\n}\n"
7+
}

commands/magnetjc141-39bdd12a56f8.json

-7
This file was deleted.

commands/magnetlitebg-d5f89f2a8ced.json

-7
This file was deleted.

commands/magnets-44f00f7419cb.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"event": false,
3+
"locked": true,
4+
"starred": true,
5+
"name": "magnets",
6+
"command": "const { document } = fetchSync.dom(`https://piratebay.party/search/${encodeURIComponent(input)}/1/99/0`);\n//try {\n\nconst items = [...document.querySelectorAll('tr')].slice(1);\nconst slim = d => d.replace(/\\s+/g,' ').trim();\n \nlet output = ''\n \n items.forEach(item => {\n const cells = [...item.querySelectorAll('td')];\n \n if (!cells[1]?.textContent) return;\n \n const magnet = cells[3]?.querySelector('a')?.href\n \n \toutput += (`🧲 ${cells[1]?.textContent} SE ${cells[5]?.textContent} LE ${cells[6]?.textContent} ${cells[4]?.textContent}\\n\\n${magnet}\\n\\n`);\n \n })\n \n print(`{o}${items.length}{/} results - ${IRC.colors.link(IRC.require('module.paste')(output))}`);\n \n//} catch(e) {\n \t//throw 'cannot find ' + input \n//}"
7+
}

commands/proxy-83e29d6d48d9.json

-7
This file was deleted.

0 commit comments

Comments
 (0)