Steam Avatar
You aren't signed in

Keybind Messages

2 KB, 14 years ago, submitted by BobAndRob

Tired of telling people "right click to scope this weapon" when really right clicking does nothing because they have remapped the control to something else? Then this is the script for you.

This script adds a TorqueML type notation for letting you type the name of the keybind, and clients individually turn it into their respective keys, so your descriptions of what to press are always accurate.

The keybind notation works like so:

Code:
<bind:remap name or command>

which the client translates into the bound key.

If the "remap name or command" begins with " then the client will only look for remap names.
If the "remap name or command" ends with () then the client will only look for remap commands.
Beginning with " overrides ending with ()
If neither " or () are given, both will automatically be checked, starting with remap commands, then names.

You can also use /DetectKeybindMessages [player name] to see if a person has this script before you use the <bind: notation, because if they do not have this script, it will look like <bind:whatever you typed> instead of turning into what you expect it to.

Note to scripters:
I have designed this framework while keeping in mind that others will want to use it, so...

When a client connects, the server checks wether or not the client has this script via a commandToClient/commandToServer handshake. If the client does have this framework,
Code:
client.hasKeybindMessages

will be set to true.
If a client does not have this mod, and you still send them messages using the <bind:whatever> notation, they will see <bind:whatever> instead of what they have bound their whatever remap to.
In order to avoid clients seeing this, please check if the client has this script first via checking client.hasKeybindMessages.

Hyperbob
When I saw this in the Holding tank, I thought that it would allow you to set messages to keys. But this seems even more helpful, especialy for people like me who use the laptop keyboard layout instead of the standard controls.

Why I use the laptop setting when I have a full keyboard is beyond me... may it's because I started playing Blockland on a laptop...

Besides, who DOESN'T use "r" for their jets? :D
giome298
i right click for jets
giome298
what the? why did it pop up red!?
BobAndRob
@giome298
Why did what pop up red?
DarkLight
I really can't see how this is useful in anyway.
smith8437
Good job,
I AM CONFUISED, i download it anyway because any mod by BobAndRob is epic :}
Blazer232
I r cunfused
fionnbharr1
This appears to have no practical purpose other than making it easier for noobs to bother people on how to do something. not bad really, complicated. and also, do not expect the people who post on RTB DL manager to always be good scripters, and to most of blocklanders, this wont make sense.
This might be helpfull for those "Nice" admins that awnser all the stupid questions.
BobAndRob
fionnbharr1 wrote:
This appears to have no practical purpose other than making it easier for noobs to bother people on how to do something.

No, the exact opposite is true. It makes it easier to help those noobs who bother you asking how to do something. The sooner you tell them to press ALT BACKSLASH instead of F2 to open the player list because they have it bound to something odd, the sooner they will stop bothering asking you "HAO 2 DO?"

[quote=
DarkShadow6
I'm a nice admin! That is, unless the person is being a whiny bitch saying "IT NOT WORNG IT NT OWORNKNG".
dasapples
Quote:
Besides, who DOESN'T use "r" for their jets? :D

AndreZ
Quote:
Besides, who DOESN'T use "r" for their jets? :D


I use right mouse button 4
RU55IAN R3B3L
@ DarkShadow6
wow i can't beleive someone could even say so many cutoff and mixed up words in one sentence
i would say "OMG FTW WTF IS THIS THE 7 KEY NOT WRKN 4 JET?"
darerd
FTW?!?! This does not make any sense whatsoever.
Tehmeepzor
Lol, i first thought this was the old chatbinds mod raised from the dead. XD Ontopic: This could be usefull with bots if someone makes a mod that allows bots to respond to direct commands from a player. :3
Blanzer
This is crap, this doesent work! 1/5.
BobAndRob
@Blanzer
Yes it does, you just don't know how to use it. Nobody said you had to try to use it, not understand what it does, and then whine in a comment. If it didn't work, it wouldn't have been approved.
Will Smith
Very useful. I can see why many people would get confused though. Maybe you should design it less towards people who can script, and more towards people who can't (But idoits, are idoits, and that cannot be helped) . . . Anyway, its great, 4/5.
TheDarkCrucible
It would be nice if you could focus this more towards people who can't script please. I like it a good job on it btw ;) nothing I really need still 4/5
mariorules235270
thx this will help me when ppl say "but the rigt mowse button dont work 4 jewt!"
Rocketdud
OMG FRICKING EPIC
Blocko
YAY
Shadow The Hedgehog
huh????? i dont understand. help.
ShadowWolfie
I had to look at the pictures to understand what the hell you said! lol I wish there was something to let you bind keys in a chat box. Like you could type for instance.
Evilmatt555
Ehhh i hate it.. But its not how it works its because i never use it. good work tho 5/10
HotDogMan12
i dont think you would use it but its good. 5/5
King of the Bill
Too complicated for me to try to use in chat, but I can think of other uses for this. Good work!
Gravity Squirrel
Everybody who thinks this sucks IT DOESN'T imagine what things you could do with this you noobs