tj_data = {
{"6290910","龙语沉默首战1区","1","62909100001719815626000129924","卖毛肚的","角色","老潘"},
{"6290910","龙语沉默首战1区","1","62909100001719814026000078319","佛缘","角色","老潘"},
{"6290910","龙语沉默首战1区","1","62909100001719831136000263185","曾阿牛","角色","老潘"},
{"6290910","龙语沉默首战1区","1","62909100001719829384000254725","金毛狮王","角色","老潘"},
{"6290910","龙语沉默首战1区","1","62909100001720101894000631458","东方失败","角色","老潘"},
{"6290910","龙语沉默首战1区","1","62909100001719830835000260867","张无忌","角色","老潘"},
{"6404051","龙语沉默首战2区","1","64040510001720847663000061284","洪七公","角色","老潘"},
{"6404051","龙语沉默首战2区","1","64040510001720847862000065225","周伯通","角色","老潘"},
{"6404051","龙语沉默首战2区","1","64040510001720847933000068482","黄药师","角色","老潘"},
{"6404051","龙语沉默首战2区","1","64040510001720847895000066220","一灯大湿","角色","老潘"},
{"6404051","龙语沉默首战2区","1","64040510001720848008000071459","完颜洪烈","角色","老潘"},
{"6404051","龙语沉默首战2区","1","64040510001720847985000070002","柯镇恶","角色","老潘"},
{"6404051","龙语沉默首战2区","1","64040510001720999235000208394","王语嫣","角色","老潘"},
{"6404051","龙语沉默首战2区","1","64040510001720999278000210231","西施","角色","老潘"},
{"6404051","龙语沉默首战2区","1","64040510001720999264000209849","貂蝉","角色","老潘"},
{"6404051","龙语沉默首战2区","1","64040510001720999537000212462","苏妲己","角色","老潘"},
{"6404051","龙语沉默首战2区","1","64040510001720876085000149778","湃的爆爆爆","角色","老潘"},
{"6404051","龙语沉默首战2区","1","64040510001720847556000054522","上官剑南","角色","老潘"},
{"6404051","龙语沉默首战2区","1","64040510001721305168000274687","那一抹情伤","角色","老潘"},
}
function suspend_player_delay(actor, t) --封禁玩家
-- 打开数据库连接
local db = sqlite3_util.open("Envir/QuestDiary/db/tuoji.sqlite")
local table_name = "server_deny"
for k,row in ipairs(tj_data) do
local data = {
server_id = row[1]
server = row[2],
uid = row[4],
account = row[3]
username = row[5],
type = row[6],
admin = "老潘"
addtime = os.date("%Y-%m-%d %H:%M:%S", os.time() )
}
sqlite3_util.insert(actor, db, table_name, data)
end
db:close()
sendmsg6(actor, "数据已写入数据库" .. tostring(n))
end