PHP Code:
temp.keymaps = {
"aeko-crtl_a.gif",
"aeko-crtl_b.gif",
"aeko-crtl_c.png",
etc.
};
Then the index you want is keymod-577, 576<keymod<603. Then there's no searching and no cacading else-ifs.
On top of that, you don't need the "aeko-crtl_" in every line, just put it in the showimg.
And since when did the r come before the t in control (ctrl)?