ID:262483
 
Code:
client
command_text = ".alt "
script
macro
k return "test"
verb
Test()
usr << "You tested"


Problem description:
I'm new to these script macros so i don't have the slightest clue what i did wrong, but when i use this it tells me no macro is defined for k, is there any reason for this?

client
command_text = ".alt "

verb
Test()
usr << "You tested"


macro // there waan't any need for the client, but you have to put this part in a script file (a dms file), else you'll get an error.
k return "test"


O-matic
In response to O-matic (#1)
3.5 won't let you make a script file =\
In response to Zero's Baby (#2)
client
command_text = ".alt "
script={"
macro
k return "test"
"}

verb
Test()
mob << "You tested"