Is there a difference between the two globals? / Are both required (Are they both created by you)?
This is what is wrong with the modern community, it's a free-for-all or some 'old timers' don't want to make room for fresh blood! That's how a community dies eventually. Had my fair share over the years on other forums but I ran into one when I started with Kotor modding unfortunately, although I couldn't care less & I just do my own thing 😅.
I'm assuming the .dlg file & .ncs files are the ones you copied to override right (You don't need to .nss)? You will need to reload the game after doing that so the game loads the new files in your override folder, then find the npc/object that starts that dialogue & it should execute the script.
As DP said, it would be worth also adding some sort of debugging to see if the script is actually being executed.
I'm not familiar with Jade Empire, it's not something I've ever played before so can't help on that front!