Mudlet Databases

So I switched over to Wundersys and I'm trying to make a nameDB that isn't dependent on svo. I can't get anything to actually save to the db file (I'm browsing the file with DB Browser for SQLite). Here's the relevant code

mynamedb = {}

mynamedb.names = db:create("mynamedb", { names = { name = "", age = "", city = "", race = "", dragon = "", house = "", order = "", cityenemy = false, houseenemy = false, orderenemy = false,
_unique = {"name"}, } })
mynamedb.temphonors = { name = "", age = "", city = "", race = "", dragon = "", house = "", order = "", xprank = "", cityenemy = false, houseenemy = false, orderenemy = false,}

And then at the end of a series of triggers to capture HONORS information,
db:merge_unique(mynamedb.names.names, mynamedb.temphonors)


Thank you for your time.
image

Comments

Sign In or Register to comment.