xboxscene.org forums

OG Xbox Forums => Official MediaXMenu (MXM) Forum => Dashboard Forums => MXM ActionScripting Forum => Topic started by: Be Absentminded on November 15, 2003, 07:04:00 PM

Title: Format Script
Post by: Be Absentminded on November 15, 2003, 07:04:00 PM
QUOTE
;#############################
;#
;# CREATOR: Be Absentminded
;# DATE: 11.15.03
;# Action Script Name: FormatE
;# VERSION: 1.0
;# Menu Item Action Script
;# Function Description: This script is used
;# to format your E: partition.
;#
;#############################


:FormatSelect
BeginDraw UseCurrent
MessageBox "E: Format Menu$eol$Press A To Format$eol$Press B To Cancel"
EndDraw
Input
If %_GP_A% == "1" GOTO FormatE
If %_GP_B% == "1" GOTO NoFormatE
QUIT

:FormatE
BeginDraw UseCurrent
MessageBox "Formatting..."
EndDraw
Delay 3
Format E:
BeginDraw UseCurrent
MessageBox "Format Complete!"
EndDraw
Delay 3
QUIT

:NoFormatE
BeginDraw UseCurrent
MessageBox "Format Cancelled"
EndDraw
Delay 5
QUIT


-Jameson
Title: Format Script
Post by: Be Absentminded on November 16, 2003, 11:14:00 AM
sad.gif

-Jameson
Title: Format Script
Post by: yourwishismine on November 16, 2003, 11:19:00 AM
Looks good to me...

but then again..

I've never written any actionscripts...

but I'm pretty familiar with the format...