Say you click the letter a and it does something
i was wondering with out doing it through the game itself but threw coding how could i make it so it is already like that
so when you start a game and you clik a and it does something with out having to do it on the preferecne thing
Thanx
ID:179401
Jan 6 2002, 2:51 pm
|
|
Jan 6 2002, 2:54 pm
|
|
Make a .dms file and look up macros (client script) in the reference.
|
In response to Spuzzum
|
|
=P i have a addition to this, what is enter defined as in the macro thing
|
In response to dbz73
|
|
dbz73 wrote:
=P i have a addition to this, what is enter defined as in the macro thing Enter -- with a capital E. I'll dig up the link from the old release notes (this should be added to the reference, Dantom): http://www.byond.com/news/notes/macro.html |
In response to Spuzzum
|
|
I read the macro(script client)thing i didnt understand it so if some one here could help me understand it i would appreeciate it
Thanx |
In response to Greg
|
|
I don't think anyone can really explain it better than the code example that is already there, but I'll give it a shot. Essentially, the format is as follows:
macro key return "myverb" So if you want to macro the 'I' key to the "Inventory" verb, you would do: macro I return "Inventory" |