-
-
Save chrismatthieu/25aa2516820eb306892e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
answer(); | |
ask("What's your four or five digit pin? Press pound when finished", array( | |
"choices"=>"[4-5 DIGITS]", | |
"terminator" => "#", | |
"timeout" => 15.0, | |
"onChoice" => "choiceFCN" | |
) | |
); | |
function choiceFCN($event) { | |
say($event.value); | |
} | |
// script continues | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment