(@storage @getback)

[@Main]
#IF
#SAY
Hello <$USERNAME> I Am An Advanced Npc.\
I Am Protected By A PinCode System So That Your Items\
Are Safe From Hackers.\
Once Logged In You Can Set Your Pin.\
If You Have Never Used Me Before\
The Default Pin Is: 0000 \ 
(<Login/@Login1>)\

; Start Login Sequences
[@Login1]
#IF
#SAY
Please Select The First Digit Of Your Pin Code.\\
(<0/@CheckPin10>) (<1/@CheckPin11>)\
(<2/@CheckPin12>) (<3/@CheckPin13>)\
(<4/@CheckPin14>) (<5/@CheckPin15>)\
(<6/@CheckPin16>) (<7/@CheckPin17>)\
(<8/@CheckPin18>) (<9/@CheckPin19>)\

[@Login2]
#IF
#SAY
Please Select The Second Digit Of Your Pin Code.\\
(<0/@CheckPin20>) (<1/@CheckPin21>)\
(<2/@CheckPin22>) (<3/@CheckPin23>)\
(<4/@CheckPin24>) (<5/@CheckPin25>)\
(<6/@CheckPin26>) (<7/@CheckPin27>)\
(<8/@CheckPin28>) (<9/@CheckPin29>)\

[@Login3]
#IF
#SAY
Please Select The Third Digit Of Your Pin Code.\\
(<0/@CheckPin30>) (<1/@CheckPin31>)\
(<2/@CheckPin32>) (<3/@CheckPin33>)\
(<4/@CheckPin34>) (<5/@CheckPin35>)\
(<6/@CheckPin36>) (<7/@CheckPin37>)\
(<8/@CheckPin38>) (<9/@CheckPin39>)\

[@Login4]
#IF
#SAY
Please Select The Fourth Digit Of Your Pin Code.\\
(<0/@CheckPin40>) (<1/@CheckPin41>)\
(<2/@CheckPin42>) (<3/@CheckPin43>)\
(<4/@CheckPin44>) (<5/@CheckPin45>)\
(<6/@CheckPin46>) (<7/@CheckPin47>)\
(<8/@CheckPin48>) (<9/@CheckPin49>)\
; End Login Sequences


; Start Check Sequences

; First Digit Checks
[@CheckPin10]
#IF
check [231] 0
#ACT
goto @Login2
#ELSEACT
Set [235] 1
goto @Login2

[@CheckPin11]
#IF
check [231] 1
#ACT
goto @Login2
#ELSEACT
Set [235] 1
goto @Login2

[@CheckPin12]
#IF
check [231] 2
#ACT
goto @Login2
#ELSEACT
Set [235] 1
goto @Login2

[@CheckPin13]
#IF
check [231] 3
#ACT
goto @Login2
#ELSEACT
Set [235] 1
goto @Login2

[@CheckPin14]
#IF
check [231] 4
#ACT
goto @Login2
#ELSEACT
Set [235] 1
goto @Login2

[@CheckPin15]
#IF
check [231] 5
#ACT
goto @Login2
#ELSEACT
Set [235] 1
goto @Login2

[@CheckPin16]
#IF
check [231] 6
#ACT
goto @Login2
#ELSEACT
Set [235] 1
goto @Login2

[@CheckPin17]
#IF
check [231] 7
#ACT
goto @Login2
#ELSEACT
Set [235] 1
goto @Login2

[@CheckPin18]
#IF
check [231] 8
#ACT
goto @Login2
#ELSEACT
Set [235] 1
goto @Login2

[@CheckPin19]
#IF
check [231] 9
#ACT
goto @Login2
#ELSEACT
Set [235] 1
goto @Login2

; Start Second Digit Checks
[@CheckPin20]
#IF
check [232] 0
#ACT
goto @Login3
#ELSEACT
Set [235] 1
goto @Login3

[@CheckPin21]
#IF
check [232] 1
#ACT
goto @Login3
#ELSEACT
Set [235] 1
goto @Login3

[@CheckPin22]
#IF
check [232] 2
#ACT
goto @Login3
#ELSEACT
Set [235] 1
goto @Login3

[@CheckPin23]
#IF
check [232] 3
#ACT
goto @Login3
#ELSEACT
Set [235] 1
goto @Login3

[@CheckPin24]
#IF
check [232] 4
#ACT
goto @Login3
#ELSEACT
Set [235] 1
goto @Login3

[@CheckPin25]
#IF
check [232] 5
#ACT
goto @Login3
#ELSEACT
Set [235] 1
goto @Login3

[@CheckPin26]
#IF
check [232] 6
#ACT
goto @Login3
#ELSEACT
Set [235] 1
goto @Login3

[@CheckPin27]
#IF
check [232] 7
#ACT
goto @Login3
#ELSEACT
Set [235] 1
goto @Login3

[@CheckPin28]
#IF
check [232] 8
#ACT
goto @Login3
#ELSEACT
Set [235] 1
goto @Login3

[@CheckPin29]
#IF
check [232] 9
#ACT
goto @Login3
#ELSEACT
Set [235] 1
goto @Login3

; Start Third Digit Checks
[@CheckPin30]
#IF
check [233] 0
#ACT
goto @Login4
#ELSEACT
Set [235] 1
goto @Login4

[@CheckPin31]
#IF
check [233] 1
#ACT
goto @Login4
#ELSEACT
Set [235] 1
goto @Login4

[@CheckPin32]
#IF
check [233] 2
#ACT
goto @Login4
#ELSEACT
Set [235] 1
goto @Login4

[@CheckPin33]
#IF
check [233] 3
#ACT
goto @Login4
#ELSEACT
Set [235] 1
goto @Login4

[@CheckPin34]
#IF
check [233] 4
#ACT
goto @Login4
#ELSEACT
Set [235] 1
goto @Login4

[@CheckPin35]
#IF
check [233] 5
#ACT
goto @Login4
#ELSEACT
Set [235] 1
goto @Login4

[@CheckPin36]
#IF
check [233] 6
#ACT
goto @Login4
#ELSEACT
Set [235] 1
goto @Login4

[@CheckPin37]
#IF
check [233] 7
#ACT
goto @Login4
#ELSEACT
Set [235] 1
goto @Login4

[@CheckPin38]
#IF
check [233] 8
#ACT
goto @Login4
#ELSEACT
Set [235] 1
goto @Login4

[@CheckPin39]
#IF
check [233] 9
#ACT
goto @Login4
#ELSEACT
Set [235] 1
goto @Login4

; Start Fourth Digit Checks
[@CheckPin40]
#IF
check [234] 0
#ACT
goto @Verify
#ELSEACT
Set [235] 1
goto @Verify

[@CheckPin41]
#IF
check [234] 1
#ACT
goto @Verify
#ELSEACT
Set [235] 1
goto @Verify

[@CheckPin42]
#IF
check [234] 2
#ACT
goto @Verify
#ELSEACT
Set [235] 1
goto @Verify

[@CheckPin43]
#IF
check [234] 3
#ACT
goto @Verify
#ELSEACT
Set [235] 1
goto @Verify

[@CheckPin44]
#IF
check [234] 4
#ACT
goto @Verify
#ELSEACT
Set [235] 1
goto @Verify

[@CheckPin45]
#IF
check [234] 5
#ACT
goto @Verify
#ELSEACT
Set [235] 1
goto @Verify

[@CheckPin46]
#IF
check [234] 6
#ACT
goto @Verify
#ELSEACT
Set [235] 1
goto @Verify

[@CheckPin47]
#IF
check [234] 7
#ACT
goto @Verify
#ELSEACT
Set [235] 1
goto @Verify

[@CheckPin48]
#IF
check [234] 8
#ACT
goto @Verify
#ELSEACT
Set [235] 1
goto @Verify

[@CheckPin49]
#IF
check [234] 9
#ACT
goto @Verify
#ELSEACT
Set [235] 1
goto @Verify

; End Check Sequences

[@Verify]
#IF
check [235] 0
#SAY
Thank You For Logging In.\
You May Now Either Continue. \
Or Change Your Pin. \
(<Change Pin/@ChangePin1>)\
(<Continue/@Continue>)\
#ELSEACT
set [235] 0
#ELSESAY
Im Sorry But You Have Entered An Incorrect Pin Code.\
Please Try Again. \
(<Try Again/@Login1>)\ \

(<Exit/@exit>)\

; Begin Change Pin Sequences

[@ChangePin1]
Please Select The First Digit Of Your Pin Code.\\
<0/@SetPin10><1/@SetPin11>\
<2/@SetPin12><3/@SetPin13>\
<4/@SetPin14><5/@SetPin15>\
<6/@SetPin16><7/@SetPin17>\
<8/@SetPin18><9/@SetPin19>\

[@ChangePin2]
Please Select The Second Digit Of Your Pin Code.\\
<0/@SetPin20><1/@SetPin21>\
<2/@SetPin22><3/@SetPin23>\
<4/@SetPin24><5/@SetPin25>\
<6/@SetPin26><7/@SetPin27>\
<8/@SetPin28><9/@SetPin29>\

[@ChangePin3]
Please Select The Third Digit Of Your Pin Code.\\
<0/@SetPin30><1/@SetPin31>\
<2/@SetPin32><3/@SetPin33>\
<4/@SetPin34><5/@SetPin35>\
<6/@SetPin36><7/@SetPin37>\
<8/@SetPin38><9/@SetPin39>\

[@ChangePin4]
Please Select The Fourth Digit Of Your Pin Code.\\
<0/@SetPin40><1/@SetPin41>\
<2/@SetPin42><3/@SetPin43>\
<4/@SetPin44><5/@SetPin45>\
<6/@SetPin46><7/@SetPin47>\
<8/@SetPin48><9/@SetPin49>\

; End Change Pin Sequences

; Begin Pin Setting

; Start First Digit Setting
[@SetPin10]
#IF
#ACT
Set [231] 0
goto @ChangePin2

[@SetPin11]
#IF
#ACT
Set [231] 1
goto @ChangePin2

[@SetPin12]
#IF
#ACT
Set [231] 2
goto @ChangePin2

[@SetPin13]
#IF
#ACT
Set [231] 3
goto @ChangePin2

[@SetPin14]
#IF
#ACT
Set [231] 4
goto @ChangePin2

[@SetPin15]
#IF
#ACT
Set [231] 5
goto @ChangePin2

[@SetPin16]
#IF
#ACT
Set [231] 6
goto @ChangePin2

[@SetPin17]
#IF
#ACT
Set [231] 7
goto @ChangePin2

[@SetPin18]
#IF
#ACT
Set [231] 8
goto @ChangePin2

[@SetPin19]
#IF
#ACT
Set [231] 9
goto @ChangePin2

; Start Second Digit Setting
[@SetPin20]
#IF
#ACT
Set [232] 0
goto @ChangePin3

[@SetPin21]
#IF
#ACT
Set [232] 1
goto @ChangePin3

[@SetPin22]
#IF
#ACT
Set [232] 2
goto @ChangePin3

[@SetPin23]
#IF
#ACT
Set [232] 3
goto @ChangePin3

[@SetPin24]
#IF
#ACT
Set [232] 4
goto @ChangePin3

[@SetPin25]
#IF
#ACT
Set [232] 5
goto @ChangePin3

[@SetPin26]
#IF
#ACT
Set [232] 6
goto @ChangePin3

[@SetPin27]
#IF
#ACT
Set [232] 7
goto @ChangePin3

[@SetPin28]
#IF
#ACT
Set [232] 8
goto @ChangePin3

[@SetPin29]
#IF
#ACT
Set [232] 9
goto @ChangePin3

; Start Third Digit Setting
[@SetPin30]
#IF
#ACT
Set [233] 0
goto @ChangePin4

[@SetPin31]
#IF
#ACT
Set [233] 1
goto @ChangePin4

[@SetPin32]
#IF
#ACT
Set [233] 2
goto @ChangePin4

[@SetPin33]
#IF
#ACT
Set [233] 3
goto @ChangePin4

[@SetPin34]
#IF
#ACT
Set [233] 4
goto @ChangePin4

[@SetPin35]
#IF
#ACT
Set [233] 5
goto @ChangePin4

[@SetPin36]
#IF
#ACT
Set [233] 6
goto @ChangePin4

[@SetPin37]
#IF
#ACT
Set [233] 7
goto @ChangePin4

[@SetPin38]
#IF
#ACT
Set [233] 8
goto @ChangePin4

[@SetPin39]
#IF
#ACT
Set [233] 9
goto @ChangePin4

; Start Fourth Digit Setting
[@SetPin40]
#IF
#ACT
Set [234] 0
goto @PinChanged

[@SetPin41]
#IF
#ACT
Set [234] 1
goto @PinChanged

[@SetPin42]
#IF
#ACT
Set [234] 2
goto @PinChanged

[@SetPin43]
#IF
#ACT
Set [234] 3
goto @PinChanged

[@SetPin44]
#IF
#ACT
Set [234] 4
goto @PinChanged

[@SetPin45]
#IF
#ACT
Set [234] 5
goto @PinChanged

[@SetPin46]
#IF
#ACT
Set [234] 6
goto @PinChanged

[@SetPin47]
#IF
#ACT
Set [234] 7
goto @PinChanged

[@SetPin48]
#IF
#ACT
Set [234] 8
goto @PinChanged

[@SetPin49]
#IF
#ACT
Set [234] 9
goto @PinChanged

; End Pin Setting

[@PinChanged]
Your Pin Code Has Now Been Changed. \
(<Continue/@continue>)

[@Continue]
What can I do for you ?\
Please feel free to store items, its free.\
You may Take Back For No Cost At NeTime.\ \
(<Store/@storage> item)\
(<Take back/@getback> item)\
(<Cancel/@exit>)
<>

[@storage]
What item do you want to store ?\ \ \
(<Back/@Continue>)

[@getback]
Please choose from the list what you want to take back. \ \ \
(<Back/@Continue>) 