All pastes #579652 Raw Edit

Something

public lua v1 · immutable
·published 2007-06-20 19:41 UTC
rendered paste body
function at_end()	loaded,rgd = pcall(loadRgd, "attrib\\attrib\\bag\\ability_bag.rgd")	if loaded and rgd then		-- rgd was loaded		for k in rgd.GameData do print(k) end	else		if rgd then			-- rgd is the error message			print("Error: Cannot load RGD\n" .. rgd)		else			-- permission denied to load rgds			print("Error: Not permitted to load RGD")		end	endend