Aug-29-2022, 02:24 PM
Any help please,
How can i write the channels found in the next string:
i can retrieve the setted channels with:
How can i write the channels found in the next string:
plugins.var.python.limiter.limiter_chans.ircnet #python,#forumto a file (maybe using pandas or csv) and can read the data (the limit for the specific channel) back?
i can retrieve the setted channels with:
channels = config_get_plugin('limiter_chans.{}'.format(network))The goal is that i don't have edit that file manually, so the only setting i change in the program is with:
/set plugins.var.python.limiter.limiter_chans.ircnet #python,#forumIt should look something like this in the file i guess
channels_ = [[ '#python', 0 ], [ '#forum', 0 ]]Or:
channel | limit #python | 45 #forum | 64(the #channels and llimits (45 and 64 in this example) should be modified by the script)