View Single Post
05-25-10, 08:31 AM   #6
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,930
Yes that will empty the table in its entirety. Your WTF file after typing /rlog delete will be

Code:
KRAHLog_raidmembers = {
}
if you want to only remove certain segments

EG:

Code:
KRAHLog_raidmembers = {
	["25.05.10 14:44:16"] = {
		"1 05/25/10 Death Knight Baalsabar", -- [1]
		"2 05/25/10 Paladin Taschy", -- [2]
		"3 05/25/10 Warrior Fateoflestat", -- [3]
		"4 05/25/10 Paladin Rögnvaldr", -- [4]
		"5 05/25/10 Druid Cielaroque", -- [5]
		"6 05/25/10 Rogue Maxîros", -- [6]
		"7 05/25/10 Hunter Fiatteen", -- [7]
		"8 05/25/10 Druid Muschka", -- [8]
		"9 05/25/10 Warlock Eawin", -- [9]
		"10 05/25/10 Shaman Kieras", -- [10]
		"11 05/25/10 Paladin Dale", -- [11]
		"12 05/25/10 Warrior Natias", -- [12]
	},
	["26.05.10 14:45:00"] = {
		"1 05/26/10 Death Knight Baalsabar", -- [1]
		"2 05/26/10 Paladin Taschy", -- [2]
		"3 05/26/10 Warrior Fateoflestat", -- [3]
		"4 05/26/10 Paladin Rögnvaldr", -- [4]
		"5 05/26/10 Druid Cielaroque", -- [5]
		"6 05/26/10 Rogue Maxîros", -- [6]
		"7 05/26/10 Hunter Fiatteen", -- [7]
		"8 05/26/10 Druid Muschka", -- [8]
		"9 05/26/10 Warlock Eawin", -- [9]
		"10 05/26/10 Shaman Kieras", -- [10]
		"11 05/26/10 Paladin Dale", -- [11]
		"12 05/26/10 Warrior Natias", -- [12]
	},
}
And you only wanted to delete segment ["25.05.10 14:44:16"] then you might want to look into how tremove works as the example I gave you will wipe it out totally.

Which reminds me .. the other way to wipe a table is to actually use the command wipe(tableName).
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote