All pastes #84237 Raw Edit

hyperactiveChipmunk

public lua v1 · immutable
·published 2006-07-10 19:12 UTC
rendered paste body
	if not AceEvent and AceLibrary:HasInstance("AceEvent-2.0") then		external(AceConsole, "AceEvent-2.0", AceLibrary("AceEvent-2.0"))	end	if AceEvent then		if not AceConsole.nextAddon then			AceConsole.nextAddon = {}		end		AceConsole.nextAddon[self] = options		if not self.playerLogin then			AceConsole:RegisterEvent("PLAYER_LOGIN", "PLAYER_LOGIN", true)		end	end		if not AceHook and AceLibrary:HasInstance("AceHook-2.0") then		external(AceConsole, "AceHook-2.0", AceLibrary("AceHook-2.0"))	end	if AceHook then		AceConsole:Hook("ChatEdit_OnTabPressed")	end		AceConsole.registry[name] = options