I will say that it looks like chatGPT has gotten worse at urscript. i experimented with writing urscript with gpt many months ago, and it did give me run-able script with more accuracy than this.
github copilot + Ahern’s urscript extension for vscode is WAY better at this.