ID:147758
 
this is what i have to start putting presetted macros in my game.
------------------------------------------------------------
macro //line 1
I return "Items" //line 2, etc..

mob/verb/Items()
set category = null
usr.PopupItem()
------------------------------------------------------------



this is the error i get.
------------------------------------------------------------
Macros.dm:2:error:return "Items":instruction not allowed here
------------------------------------------------------------
The macro/I needs to be in a .dms file.
In response to Goku72
no errors but it doesn't find it as a verb or proc ingame. i tried using this too

client
command_text = ".alt"

it still doesn't work. the client/command_text is in a .dm file and macros/blahblahblah is in a script file (.dms)
In response to ZDarkGoku
I think it has to be ".alt " (with the space at the end). Have you tried pressing Alt-I?
In response to Crispy
ya. i tried using ALT+i and pressing the ALT button than i, and typing i and than pressing RETURN

i get these

Unrecognized or inaccessible verb: i

or

[No macro is defined for "i". Toggle macro-mode to use the command prompt, or preface commands with "/".]

here's my current macro code

(Macros.dm)
client
command_text = ".alt "

mob/verb/items()
set hidden = 1
usr.PopupItem()


(Macros.dms)
macro
i return "items"
In response to ZDarkGoku
Try this......
(Macros.dm)
client
command_text = ".alt "
script='macros.dms'



mob/verb/items()
set hidden = 1
usr.PopupItem()


(Macros.dms)
macro
i return "items"

That should fix it right up....(not compiled)
Put that macro code in a script file.