very basic history implemented

This commit is contained in:
Manuel Simon Hirsig
2016-01-16 19:00:59 +01:00
parent 10349381ad
commit c04ddfdd11
6 changed files with 33 additions and 20 deletions
+12
View File
@@ -0,0 +1,12 @@
SLASH_AUX1 = '/aux'
function SlashCmdList.AUX(parameter)
if parameter == 'scan' then
Aux.history_frame.start_scan()
elseif parameter == 'clear snapshot' then
Aux.persistence.load_dataset().snapshot = {}
Aux.log('Snapshot cleared.')
elseif parameter == 'clear database' then
aux_database = {}
Aux.log('Database cleared.')
end
end