ID:146058
 
Code:
client
script = "<STYLE>BODY{background: black; color: white}</STYLE>"


Problem description:

For some WEIRD reason.. this peace of code turns my F1-4 buttons in the buttons P Q R S and gives errors whenever i use my F1-4 macros
Actually, I believe that they are always like that by default. For example, open up a blank DreamSeeker and press DreamSeeker's Alt button, followed by F1 on your keyboard, and you should see a message similar to:
<font color=#FF0000>
[No macro is defined for "p". Toggle macro-mode to use the command prompt, or preface commands with "/".]
</font>

Hiead
In response to Hiead
even though, why does it negate my macro dms file?
In response to Xeronage
Who knows. Remove your .dms file and set it inside of client/script. (Be sure to only define client/script in one place, I had a problem previously when I tried to define it twice, accidentally)

Hiead
In response to Hiead
macro
F1 return "F1"
F2 return "F2"
F3 return "F3"
F4 return "F4"
Space return "Ctrl"
client
script = "<STYLE>BODY{background:black;color: white}</STYLE>"


I have no idea what you mean by, putting it in client/script.. so.. can u do it?
In response to Xeronage
If you have any macros defined in your preferences those macros will override any macros defined by a game of the same name. And for many years now has the F[X] buttons taken on other macros from your defined macros, never figured out why.
In response to Xeronage
Xeronage wrote:
> macro
> F1 return "F1"
> F2 return "F2"
> F3 return "F3"
> F4 return "F4"
> Space return "Ctrl"
> client
> script = "<STYLE>BODY{background:black;color: white}</STYLE>"
>

I have no idea what you mean by, putting it in client/script.. so.. can u do it?

By "in client/script," I meant put it in client/script! Heh:
client
script = {"<STYLE>BODY{background:black;color: white}</STYLE>
macro
F1 return "F1"
F2 return "F2"
F3 return "F3"
F4 return "F4"
Space return "Ctrl"
"}

I think that should do it. =) Though I don't know if you can return "Ctrl" and such. I think it's limited to verbs, but I could be wrong(Ctrl could be a verb, I guess).

Hiead
In response to Hiead
yea Ctrl is a verb >_> the space bar macro was Ctrl before so the verb was called ctrl