registering commands

I'm trying to create a script that registers commands globally but it doesn't work
Was this page helpful?