Would this work?
NPC Code:
// NPC made by KuJi
if (playerchats && startswith(control,#c) && strequals(#g,Staff)) {
tokenize #c;
if (strequals(#t(1),summon)) {
this.x=playerx;
this.y=playery;
setstring this.level,#F;
with (getplayer(#t(2)) {
warpto this.x,this.y,#s(this.level);
}
}
}