猫史档案馆


我的这段代码显示最后一个小括号异常,谁知道怎么回事?

用户:ijsfgkjbfjkniojdsijsfgkjbfjkniojds查看:0 回复:1 评论:0 创建时间:2022-04-12T09:31:10


world.onChat(async({entity,message})=>{ if(message.includes('喵'))[ world.say(`玩家:${entity.player.name}因为触犯《中华喵宪法》第三十八条,被禁言5分钟!`), entity.player.muted=true, awaitsleep(1000*300), entity.player.muted=false, world.say(`玩家:${entity.player.name}已被解除禁言`), ] if(message=='喵密令'){ if(world.EMWO.includes(entity.player.name)){ dialog=entity.player.dialog({ type:Box3DialogType.TEXT, title:'喵密令', content:`无`, }) } else{ world.say(`玩家:${entity.player.name}因为不是EMWO成员,因此不得获得EMWO喵密令!`) } })


回复

上一页1 页 / 共 1下一页
酒韵卿酒韵卿

最后一个小括号是中文的吗?

点赞0


评论