of     1   

mariofan745
#36437254Wednesday, November 03, 2010 4:35 AM GMT

Is it possible to use the Arrow Keys for this function?
Ferretguy
#36437806Wednesday, November 03, 2010 5:17 AM GMT

Yes. I'm drawing a blank at the moment, but there is a function in which you give the keys "Number" and it can read that.
Fungalmungal
#36437843Wednesday, November 03, 2010 5:22 AM GMT

string.byte()
mariofan745
#36438608Wednesday, November 03, 2010 7:25 AM GMT

>Fungalmungal: What?
Kenetec
#36440289Wednesday, November 03, 2010 11:58 AM GMT

You have to find the number of the key. if key == string.char(##) then --stuff end
Ferretguy
#36441798Wednesday, November 03, 2010 2:15 PM GMT

Look up "ACII Table" and find the number for the key or symbol you're looking for, and put it into string.byte() It will look something like this: if key == string.byte(2) then --st00f end
mariofan745
#36446203Wednesday, November 03, 2010 6:31 PM GMT

Um... I looked it up then my brain exploded.
Combrad
#36446244Wednesday, November 03, 2010 6:32 PM GMT

function BLAH(mouse) Code = mouse.byte() print(Code) end
oysi93
#36446530Wednesday, November 03, 2010 6:41 PM GMT

Let me explain good coding. =) local Left = string.char(?) if Key == Left then end That way you won't have to keep calling that string.char function. =)

    of     1