ID:179395
 
I am wondering if it is possible to call a proc by a macro
this is what i got
its not much
macro
a return " Dont know what should go here."

SO if someone could help me i would apreeciate it alot
Thanx
Greg wrote:
I am wondering if it is possible to call a proc by a macro
this is what i got
its not much
macro
a return Proc()

client/proc/Proc()
src<<"Proc called"

This is untested.



In response to Nadrew
Nadrew wrote:
Greg wrote:
I am wondering if it is possible to call a proc by a macro
this is what i got
its not much
macro
a return Proc()

client/proc/Proc()
src<<"Proc called"

This is untested.

And it won't work either! ;-)

It must always be the name of a verb enclosed in quotes.

macro
a return "attack"

You can do some fancy things, though.

macro
x return "attack Spuzzum"

Then the designer gives everyone the ability to attack me just by hitting Alt+X. =)
In response to Spuzzum
Whoops, forgot about those, I don't work with macros enough!