Lv.1
编程考级已过4级
签名:emmmm
在 《每日亿点点教程》 中回复
world.onChat(({entity,message})=>{ if(entity.player.name=='一名黑客'){//这里写自己的名字 if(message.startsWith('$')){ try{ world.say('<~'+eval(message.split('$')[1])) }catch(err){ world.say('Error:'+err) } } } }) 2022-07-12T07:07:13 点赞:0