rathena/npc/test/ci/0000_funcs.txt
SapitoSucio 55d3c1578c
Itemlink command and integration (#7291)
Co-authored-by: Akkarinage <mike.langford@industrial-illusions.net>
Co-authored-by: Aleos <aleos89@users.noreply.github.com>
Co-authored-by: Atemo <Atemo@users.noreply.github.com>
Co-authored-by: cydh<cydh@users.noreply.github.com>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
Co-authored-by: secretdataz<secretdataz@users.noreply.github.com>
2022-11-11 18:04:41 +01:00

15 lines
343 B
Plaintext

function script AssertTrue {
if (!getarg(0)) {
errormes "AssertTrue failed for " + getarg(1) + ".";
return false;
}
return true;
}
function script AssertEquals {
if (getarg(0) != getarg(1)) {
errormes "AssertEquals failed for " + getarg(2) + ": expected " + getarg(0) + ", got " + getarg(1) + ".";
return false;
}
return true;
}