this is probobly a stupid question but is there a command to wait for a condition like when condition: action or something that would do the same thing but a diffrent manner i would appreciate any help thanks