Help - Search - Members - Calendar
Full Version: Formatting Script Not Working?
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official MediaXMenu (MXM) Forum > MXM ActionScripting Forum
Agent Orange
I'm trying to use a script for formatting cache drives, or F: drive, but they don't seem to be doing anything... maybe I'm overlooking something....

CODE

In MXM.xml:

<ActionScript name="FormatCache">
  ALLOWFORMAT <1>
  format X:
  format y:
  format z:
  delete e:\cache
  ALLOWFORMAT <0>
 </ActionScript>

 <ActionScript name="FormatF">
  Callscript _DisplayMessageBox "This will completely destroy all data on F: $eol$Press A to continue, or any other button to exit..."
  If %_GP_A% == "1" GOTO APRESSED
  Quit

  :APRESSED
  ALLOWFORMAT <1>
  format f:
  ALLOWFORMAT <0>  
 </ActionScript>


CODE

In MENU.xml:

<SubMenu>
 <Title>System Utilities</Title>
 <Description>Advanced Options</Description>
 <Item>
  <Title>Format Cache Drives</Title>
  <Description>Repairs System Cache</Description>
  <Action>
   CallScript FormatCache
  </Action>
 </Item>
 <Item>
  <Title>Format F: Drive</Title>
  <Description>Completely Erases F:</Description>
  <Action>
   CallScript FormatF
  </Action>
 </Item>
     </SubMenu>


Any info is appreciated
geniusalz
You need to have :
"AllowFormat 1" as opposed to "AllowFormat <1>"

Same with 0

That's probably the problem.
Agent Orange
lol.... I can't believe I did that... I'll try that out. Thanks a lot.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.