First off, make it easy for people to read.
Second off... Do not put statements without commands.
Third... If you have a string that contains differant possibility, use "else if"
Fourth... Be lazy, It helps.
Fifth... Why the sleep?
Basically, I would've done it like this:
PHP Code:
// NPC made by ZicklePop
if (created) setshape 1,2,2;
if (actionplayerwarp){
setlevel2 zercha-start-#p(0).nw,30,32.5;
}
//#CLIENTSIDE
if (playerenters){
if (strequals(#s(client.statsgender),girl)
|| strequals(#s(client.statsgender),guy))
triggeraction x+1,y+1,playerwarp,#s(client.statsgender);
}
Now you're good to rule the world!
Hrm... Perhaps this violates the Forum Rule "Do not ask full scripts". Ohwell, it was quite short regardless.