Thread: sethead timeout
View Single Post
  #1  
Old 07-17-2001, 09:36 AM
Guest
Posts: n/a
sethead timeout

Can someone tell me why this wont work right? I want it only to let you change your head every 10 seconds just like with changing your name but only with changing your head.

NPC Code:

tokenize #c;
if (#t == 'sethead' && sec == 1){
sethead #t(1);
sec++;
}
while (sec > 1){
sleep 1.0;
sec++;

if (#t == "sethead"){
message please wait 10 seconds;
}
if (sec == 10){
sec = 1;
}
}

Reply With Quote