INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Trouble with Core Commands  (Read 965 times)

phillil

  • Junior Woodchuck
  • **
  • Posts: 62
Trouble with Core Commands
« on: June 11, 2013, 02:17:07 pm »

Hi there,

I'm having trouble getting the MCC's to work.

MC18.exe /play works OK, but if I try MC18.exe /MCC 10000, 0 nothing happens??

Any help, ideas would be greatly appreciated

Thanks
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72536
  • Where did I put my teeth?
Re: Trouble with Core Commands
« Reply #1 on: June 11, 2013, 02:23:58 pm »

Try adding quotes around the command parameters.
Logged

Samson

  • Galactic Citizen
  • ****
  • Posts: 391
Re: Trouble with Core Commands
« Reply #2 on: June 12, 2013, 07:02:50 am »

Unlike expression language, with MCC's the spaces seem to be important, for example I found there was a difference between mcc 30002,9 and mcc 30002, 9 (the space before 9     ,9 or , 9).This may not apply in your implementation but was my experience.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Trouble with Core Commands
« Reply #3 on: June 19, 2013, 10:26:05 pm »

FYI: MC doesn't care about the spaces.  It is the Windows command shell that breaks apart "words" into separate arguments, so this is why you must quote whitespace.  These are identical to MC, as each command is 1 command with 2 arguments:

    MC18.exe /mcc 10017,1
    MC18.exe /mcc "10017,1"
    MC18.exe /mcc "10017,                 1"
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up