I need a small change for AuthMe Reloaded. I assume that the function at line 195, handles /register command. It currently INSERTS INTO users SET username='$username', password='$password'. What I want it to do, is aswell as inserting into users, INSERT INTO users_stats SET username='$username', member_id='fromUsers' with fromUsers, I mean that is should get the users member_id from "users" table (the query that just run), and insert into into users_stats along with username. Example: INSERT INTO users SET username='Zeroi9' password='sha1(password)' then, SELECT last_insert_id() as member_idFromUsers INSERT INTO users_stats SET username='Zeroi9', member_id=member_idFromUsers PM me or add me at Skype, Zeroi9.