Details 
Title: Keybind Messages
Summary: bind:keybind goes here
Author: BobAndRob
Submitted By: HansonBot
Date Submitted: Sun Jan 10, 2010 7:24 am
Description: 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.
 

Screenshots 
 

File Information 
Supported Games: Blockland v20, Blockland Rebuilt
Version: v1
Filesize: 1.76 kB
Filename: Support_KeybindMessages.zip
Total Downloads: 0
Ratings:
Rating: 0 (0 ratings submitted)Rating: 0 (0 ratings submitted)Rating: 0 (0 ratings submitted)Rating: 0 (0 ratings submitted)Rating: 0 (0 ratings submitted)  0 Ratings
 

 
This file has been approved by our moderators.
This means it appears to be safe to use.
Download Keybind Messages
 


Service revived by the B4v21 Team.
Designed by Vjacheslav Trushkin and modified by RTB.