|
发表于 2008-12-6 17:54:29
|
显示全部楼层
来自 中国–四川–遂宁
回复: 怎么实现:老友记 - 中文ID 的改名
[PHP]if (equal(newname, "[NO-sXe-I]", 10))
{
replace(oldname, 31, "[NO-sXe-I] ", "")
formatex(newname, 31, "[NO-sXe-I] %s", oldname)
ig_setname(id, newname)
}
else
ig_setname(id, oldname)
return PLUGIN_CONTINUE
}
g_SetAllow[id] = 0
ig_setname(id, g_SetName[id])
return PLUGIN_CONTINUE
}
[/PHP] |
|