mIRC Homepage
Posted By: supmyhava please help with some script - 07/02/22 02:27 AM
hi guys i must help from the bests here.
i have this command in a middle of some script
$input(GameGuard is on?,yw,GameGuard)
if i click yes its return $true and if i click no its return $false
i want that if i click yes it will continue with the rest of the script
and if i will click no it will stop and not continue
can i do this ?
thankssssss
Posted By: maroon Re: please help with some script - 07/02/22 11:04 AM
Code
if ($input(GameGuard is on?,byw,GameGuard) == $false) halt


I added the 'b' switch so it puts a pause of 1 second, and also clears the buffer so it ignores a pending keystroke made before the dialog appears. You can take that out if you don't like it.
© mIRC Discussion Forums