lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>Maybe a stupid question - how do you implement the functionality of 
>the old "getglobal" tag in the work 3 version? That is, I want to 
>fire my method when a script tries to access a global variable that 
>doesn't exist, but *not* fire when a script accesses a global that 
>does exist. I tried catching the "gettable" method on the globals 

Try the "index" event instead.
--lhf