linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #06093
Re: [Question #209492]: Changes for shipped LUA scripts in local files?
Question #209492 on ADCH++ changed:
https://answers.launchpad.net/adchpp/+question/209492
Status: Open => Answered
poy proposed the following answer:
depends on the type of changes that you want.
best case, you can create your own script and handle events like signalReceive before / after standard scripts. before if the custom script has non-evasive additions of its own, or if it wants to block some events from ever reaching other scripts. after if the custom script would prefer to simply add its data in addition to that of default scripts.
the same applies if the script wants to customize the handling of events simplified by access.lua (events received thanks to access.register_handler).
if however modifying current scripts can't be avoided, it would be
better if you kept a patch rather than a completely modified version of
the standard script, so that the patch can be applied whenever a new
version comes around.
what changes do you need? perhaps we can accomodate current scripts to
avoid the custom script altogether. :)
--
You received this question notification because you are a member of
Dcplusplus-team, which is an answer contact for ADCH++.