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
------------------------------------------------------------
ID:147758
![]() Dec 20 2003, 1:12 pm
|
|
![]() Dec 20 2003, 1:15 pm
|
|
The macro/I needs to be in a .dms file.
|
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) |
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" |