scripts/idlerpg: refactor a tiny bit
scripts: use Hash for reply in a few more places