This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Current User
#1
Is it possible in a script to know the current user logged  in the LM?

Thanks
Reply
#2
This will log username and IP of the user that triggered an event script:
Code:
meta = event.meta
if meta then
  items = meta:split(':')
  user, ip = unpack(items)
  
  log(user, ip)
end
Reply


Forum Jump: