;;;QQ:67762207
[@Manage_PassWord]
{
#IF
#ACT
mov A0 %PASSWD(9)

#IF
equal A0 ""
#SAY
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
{FCOLOR/2}You do not yet have a password.\
Click 'Enter Password' to enter a password.\
{FCOLOR/1}Can chose to have the password active {FCOLOR/10}lock function{FCOLOR/12}\\

#IF
#SAY
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
__<[Enter Password]/@@*10_enter_stgpasswd>

[@@*10_enter_stgpasswd]
#ACT
mov A0 %PASSWD(9)
mov A1 %INPUTSTR
#IF
equal A0 %A1
#SAY
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
{FCOLOR/2}Password can be letter and numbers, max of 10 characters.\
{FCOLOR/2}Can turn lock on or off.\
__<[Change Password]/@@*10_Change_stgpasswd>\\
#IF
EQUAL A0 %A1
!EQUAL A0 ""
#SAY
__<[Lock Storage]/@setpersonlock>
#IF
!EQUAL A0 %A1
#SAY
{FCOLOR/2}Password was entered wrong.\\
__<[Manage Password]/@StgPassword>\

[@@*10_Change_stgpasswd]
#ACT
mov A0 %INPUTSTR
#SAY
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
__<[Re-Enter Password]/@@*10_confirm_passwd>\

[@@*10_confirm_passwd]
#ACT
mov A1 %INPUTSTR

#IF
equal A0 %A1
#ACT
SavePasswd %A0
#SAY
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
{FCOLOR/2}Your password has been changed.\\


#IF
EQUAL A0 ""
#ACT
actcmd SETUNLOCK
sysmsg "Storage is Locked."
#SAY
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
{FCOLOR/2}You remove the password feature.



#IF
equal A0 %A1
!EQUAL A0 ""
#SAY
__<[Set Character Lock]/@setpersonlock>

#IF
!equal A0 %A1
#SAY
{FCOLOR/2}You entered incorrect password.\
__<[Password Manager]/@manage_stgpasswd>\


[@setpersonlock]
#IF
#SAY
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
{FCOLOR/2}To protect your character you can lock it.\
{FCOLOR/2}You can turn it on or off using your storage\
password. If you forget your password please\ 
contact a Gamemaster. Recoving warehouse and\ 
password service.\\
If you agree please continue.\\
_______________<[Continue]/@tongyisuoding>        <[Close]/@exit>


[@tongyisuoding]
#SAY
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
__<[Character Lock On]/@openprotect>\
__<[Character Lock Off]/@closeprotect>\

[@openprotect]
#ACT
actcmd SETLOCK
sysmsg "Character Lock On"
#SAY
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
{FCOLOR/2}Turned On Character Lock.\\\
__<[Close]/@exit>


[@closeprotect]
#ACT
actcmd SETUNLOCK
sysmsg "Character Lock Off"
#SAY
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
{FCOLOR/2}Turned Character Lock Off.\\\
__<[Close]/@exit>



}

[@Input_PassWord]
{
#IF
checkcmd CHECKSTORAGEPASSOK
#ACT
break
#say
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
__<[Get Back]/@getback> Storage Items. \


#elseACT
mov A0 %PASSWD(9)

#IF
equal A0 ""
#SAY
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
{FCOLOR/2}You have not set a password yet.\\
__<[Get Back]/@getback> Storage Items.\
#ACT
break

#IF
#SAY
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
__<[Enter Password]/@@*10_Input_stgpasswd>

[@@*10_Input_stgpasswd]
#IF
#ACT
mov A0 %PASSWD(9)
mov A1 %INPUTSTR

#IF
equal A0 %A1

#ACT
actcmd SETSTORAGEPASSOK
#SAY
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
__<[Get Back]/@getback> Storage Items. \
#ELSESAY
_______________{FCOLOR/1}[{FCOLOR/12} {FCOLOR/14}Storage Menu{FCOLOR/12} {FCOLOR/1}]{FCOLOR/12} \\
{FCOLOR/2}You entered wrong password.\\
__<[Re-enter Password]/@PreGetback> \
__<[Close]/@exit> \
}
;;;QQ:67762207