So I am trying to set up a system that automatically adds members that are on my forum that are registered with their SteamID to the ulx group “member”. I have it save their steamid in a table in a database, but Im not sure what to do next. The server can read the table, but how do I get it to execute a command for each individual value? I use mybb and a custom field, which is fid4, and it gets stored in mbb_userfields.
Install MySQLOO on the server, and recieve the SteamID from the MySQL table, and make a Hook on PlayerInitialSpawn, check for their usergroup if its “user”, and if so, set them to member, simple.