pack lua event