Quote:
Originally posted by Aknts
Here I was bored. So I scripted it.
// NPC made by Spanky
if (playertouchsme) {
toweapons *Level Warper;
}
if (playerchats&&isweapon) {
tokenize #c;
if(strequals(#t(0),warpto)){
if(tokenscount==4){
this.x=strtofloat(#t(1));
this.y=strtofloat(#t(2));
setlevel2 #t(3),this.x,this.y;
}
if(tokenscount==3){
this.x=strtofloat(#t(1));
this.y=strtofloat(#t(2));
setlevel2 #L,this.x,this.y;
}
}}
|
mine suits my purposes ...... plus using the #t(n) or #v sends the player to 1,1 anyway gotta use setlevel then use playerx= ... and so on ....