There are a number of context variables maintained by Match-IT that can be useful in scripts, for example the currently logged-in user. There are mnemonics for most of these that you can use in Lua. The variables available are all defined in the reference section. They can be accessed for reading (only) as m.GlobalName, where GlobalName is the name as you see it in the help system.