Makin a 'storage box'

Bon

Legend
Legendary
Jul 29, 2004
6,741
342
330
Kent, UK
Im kinda stumped, i know this isnt too hard to do but i cant rly figure out how ud doit :/

i know ud set it so it went to qfunc

but wot would u put under this bit

[@StdModeFunc215]

as ive tried doin

;Settings
(@buy @sell @repair @s_repair @storage @getBack)
%100

#IF
#ACT
@store balh blah

like an npc but dont work

i read soemwhere u can do #CALL but d unno how that works either

any1 care to give me alittle script 2 make this work plz?

thx
 

stephenking

I HAVE A DREAM!!
Developer
Aug 28, 2005
616
39
155
Netherlands
maiby this could help
http://www.lomcn.co.uk/forum/showthread.php?p=600070#post600070

or else if you meant like a normal npcstorage just use the same #Call examples in the link above and call your storage script

or have you tried putting the settings lines at the all top of the qfunc file
if at all QFunc support settings (nevver checked in code tbh)


QFunc:
;Settings
(@buy @sell @repair @s_repair @storage @getBack)
%100


[@StdModeFunc215]
#IF
#ACT
@store balh blah
 
Upvote 0

daneo1989

I am Ancient.
Staff member
Super Moderator
Dec 5, 2005
6,034
1
276
330
UK
this is what i have ben,

[@StdModeFunc9]
#ACT
take StorageBox 1
give StorageBox 1
goto @storage1

[@storage1]
#SAY
What can I do for you?\
Please feel free to store items, we dont charge for custody.\ \
<Deposit/@storage>\
<Withdraw/@getBack>\
<Close/@exit>\


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

[@getBack]
Please choose from the list what you want to take Back.\ \ \
<Back/@main>

Add this item
1056 StorageBox 31 0 1 9 0 0 1957/QUOTE]

you can change [@StdModeFunc9] with say [@pstore] and add [@pstore] to CustomCommands

and it works
and dont forget to add the (@BUY @SELL @STORAGE etc etc

/ancient
 
Last edited:
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,741
342
330
Kent, UK
thx ancient, was mainly where to put the (@storage) settins... im guessin at the very top of the script then?
 
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,741
342
330
Kent, UK
s'ok sorted it, thx for help

btw ancient... u done need the take bit.. as the item disapears when u click it, and u need to change the @main

[@StdModeFunc9]
#ACT
give StorageBox 1
goto @storage1

[@storage1]
#SAY
What can I do for you?\
Please feel free to store items, we dont charge for custody.\ \
<Deposit/@storage>\
<Withdraw/@getBack>\
<Close/@exit>\


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

[@getBack]
Please choose from the list what you want to take Back.\ \ \
<Back/@storage1>


ta for help
 
Upvote 0

daneo1989

I am Ancient.
Staff member
Super Moderator
Dec 5, 2005
6,034
1
276
330
UK
s'ok sorted it, thx for help

btw ancient... u done need the take bit.. as the item disapears when u click it, and u need to change the @main

[@StdModeFunc9]
#ACT
give StorageBox 1
goto @storage1

[@storage1]
#SAY
What can I do for you?\
Please feel free to store items, we dont charge for custody.\ \
<Deposit/@storage>\
<Withdraw/@getBack>\
<Close/@exit>\


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

[@getBack]
Please choose from the list what you want to take Back.\ \ \
<Back/@storage1>


ta for help

ye just noticed it, while lookin through and np's

/ancient
 
Upvote 0