/help $?
...
[b]Note: This identifier cannot be used in a script event. One way around this is to use a /timer to initiate an input request after the script ends.[b]



Code:
//if ( khaled isgod ) echo yes | else echo no