[VXACE] All script calls erroring out

Hi All,

Odd problem and I feel like I am missing something simple.

I have a fresh install of RPGmaker, no plugins, and a fresh game.

My only event is an "on-action" to call a script to open a webpage, but it seems like no matter what I put in, the game crashes out in testing.

Using:
window.open('https://github.com/nwjs/nw.js', '_blank');

Gives me:
Error Code.png


And nw.Shell.openExternal("example.com");

Gives me:
Error 2.png


I've gotten this to work painlessly before, so what incredibly basic thing am I missing here, lol.

Thank you!
Wow... It clearly has been too long. I meant to be working in MV and installed VX ACE from my Steam library.

Can someone delete this thread, or just leave it up as a testament to not paying attention, lol.
They're for MV. You're using VX Ace. Try this:

Ruby:
se = Win32API.new('shell32', 'ShellExecuteA', 'PPPPPI', 'I')
r = se.call(nil, 'open', 'https://rpgmakerweb.com', nil, nil, 1)
r > 32 or msgbox "Failed to open the website (error code: #{r})"

Original thread: https://forums.rpgmakerweb.com/threads/vxace-all-script-calls-erroring-out.122647/