historical/FurcodeJS.git/furcode.js

44 lines
1.4 KiB
JavaScript
Raw Normal View History

2024-01-16 17:20:27 +00:00
function fureval(code) {
var cmd = code.split(' ').slice(0,1)
if (cmd == "owo") {
var owoText = code.replace("owo ","");
console.log(owoText)
}
if (cmd == "uwu") {
var uwuArgs = code.replace("uwu ","");
var arg1 = uwuArgs.split(" ").slice(0,1)
var arg2 = uwuArgs.split(" ").slice(1,2)
var lastuwuoutput = uwuArgs.split(" ").slice(2);
if (arg1.toString() == arg2.toString()) {
console.log(lastuwuoutput.toString())
}
}
if (cmd == "uwuEval") {
var uwuArgs = code.replace("uwuEval ","");
var arg1 = uwuArgs.split(" ").slice(0,1)
var arg2 = uwuArgs.split(" ").slice(1,2)
var lastuwuoutput = uwuArgs.split(" ").slice(2);
if (arg1.toString() == arg2.toString()) {
eval(lastuwuoutput.toString())
}
}
if (cmd == "fursuit") {
var uwuArgs = code.replace("fursuit ","");
var arg1 = uwuArgs.split(" ").slice(0,1)
var arg2 = uwuArgs.split(" ").slice(1,2)
var lastuwuoutput = uwuArgs.split(" ").slice(2);
if (arg1.toString() != arg2.toString()) {
console.log(lastuwuoutput.toString())
}
}
if (cmd == "fursuitEval") {
var uwuArgs = code.replace("fursuitEval ","");
var arg1 = uwuArgs.split(" ").slice(0,1)
var arg2 = uwuArgs.split(" ").slice(1,2)
var lastuwuoutput = uwuArgs.split(" ").slice(2);
if (arg1.toString() != arg2.toString()) {
eval(lastuwuoutput.toString())
}
}
}