User's Guide

Tarvos User Guide - Version 0.3 88
tag.db.get()
Permission
admin
Min parameters
0
Max parameters
4
Get the tags in the database and display them in the cmd channel using
tag.reporting.taglist_fields.
Param 1: 'tag_id' ==> (String) Tag ID to be displayed from the database
if it exists.
Param 2: 'audit_record' ==> (Integer) Audit record of tag to be displayed
from the database.
Param 3: 'acknowledged' ==> (Bool) Only get tags from the database that have
the acknolwedged
flag set 'true' or 'false'
Param 4: 'max' ==> (Integer) Maximum number of tags to retrieve from
the database
(defaults to 100 if not specified).
Example:
tag.db.get(max=1)
ok
tag.db.set_acknowledged()
Permission
admin
Min parameters
2
Max parameters
3
Set the acknowledgment status of a tag in the database.
Param 1: 'acknowledged' ==> (Bool) true or false
Param 2: 'audit_record' ==> (Integer)
Param 3: 'dup_ack_number' ==> (Integer) 0 or 1
If param 3 is not provided, a 0 is defaulted and used.
Param 3 is used in conjunction with tag.db.require_duplicate_acks.
Example:
tag.db.set_acknowledge(true, 1)
ok
tag.db.purge()
Permission
admin
Min parameters
0
Max parameters
0
Purge the tag database (all tags stored in nonvolatile and volatile memory)
Example:
tag.db.purge()
ok