lua:ch:reward
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| lua:ch:reward [2014/12/27 08:18] – created vodur | lua:ch:reward [2017/02/20 07:47] (current) – vodur | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Give exp or qp or gold reward. | + | Give exp, qp, gold, or faith reward. |
| - | Syntax1: | + | ==== Syntax1: |
| - | reward(argument[string]) \\ | + | |
| - | Where argument has the format: ' | + | **CH:reward(argument<string>)** \\ |
| + | Where argument has the format: ' | ||
| Accepts [[: | Accepts [[: | ||
| - | Syntax 2: \\ | + | Example: |
| - | reward( victim[CH], type[string], | + | |
| - | Does not accept format arguments. | + | |
| - | Examples: \\ | + | <code lua> |
| mob: | mob: | ||
| + | </ | ||
| + | ==== Syntax 2 (preferred): | ||
| + | |||
| + | **CH: | ||
| + | Does not accept format arguments. | ||
| + | |||
| + | Examples: | ||
| + | |||
| + | <code lua> | ||
| mob: | mob: | ||
| + | </ | ||
| + | |||
lua/ch/reward.1419668302.txt.gz · Last modified: 2014/12/27 08:18 by vodur