![]() tostring(data))Įnd) For more examples visit bot github repository.Īn example, why this bot will be much more powerful than others is data synchronization between players. If thing:isEffect() and math.random(1, 2) = 1 thenĪddButton("button1", "Click me", function() If thing:isItem() and thing:getId() = 2129 then Singlehotkey('-', "Zoom out map", function () zoomOut() end) Singlehotkey('=', "Zoom in map", function () zoomIn() end) ![]() Singlehotkey('x', 'single hotkey', function() g_game.talk('single hotkey') end) Hotkey('y', 'test hotkey', function() g_game.talk('hotkey elo') end) G_game.talk("bot is hiding 50% of effects as example, say exevo gran mas vis")ĭelay(1000) - not calling this macro for next 1s Macro(5000, "macro send link", "f5", function() ![]() Listen(name, callback) - callback = function(text, channelId, pos)ĭelay(duration) - can be only used inside callback function, blocks execution of current macro/hotkey/callback for x milliseconds For more functions tools and shortcuts please visit bot github repo, don't want to make this post too long. OnRemoveThing(callback) - callback = function(tile, thing) ![]() OnAddThing(callback) - callback = function(tile, thing) OnTalk(callback) - callback = function(name, level, mode, text, channelId, pos) OnKeyUp(callback) - callback = function(keys) OnKeyPress(callback) - callback = function(keys) OnKeyDown(callback) - callback = function(keys) Singlehotkey(keys, callback) - works like hotkey, but will be executed only once after key press Macro(timeout, name, hotkey, callback) - hotkey is used to turn on/off macro If you want to contribure, add more functions, some scripts or even UI join otclientv8 discord channel and contact with me - Join the OTClientV8 Discord Server! (). ![]() I don't plan to create an advanced UI for this bot, you can do it yourself by using setupUI function and then share it =) It gives you access to all otclient lua functions and has a lot of functions and tools to make development easier. This bot allows you to create whatever you want with lua and otclient otml language. It should be possible to port this bot to classic otclient, but I don't have time for that. OTClientV8 bot is included in OTClientV8 project, but has separate github repository with documentation and examples. Personally, I don't like bots, but many players and server owners asked me for it, so there it is. I'm creating the most powerful bot tibia community has even seen. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |