Nope. without a quine including cheating ones

From Esolang
Jump to navigation Jump to search

Nope. without a quine including cheating ones is Nope. without a quine but the cheating quine does not work.

how it works

every program prints nope unless the program has a nope. inside it will print:

lol no quine for you. nope. no quine

theres actually a quine lol

this is a quine:

lol no quine for you. nope. no quine

Interpreter

Written in JavaScript.

function nwaqico(program)
{
    console.log(program.includes("nope.") ? "lol no quine for you. nope. no quine" : "nope");
}