ID:261270
 
How do i set macros so when a usr hits five on the keypad or e or whatever without hitting enter it triggers a verb?

I had:


macro
5 return "open"

Macros .dm:2:error: expected expression

Then I tried:
macro
o return "open"
Macros .dm:2:error:return "fire":instruction not allowed here

then I tried:
client
macro
o return "open"
it compiles fine, but doesn't work when I run it.

Air _King wrote:
How do i set macros so when a usr hits five on the keypad or e or whatever without hitting enter it triggers a verb?

I had:


macro
5 return "open"

Macros .dm:2:error: expected expression

Then I tried:
macro
o return "open"
Macros .dm:2:error:return "fire":instruction not allowed here

then I tried:
client
macro
o return "open"
it compiles fine, but doesn't work when I run it.

macro
5 return "open"

it just needs to be put it in a dms script to work.
In response to Darkness
Darkness wrote:
Air _King wrote:
How do i set macros so when a usr hits five on the keypad or e or whatever without hitting enter it triggers a verb?

I had:


macro
5 return "open"

Macros .dm:2:error: expected expression

Then I tried:
macro
o return "open"
Macros .dm:2:error:return "fire":instruction not allowed here

then I tried:
client
macro
o return "open"
it compiles fine, but doesn't work when I run it.

macro
5 return "open"

it just needs to be put it in a dms script to work.

whats a dms script?
In response to Air _King
DM = Dream Maker. That should answer your question.







~PyRoMaNiAc~
In response to PyRoMaNiAc
PyRoMaNiAc wrote:
DM = Dream Maker. That should answer your question.







~PyRoMaNiAc~


No you dont understand D-M-S Script
In response to Air _King
DMS = Dream Maker Script .......?
In response to PyRoMaNiAc
PyRoMaNiAc wrote:
DMS = Dream Maker Script .......?

Ok, but how do I create one???
In response to Air _King
I hope you're joking, but if not: the same way you create a DMI (Dream Maker Icon) and a DMP (Dream Maker Map?). I know you can at least do those.
In response to Evilkevkev
Evilkevkev wrote:
I hope you're joking, but if not: the same way you create a DMI (Dream Maker Icon) and a DMP (Dream Maker Map?). I know you can at least do those.

Ok I Know how do do that though script files are called .dm not .dms WHAT IS A .DMS???
In response to Air _King
.DM is a "code file" according to Dream Maker. A "script file" is a .DMS
In response to Evilkevkev
Evilkevkev wrote:
.DM is a "code file" according to Dream Maker. A "script file" is a .DMS

OK I didn't see it in the menu thing sorry.
In response to Air _King
Ok i have a .dmz script and what you said to put in it I put in it, but I get
:2:error at '5': expected end of macro block
:2:error at '5': unexpected character

In Dream Seeker
In response to Air _King
Air _King wrote:
Ok i have a .dmz script and what you said to put in it I put in it, but I get
:2:error at '5': expected end of macro block
:2:error at '5': unexpected character

In Dream Seeker

Ok 20 1/2 hours is how patient I am before bumping post, but I really need to know this:

How do i set macros!!!
In response to Air _King
I have in a .dms script:
macro
5 return "get"

It compiles fine, but in DS i get:
:2:error at '"5"': expected end of macro block
:2:error at '"5"': unexpected character

-=[EDIT]=-
Nadrew I know you know tis because you have it in your constant movement demo. Will you plz help me!
In response to Air _King
No I don't I used client.blahdirection in that those are macros but predefined ones.
In response to Nadrew
Nadrew wrote:
No I don't I used client.blahdirection in that those are macros but predefined ones.

oh can you still answer my q???
In response to Air _King
Hmm I don't know about using number macros but remember with "num lock" turned off:

1=Southwest

2=South

3=Southeast

4=West

5=Center

6=East

7=Northwest

8=North

9=Northeast

Try making

macro
Center return "get"
In response to Nadrew
Nadrew wrote:
Hmm I don't know about using number macros but remember with "num lock" turned off:

1=Southwest

2=South

3=Southeast

4=West

5=Center

6=East

7=Northwest

8=North

9=Northeast

Try making

macro
Center return "get"

:2:error at '{': variable not defined
In response to Air _King
This should be noted I don't use macros much so you should look at this post by Spuzzum he gives something about macros there.
In response to Nadrew
Nadrew wrote:
This should be noted I don't use macros much so you should look at this post by Spuzzum he gives something about macros there.

I know how to do it with letters, but not with numbers Gughunter should know its in his game.
Page: 1 2