Brok3nmind
Member
My Problem was i did'nt know how to set timeouts.
I fixed it myself and I hope you can do something with it.
Code:
Or link: https://pastebin.com/h51cxV4c
I fixed it myself and I hope you can do something with it.
Code:
JavaScript:
function (sinusbot, config) {
var event = require('event');
var engine = require('engine');
event.on('clientMove', function (ev) {
if (ev.fromChannel == undefined) {
setTimeout(function () {
ev.client.chat("Your Text");
}, 1000);
}
});
});
Last edited: