Npc help (Milo/BH)

IceMan

Hero's Act Mir 2
Legendary
Apr 17, 2003
8,544
2
375
330
ok my Storage i want it so u have to unlock Storage befor u Store

and to check if its locked befor u Store

here wut npc i have atm

[@Password]
{
Welcome to the Password Section of Storage.\
This secures your items to a extream store\
Do you want to <Request Passowrd/@RequstPassword>.\
Do You want to <Set Store Password/@StorageSetPassword>\
Do You want to <Change Store Password/@StorageChgPassword>\
Do You want to <Lock Store/@StorageLock>\
Do You want to <Unlock Store/@StorageUnlock>\
<Exit/@exit>\

[@mbind]
#ACT
#CALL [\Market\Exchange.txt] @Markets

[@RequstPassword]
You Want to Request your Storage Password?\
Well this is the right place, You have to clear your password first however\
Do You want to <Clear Store Password/@CleraStorePassword>\
Do You want to <Store Password/@StorePassword>\
<Back/@Password>\
<Exit/@exit>

[@CleraStorePassword]
#IF
#ACT
AddNameList StorgePass.txt
#SAY
Storage Password Has been Cleared,\
Please Request a new password for the use of Storage.\
Do you want to <Request Passowrd/@RequstPassword>.\ \
<Back/@Password>\
<Exit/@exit>


[@StorageSetPassword]
Storage Password Set: @<$CMD_STORAGESETPASSWORD> \\
Do you want to goto <Store/@stor1>\
<Exit/@exit>

[@stor1]
#CALL [\Market\Market5.txt] @Markets


[@StorageChgPassword]
Store Password Cahnge: @<$CMD_STORAGECHGPASSWORD> \ \
Do you want to goto <Store/@stor1>\
<Exit/@exit>

[@StorageLock]
Storage Lock: @<$CMD_STORAGELOCK> \ \
Do you want to goto <Store/@stor1>\
<Exit/@exit>

[@StorageUnlock]
Storage Unlock: @<$CMD_STORAGEUNLOCK> \ \
Do you want to goto <Store/@stor1>\
<Exit/@exit>
}
 

NoLife999

If God Only Knew!
Golden Oldie
Mar 8, 2004
934
1
100
180
leeds
hey m8ty
This is what problem i,m having too i think it may be in the addnamelist bit i have,nt tried it yet but here is what i created it may help let me no, i,ll test it myself when my server gets back up darn thing lol...

[@RequstPassword]
You Want to Request your Storage Password?\
Well this is the right place, You have to clear your password first however\
Do You want to <Clear Store Password/@CleraStorePassword>\
Do You want to <Store set Password/@StorageSetPassword>\
<Back/@Password>\
<Exit/@exit>

[@CleraStorePassword]
#IF
#ACT
delNameList StorgePass.txt
#SAY
Storage Password Has been Cleared,\
Please Request a new password for the use of Storage.\
Do you want to <Request Passowrd/@StorageSetPassword>.\ \
<Back/@Password>\
<Exit/@exit>


[@StorageSetPassword]
Storage Password Set: @<$CMD_STORAGESETPASSWORD> \\
Do you want to goto <Store/@stor1>\
<Exit/@exit>
 
Upvote 0

IceMan

Hero's Act Mir 2
Legendary
Apr 17, 2003
8,544
2
375
330
see i want so

you unlock your Storage it lets u store

then if it locked u cant store
 
Upvote 0

NoLife999

If God Only Knew!
Golden Oldie
Mar 8, 2004
934
1
100
180
leeds
well m8ty
i think if ya add my bit too it but make a backup has you already will know of the original and try it may work i have not tried it yrt just thought it may be the answer maybe not i,ll test it asap ok
 
Upvote 0

MiloFoxburr

LOMCN VIP
VIP
Mar 23, 2003
7,276
207
350
Dublin, Ireland
Should just be a matter of using a normal storage npc and turning on password lock in the !setup Players will then need to use the @ codes to lock and unlock there storage
 
Upvote 0