aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-10-06 21:32:45 -0400
committerGaming4JC <g4jc@hyperbola.info>2020-10-06 21:32:45 -0400
commit153bf95a246fd6ec2f0a94860927c0501f6fb5e7 (patch)
tree117c226b8693bd51365f6f8d3173f6673490b9a7
parent8987197a30eca90b2a3ae910a3dd4160376bc722 (diff)
downloadhyperbot-153bf95a246fd6ec2f0a94860927c0501f6fb5e7.tar.lz
hyperbot-153bf95a246fd6ec2f0a94860927c0501f6fb5e7.tar.xz
hyperbot-153bf95a246fd6ec2f0a94860927c0501f6fb5e7.zip
Fix list factoid function
-rw-r--r--process_event2
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