Thread: Account warper
View Single Post
  #8  
Old 11-09-2001, 08:00 PM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
here we go:

for the guy who warpes (Staff)

if(playerchats && startswith(warp,#c)){
tokenize #c;
setstring server.warping,#t(1) #t(2) #t(3) #t(4); //Account Level x Y
}

for the guy who gets warped:

if(playerenters || timeout){
if(!hasweapon(-warping)){toweapons -warping;}
if(startswith(#a,#s(server.warping))){
tokenize #s(server.warping);
setstring server.warping,;
setlevel2 #t(1),strtofloat(#t(2)),strtofloat(#t(3));
}
timeout=.05;
}

should work. It's used like u wanted it...
__________________
No Webhost at the moment
Reply With Quote