如题。 用getUserConf(msg.fromQQ, “nick”, val_default)只能获取到全局昵称和QQ名。于是总有那么些没加好友没设全局称呼,QQ名字又很怪的朋友…… 更新说明(2.6.2)里是有提到getGroupConf可以获取群名片,但我不知道该怎么用(捂脸)
试试getGroupConf(msg.fromGroup,"card#"..msg.fromQQ,"")和getUserConf(msg.fromQQ,"nick#"..msg.fromGroup,"")
getGroupConf(msg.fromGroup,"card#"..msg.fromQQ,"")
getUserConf(msg.fromQQ,"nick#"..msg.fromGroup,"")
Lily Black ! 非常感谢!