User Tools

Site Tools


lua:ch:qset

Differences

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

Link to this comparison view

lua:ch:qset [2014/12/27 07:59]
vodur created
— (current)
Line 1: Line 1:
-Set quest-state for player 
- 
-Syntax1: \\ 
-qset(argument[string]) \\ 
-Where argument has the format: '​[victim] [id] [value] [timer{optional}] [limit{optional}]'​ \\ 
-Accepts [[:​lua:​formatargs|format arguments]]. 
- 
-Syntax 2: \\ 
-qset( target[CH], id[string/​number],​ value[number] {, timer[number} {,​limit{number}) 
- 
-Notes: id can be a vnum format or relative vnum format (e.g r123). 
- 
-Examples: \\ 
-mob:​qset("​%s 31404 3 0", ch.name) 
- 
-mob:​qset(ch,​ 31404, 3) 
  
lua/ch/qset.1419667153.txt.gz ยท Last modified: 2014/12/27 07:59 by vodur