ID:146117
 
Code:
macro
.center return peck()


Problem description:
Can someone please make this work ><
It keeps saying:
script.dm:2:error:peck:instruction not allowed here
script.dm:2:error:return :instruction not allowed here
client/Center()
dostuff

:/
Yet again, too lazy for DM tags.
In response to Ol' Yeller
K lemme try that
In response to Ol' Yeller
Or you can place that code into a DMS file.
In response to CaptFalcon33035
With the new BYOND, there ARE no dms files.
In response to Lunaofthemoon
Lunaofthemoon wrote:
K lemme try that

Ah! Thanks!!
In response to Lunaofthemoon
Yes there are, it's just not available on the list. Put in the file name when it asks you to name your file "[filename].dms" Of coarse, you can also learn how to put macros is client/script.
In response to CaptFalcon33035
I got it working anywyas thanks.