I think I may have found it. There is a function called that awarn_getwarnings that takes a player and returns a number. I'll see if I can use that. I'm a little new to advanced Lua, will I be able to use that function outside of the awarn files? I'm going to try incorporating it into a custom ULX command that I'm writing. Also, are you still working on making the MySQL usable? Because that would be very nice to have.