I wanted a lightweight logout plugin, so I threw this together. In the settings, you set up with item you want the plugin to use before logout (default is your hearthstone) and then the number of seconds you want the bot to run before using this item and logging out. Thanks to speshulk926, AknA, MaIN, Apoc, chinajade and mh66 for great and helpful posts in the community dev forum that I read and used while I was writing this plugin. I hope it can be useful to others, use it and abuse it as you see fit.
Thanks dude! Community has been asking for this for a while. Also, I think it's "mh66" not "mk66" in your credits
Story of my life, take care and thank you. I tweak with plugins and having this code available helps a lot!