User:Demonnic

From Mudlet
Revision as of 07:47, 12 June 2011 by Demonnic (talk | contribs)
Jump to navigation Jump to search

=Proposed template for lua functions


functionName

functionName(arg1, arg1)
What the function does.
See also: paste


Parameters
  • arg1:
What arg1 is/does. Passed as a string.
  • arg2:
What arg2 is/does. Passed as a string.


Usage

<lua> --a small example snippet of the function in action --the comments up top should introduce it/explain what the snippet does functionName("arg1", "arg2") </lua>