Support lua variable in Reg[Get,Set][String,Int]Value and TriggerEvent.