This shows you the differences between two versions of the page.
lua:ch:qadvance [2014/12/27 07:58] vodur created |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Increase quest-state. | ||
- | |||
- | Syntax1: \\ | ||
- | qadvance(argument[string]) \\ | ||
- | Where argument has the format: '[victim] [id] [increment{optional}' \\ | ||
- | Accepts [[:lua:formatargs|format arguments]]. | ||
- | |||
- | Syntax 2: \\ | ||
- | qadvance( victim[CH], id[string/number] {, increment[number]}) | ||
- | |||
- | Notes: \\ | ||
- | Id can be a numerical vnum or relative vnum. | ||
- | |||
- | Examples: \\ | ||
- | mob:qadvance("%s 31404", ch.name) \\ | ||
- | mob:qadvance("%s 31404 3", ch.name) | ||
- | |||
- | mob:qadvance(ch, 31404) \\ | ||
- | mob:qadvance(ch, 31404, 3) | ||