User Tools

Site Tools


lua:ch:reward

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
lua:ch:reward [2016/02/08 07:37] vodurlua:ch:reward [2017/02/20 07:47] (current) vodur
Line 3: Line 3:
 ==== Syntax1: ==== ==== Syntax1: ====
  
-**reward(argument[string])** \\+**CH:reward(argument<string>)** \\
 Where argument has the format: '[victim] [exp|qp|gold|faith] [amount]'\\ Where argument has the format: '[victim] [exp|qp|gold|faith] [amount]'\\
 Accepts [[:lua:formatargs|format arguments]]. Accepts [[:lua:formatargs|format arguments]].
Line 15: Line 15:
 ==== Syntax 2 (preferred): ==== ==== Syntax 2 (preferred): ====
  
-**reward( victim[CH], type[string], amount[number])** \\+**CH:reward( victim<CH>, type<string>, amount<number)** \\
 Does not accept format arguments. Does not accept format arguments.
  
Line 23: Line 23:
 mob:reward(ch, "exp", 300) mob:reward(ch, "exp", 300)
 </code> </code>
 +
  
lua/ch/reward.1454917049.txt.gz · Last modified: 2016/02/08 07:37 by vodur