Subj : Re: How to create options for modopt To : martylake From : Digital Man Date : Thu Dec 09 2021 11:55:22 Re: Re: How to create options for modopt By: martylake to Digital Man on Wed Dec 08 2021 09:28 pm > > Re: Re: How to create options for modopt > > By: martylake to Digital Man on Tue Dec 07 2021 11:40 pm > > > Did you try setting utf8_support = false in the modopts.ini file? It > > doesn't look like this logic would work to me. The "|| true" would make > > the UTF-8 support *always* enabled (when the terminal supports UTF-8). > > No I had not tried to set utf8_support in the modopt.ini . After trying, the > option is indeed ignored by " || true". > What I wanted to express is: "true unless the option exists and is set". See > diff below, this time I manually tested that it works for all 3 cases: > option section missing, option disabled and option enabled. > > Also the option should probably sit in "chat_sec" section, not "fseditor". > Reflected in bellow's diff. Actually, the appropriate module name would be "irc" (and thus the section in modopts.ini would be [irc]). :-) -- digital man (rob) Breaking Bad quote #11: My apologies to the HR department: Grow tumescent with anticipation. - Hank Norco, CA WX: 53.7øF, 92.0% humidity, 8 mph N wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .