forever-hate / mchatebot_emerald Goto Github PK
View Code? Open in Web Editor NEW專門為廢土伺服器所製作的存綠寶石Bot
License: Other
專門為廢土伺服器所製作的存綠寶石Bot
License: Other
case "anncloop": //自動循環
clearInterval(anncinterval);
var i=0;
bot.chat(`${settings.trade_content[i]}`)
anncinterval = setInterval(()=>{
i+=1;
if(i==settings.trade_content.length){
i=0;
}
if(settings.trade_content[i].startsWith("/")){
bot.chat(`'${settings.trade_content[i]}`)
} else {
bot.chat(`${settings.trade_content[i]}`)
}
},cooldown(settings.trade_content[i].slice(0,1)));
break;
展示角色統計資料(方塊, 個人, 物品, 生物), 展示狀態(經驗值),
書包gui(?_?)(因為我總是不知道bot包包裝了什麼)
You can just add yourself into a family.
I have the problem above for two days,
and the author Forever_Hate just come up to resolve the issue.
If you are in the same situation as me, you can contact the author on discord!
case "annc": //announcement
if(!settings.enable_trade_announcement){
bot.chat(`settings.enable_trade_announcement is false now`)
anncselect = msg.slice(10 + playerid[0].length).slice(5)
anncselect = parseInt(anncselect)
if(!isNaN(anncselect)&&settings.trade_content[anncselect-1]!=undefined){
bot.chat(`/m ${playerid[0]} 選定宣傳內容[${anncselect}]並發布`)
bot.chat(`${settings.trade_content[anncselect-1]}`)}
setInterval(function (){
bot.chat(`${settings.trade_content[anncselect-1]}`)
},1605)
} else {
bot.chat(`/m ${playerid[0]} 指令: annc <第幾個內容>`)
}
break;
我一打開McHateBot.exe 黑窗過了兩秒後就閃退了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.