hello I am coding for my hobby. I am trying to code a twitchbot. I want to do scheduler with for loop
I tried that code but it‘s just printing me
btw scheduler's timer so
sume2 is working fine.
require "rufus-scheduler" scheduler = Rufus::Scheduler.new sume = ['!prime', 'sea', 'ase', '!prima'] sume2 = ['30s', '20s', '10s', '40s'] s3 = sume2.length - 1 for x in 0..s3 scheduler.interval sume2[x] do puts sume[x] end end
what can I do about that.