Blockland Forums > Modification Help
Keybinds
<< < (4/4)
jes00:

--- Quote from: Placid on July 22, 2011, 09:50:00 AM ---1. eh, true, i was basing it off his.. if it was my project i would.
2. ah forgot the return, thank you

--- End quote ---
1. Go ahead and do it.
2. Did you fix it?
jes00:
Whenever I use the keybind it deactivtes the packages and activates them when I release the keybind.
Nexus:

--- Quote from: Nexus on July 21, 2011, 02:37:59 PM ---One more thing to note, is that keys call the command both when they are pressed, and when they are released.

say key "K" is bound to command "cake"


--- Code: ---function cake(%x)
{
   if(%x)
      echo("You pressed the key");
   else
      echo("You released the key");
}
--- End code ---

--- End quote ---
jes00:

--- Quote from: Nexus on July 22, 2011, 09:25:39 PM ---

--- End quote ---
So how would I go about fixing it?
Navigation
Message Index
Previous page

Go to full version