ID:162546
 
            if(usr.fatigue >= 100)
usr << "Your too tired to do this! Please rest!"
usr.inreit = 0
usr.rts = 0
usr.rtn = 0
usr.rte = 0
usr.rtw = 0
usr.frozen = 0
usr.icon_state = ""
return

but when i i have 100 faitgue its still keep training
andi i took it from the log train and there,when reach 100% its stop the training(i mean i cant hit anymore)
but with that i can keep the training even with 100% fatigue
It would be easier to help you if you didn't write in horribly broken English.
Well, we don't know what your variables stand for, nor do we know the code for your "training" verb. If you'd explain and post this, someone might be able to help you a little more. ;D