Quote:
|
Originally Posted by CheeToS2
It's easier to use .contains()
this.msg = "what npc";
this.findmsg = "npc";
if (this.msg.contains(this.findmsg)) {
// whatever
}
|
GraalScript: Function contains not found at line 6 in script of SandBox (in level onlinestartlocal.nw at pos (30.5, 30))