用户:
ijsfgkjbfjkniojds查看: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喵密令!`) } })