From 153bf95a246fd6ec2f0a94860927c0501f6fb5e7 Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Tue, 6 Oct 2020 21:32:45 -0400 Subject: [PATCH] Fix list factoid function --- process_event | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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