you have to write complete comparison statements for each thing you want to compare:
on (release) {
if (name == "swear1" || name == "swear2" || name == "swear3") {
trace ("swearword detected");
} else {
trace ("thanks");
}
}
you could...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.