working on new history code

This commit is contained in:
Manuel Simon Hirsig
2016-02-07 23:49:54 +01:00
parent 4d1a61961d
commit 8a0ee6ff38
11 changed files with 205 additions and 240 deletions
+1 -4
View File
@@ -1,9 +1,6 @@
SLASH_AUX1 = '/aux'
function SlashCmdList.AUX(parameter)
if parameter == 'clear snapshot' then
Aux.persistence.load_dataset().snapshot = {}
Aux.log('Snapshot cleared.')
elseif parameter == 'clear history' then
if parameter == 'clear history' then
Aux.persistence.load_dataset().history = {}
Aux.log('History cleared.')
elseif parameter == 'clear' then