Quote:
Originally posted by Warcaptain
he is saying
NPC Code:
if (playerchats){
if (startswith(speed,#c)){
tokenize #c;
this.speed=strtofloat(#t(1));
}
}
simple, short
|
Simple and shorter:
if (playerchats&&startswith(setspeed,#c)) this.speed=strtofloat(#T(#e(8,-1,#c)));