HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: /register- Error: comands must start with a / slash  (Read 947 times)

Hiro_Protagonist

  • World Owners
  • ****
  • Posts: 30
    • View Profile
/register- Error: comands must start with a / slash
« on: Feb 03, 14, 11:37:16 PM »

I'm running into a problem while trying to create a command script. I'm trying to /register ADD a new command:

/register ADD MyTest script="MyTestClassMethods"

and I get this error back: Error: Commands must start with a / slash.

/register by itself returns the help, /register LIST and /register CHECK both seem to work correctly. Only significant modifications should be a few tutorials and the Adapting Clean Engine stuff.

Any ideas what I'm doing wrong? Thanks!
Logged

WorldWideZ

  • World Owners
  • ****
  • Posts: 524
    • View Profile
    • World Wide Zed
Re: /register- Error: comands must start with a / slash
« Reply #1 on: Feb 04, 14, 12:41:30 AM »

i think you need a / before "MyTest"

Logged

Hiro_Protagonist

  • World Owners
  • ****
  • Posts: 30
    • View Profile
Re: /register- Error: comands must start with a / slash
« Reply #2 on: Feb 04, 14, 09:43:00 PM »

Gah, that's it! Thank you! I tried all sorts of variants but I didn't think to go /MyTest. Thanks so much!
Logged