mob/proc
FocusTrainingProc()
if(src.Training) {src<<"You are already [src.Training]";return}
if(!src.CanAct()) {src<<"You appear to be Busy...";return}
src.Training="Focus Training"
src.icon_state="powerup"
src.AddAura()
while(1)
if(src.StopFocusTraining && src.Training=="Focus Training")
src.StopFocusTraining=0
src.Training=0;break
if(src.Subscriber) src.TrainingExp+=1
src.TrainingExp+=1
sleep(10)
Problem description:How can i make it so while keep checking if user has stopped Focust traing every sec but user only gain exp every 3 to 10 sec
You seem to be using unnecessary variables.