diff options
| author | Bheesham Persaud | 2015-09-15 19:05:29 -0400 |
|---|---|---|
| committer | Bheesham Persaud | 2015-09-15 19:30:03 -0400 |
| commit | 36edced7eeb1bfd25466f9b030d770f9df4da983 (patch) | |
| tree | d98b3d5e1ef98242cf0de5b1c9de00e994afc799 /scripts/binary.pl | |
| parent | 17e097d2016669514cb45d6a42eb21da7b389d22 (diff) | |
| download | scripts.irssi.org-36edced7eeb1bfd25466f9b030d770f9df4da983.tar.bz2 | |
Fixed a bug: selects from all ans; and added ans.
The 8-ball script did not select from all possible answers, as `rand`
was not passed the size of all possible answers.
Fixed by changing the variable `answer` into an array and by selecting a
random index.
Diffstat (limited to 'scripts/binary.pl')
0 files changed, 0 insertions, 0 deletions
