This plugin has worked since at least Ren'py version 8.3.4, but may well be suitable for much older versions!
What problem are you running into, exactly? Does the game crash or does changing the settings simply not do anything?
I see! Typically, step 3 would not happen inside gui.rpy but rather screens.rpy, so maybe that is the problem? The key part of this plugin is to edit your say screen according to the instructions.
If possible, could you share the code for your say screen? Then I could also help with how exactly you'd need to edit it in order for the plugin to work!