CryptoBot 0 Posted November 7, 2019 Report Share Posted November 7, 2019 Hello fellow botters, Is it possible to call a Ubot defined command/function from a UI HTML Panel's script block? Thanks! Quote Link to post Share on other sites
HelloInsomnia 1103 Posted November 7, 2019 Report Share Posted November 7, 2019 Yes, here is a common way using a button: ui html panel("<button onClick=\"ubot.runScript(\'SayHello\');\">Say Hello</button>",200) define SayHello { alert("hello") } Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.