[Filterscript]Virtual keys code

Started by KAKAN, Dec 27, 2015, 07:31 AM

Previous topic - Next topic

KAKAN

Hello all. So, within this winter holidays I was getting bored, so just today( now ) I made a script which have the constants of all the key binds which can be used in OnKeyUp and OnKeyDown.
If you find any bug, report it to me, enjoy the script as well!
Here you go:-
Link: http://files.thijn.ovh/download/c0cf00d2b804bba30d02fcaf5a8f550c/Virtual%20keys.nut


Please don't hurt me by saying comments like, "How to use", "Where to paste" etc.
Load it to your script using:-
dofile("Virtual keys.nut",true); -You can put it anywhere, but we prefer to put it in onScriptLoad()
oh no

KAKAN

#1
Ahh, wait, these are not working.
I'll fix them ASAP.
Till then don't download please!
EDIT:- The script seems to be fixed, now it's updated too!
oh no

.

And yet... How does this qualify as a script?
.

MacTavish

Ehmm. Rename topic to [filterscript] @KAKAN

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

KAKAN

Quote from: S.L.C on Dec 27, 2015, 11:47 AMAnd yet... How does this qualify as a script?
I just released it, so that it can help others.

Quote from: Kusanagi on Dec 27, 2015, 12:13 PMEhmm. Rename topic to [filterscript] @KAKAN
Thanks!
oh no

.

Quote from: KAKAN on Dec 27, 2015, 01:28 PM
Quote from: S.L.C on Dec 27, 2015, 11:47 AMAnd yet... How does this qualify as a script?
I just released it, so that it can help others.

No. I mean, what makes this a script and not a snippet? Is it because its a file?
.

KAKAN

Quote from: S.L.C on Dec 27, 2015, 01:32 PM
Quote from: KAKAN on Dec 27, 2015, 01:28 PM
Quote from: S.L.C on Dec 27, 2015, 11:47 AMAnd yet... How does this qualify as a script?
I just released it, so that it can help others.

No. I mean, what makes this a script and not a snippet? Is it because its a file?
Maybe yes. This had many lines as a snippet, that's why I posted it here.
oh no

.

Quote from: KAKAN on Dec 27, 2015, 01:33 PMMaybe yes. This had many lines as a snippet, that's why I posted it here.

Probably has less code than this or this :-\
.

KAKAN

Quote from: S.L.C on Dec 27, 2015, 01:49 PM
Quote from: KAKAN on Dec 27, 2015, 01:33 PMMaybe yes. This had many lines as a snippet, that's why I posted it here.

Probably has less code than this or this :-\
Probably more than this. :-\
oh no

Thijn

Moved to snippets. It does nothing by it's own. You need to make your own code work with this. Which, I believe, make this more of a snippet then an actual script.