ID:168727
 
Is there any way to program macros for the keys F1 - F12?

It would be really helpful if I could.

Hiead
Some dude did it in his Naruto Game(Rumor), I suppose it is then :).
In response to Sniper Joe
Actually, I'm working on that game, and that's what we want to do. XD

Hiead
NO, IT'S NOT, THEY'RE DECIEVING YOU.
*cough*
client/script={"macro
F1 return "verbnameloool"
F2 return "verbnameloool2"
"}

So, yeah, it's possible. :|
In response to Ol' Yeller
Ol' Yeller wrote:
NO, IT'S NOT, THEY'RE DECIEVING YOU.
*cough*
> client/script={"macro
> F1 return "verbnameloool"
> F2 return "verbnameloool2"
> "}

>

So, yeah, it's possible. :|

I can't get it to work. Any more ideas? I'm not really knowledgeable about the client.script macro format, but I figured from your example that it goes like:
client/script = {"
macro
F1 return "verbIneedTOcall"
"}

I tried it with and without the ()'s after the verb name, but no dice. When I press F1, it says no macro is defined for "p", so I try it for p, and nothing gets any better.

I even right-click the alt button, to see a list of macros, and nothing but the originals like .center and such are listed.

Hiead
In response to Ol' Yeller
Thanks, man. I found out why it wasn't working.

The project I'm working on...is a team project. I came in just like yesterday or the day before, so I haven't been able to look through all of the source. The problem was that the value for client/script was already defined by my partner, and it was conflicting with my new definition. Go figure.

Thanks again =)

Hiead