I do know some stuff, I know TI-BASIC, bash scripting from Linux, and some HTML. Also, that's about right, thanks. Though, as it's visible to all users, it would sound better to not address the player. I can just edit the message in there, bu i would like to have the dynamic Nick field first. I guess I cam just do something like
if row then
ULib.tsay( ply, "" .. ply:Nick() .. " has spawned, last joined " .. os.date( "%c", row.lastvisit ) )
sql.Query( "UPDATE utime SET lastvisit = " .. os.time() .. " WHERE player = " .. uid .. ";" )
time = row.totaltime
else
ULib.tsay( ply, "" .. ply:Nick() .. " has spawned for the first time." )
sql.Query( "INSERT into utime ( player, totaltime, lastvisit ) VALUES ( " .. uid .. ", 0, " .. os.time() .. " );" )
But this seems kind of hacky.
Also, off-topic, but to you know the name of the nametag addon where you can make a sub-text below your name?I saw it running in quite a few servers, and I want it on mine, but I don't know the name.