I checked the RUN file. The person who wrote it forgot to define a few things.
They have this code for customizing idle sets, but they did not define Idle_ind or sets.Idle.index. If you want to have variable idle sets, define those in the get_sets() function. If you want to use the idle set in his file, delete the above code and change status_change() to
elseif command == 'toggle Idle set' then
Idle_ind = Idle_ind +1
if Idle_ind > #sets.Idle.index then Idle_ind = 1 end
send_command([email protected] /echo <----- Idle Set changed to '..sets.Idle.index[Idle_ind]..' ----->')
if new == 'Engaged' then