almost fully rewritten, added ignite credits to Lua@Leaguebot