diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-10-06 21:32:45 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-10-06 21:32:45 -0400 |
commit | 153bf95a246fd6ec2f0a94860927c0501f6fb5e7 (patch) | |
tree | 117c226b8693bd51365f6f8d3173f6673490b9a7 | |
parent | 8987197a30eca90b2a3ae910a3dd4160376bc722 (diff) | |
download | hyperbot-153bf95a246fd6ec2f0a94860927c0501f6fb5e7.tar.lz hyperbot-153bf95a246fd6ec2f0a94860927c0501f6fb5e7.tar.xz hyperbot-153bf95a246fd6ec2f0a94860927c0501f6fb5e7.zip |
Fix list factoid function
-rw-r--r-- | process_event | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/process_event b/process_event index 9c15651..379a8b2 100644 --- a/process_event +++ b/process_event @@ -329,7 +329,7 @@ function process_event local end_msg="e.g. ${server_nick_current}: what is ${factoids[0]} (or ,${factoids[0]})" send_msg "${personoslash}" "${begin_msg}" - for (( factoid_n = 0 ; factoid_n < n_factoids ; factoid_n = factoid_n 10 )) + for (( factoid_n = 0 ; factoid_n < n_factoids ; factoid_n = factoid_n + 10 )) do send_msg "${personoslash}" " ${factoids[*]:${factoid_n}:10}" sleep 1 done |