Ranking
Original Post
Lua "Keymaps"
Hi People,

I try to "customize" some Lua-Scripts I downloaded from here.
The only problem is, I have absolutely no Idea what the Characters on my Keyboard are called in Lua.
I didn't found anything at Google, maybe because Keymap isn't the right term for what I mean.
I hope anybody understands what I mean.

Thanks in advance.
Originally Posted by Nippes View Post
Hi People,

I try to "customize" some Lua-Scripts I downloaded from here.
The only problem is, I have absolutely no Idea what the Characters on my Keyboard are called in Lua.
I didn't found anything at Google, maybe because Keymap isn't the right term for what I mean.
I hope anybody understands what I mean.

Thanks in advance.

There's special keys for making Lua? Sweet.

And I'm not really sure why you'd need to know what the characters are called in it. They are essentially the same, but they just do things besides being a letter.
[CBK]
For example, when I open the .lua with Word, there are some lines saying:
if(key == 107) then ... in this case, key 107 is "k", I guess.
Now, I want to set the Key to Uparrow, but I have no Idea how to do so, because I don't know what number Uparrow is in Lua.

P.S.: Are you some of the Goons chartered by the Admins, or why seems it that you are such a pipsqueak?
offtopic, but...wtf is the sheep for?
On 18, 2008 of the year August, we shall have tea. The following day we eat anyone wearing purple clothes. Then we get into tanks, drive a mile away from each other, and start firing random shells into the air. First one to hit the other tank gets a 5 second head start in the 1 legged race.

In the one legged race, you will be hogtied and forced to compete in the Boston marathon using your penis only. We shall also set down bear traps, landmines, barbed wire, and floating thumbs. Your penis will be painted to resemble an illusion that looks like a 3-D steak; as a result, several Dobermen and Rottweilers we will be taking for a walk that morning which have been starved the previous week may attack.
Originally Posted by Nippes View Post
For example, when I open the .lua with Word, there are some lines saying:
if(key == 107) then ... in this case, key 107 is "k", I guess.
Now, I want to set the Key to Uparrow, but I have no Idea how to do so, because I don't know what number Uparrow is in Lua.

P.S.: Are you some of the Goons chartered by the Admins, or why seems it that you are such a pipsqueak?

There is a way to see how, but it requires editing a script called ShotgunS. I can modify it for you.

And the P.S. part....wtf?

EDIT: Added the script. You're welcome.
Attached Files
seekeys.lua (479 Bytes, 8 views)
Last edited by SrgtCorn; Jul 29, 2008 at 03:38 AM.
[CBK]