ID:170230
 
I want to include this

<style> BODY {font: Courier; background: black; color: silver}</style>


without losing my client macros... (with my movement setup I also lose the ability to press directional arrows to move)

I know that this

// .dm file
client
script = "<style> BODY {font: Courier; background: black; color: silver}</style>"


writes over the default scripting so I need to place it into a .dms file but I think im doing it wrong.

Is this correct?

// .dms file
<style> BODY {font: Courier; background: black; color: silver}</style>


If not enlighten me. If it is... Im not getting the desired effect.
Looks fine to me. Do you have that in the same .dms file as your macros?

As an example, I'll post the contents of one of my working .dms files. =P

macro
Numpad1 return "num1"
Numpad2 return "num2"
Numpad3 return "num3"
Numpad4 return "num4"
Numpad6 return "num6"
Numpad7 return "num7"
Numpad8 return "num8"
Numpad9 return "num9"

<STYLE>BODY {background: black; color: white} IMG.icon{width:32;height:32}</STYLE>


p.s. Yes, I noticed the caps, but it worked like this so I didn't want to mess with it. =P
In response to YMIHere
hrmm,
I figured it out. If I want to use a script.dms I can't use telnet.dms. Which means I can't have telnet players :S.
In response to Vermolius
Vermolius wrote:
hrmm,
I figured it out. If I want to use a script.dms I can't use telnet.dms. Which means I can't have telnet players :S.

What do you mean? The telnet.dms file that BYOND comes with is for using DreamSeeker as a telnet client. It has nothing to do with telnet clients connecting to a BYOND server.
In response to Vermolius
You can't merge them both into one .dms file? O.o
In response to Jon88
Oh, I figured it was his own .dms file. =P