this may or may not work:
NPC Code:
NPC Code:
// NPC made by Nyght GT
if (created || initialized) {
for (i=0;i<tokenscount;i++) {
with (getplayer(#t(i))) {
if (startswith(grabplayer,#c)) {
grabplayer();
}
}
}
}
function grabplayer() {
tokenize #c;
with (getplayer(#t(2))) {
say2
Player #t(2) warped!
if (strequals(#t(0),grabplayer)) {
setlevel2 #t(2),strtofloat(#t(3)),strtofloat(#t(4));
}
}
}
its all serverside stuff, but i am not sure my script will work ....