• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Item useable every 3 days

Northnorial

Member
Joined
May 30, 2009
Messages
742
Reaction score
5
Location
Germany
Hello,

I've been trying to make an item work only every 3 days, but it's simply not working for me.

Basically I can't get the storage working for that matter.

Can anybody give me a short explanation to let storage work as a timer?

Or give me an example script? I been looking here on OtLand, but couldn't find anything really useful.

Thanks in advance! :)
 
I added it, still nothing happens, although I still receive the experience (bottom of the script)

It has to do with
Code:
  if (exhaustion.check(cid, cfg.storage) == true) then
I believe


after removing the == signs

01:36 259153
01:36 You have to wait 71 hours, 59 minutes and 13 seconds before you can use another stone of wisdom.
01:36 259151
01:36 You have to wait 71 hours, 59 minutes and 11 seconds before you can use another stone of wisdom.
01:36 259151
01:36 You have to wait 71 hours, 59 minutes and 11 seconds before you can use another stone of wisdom.
01:36 259150
01:36 You have to wait 71 hours, 59 minutes and 10 seconds before you can use another stone of wisdom.
01:36 259150
01:36 You have to wait 71 hours, 59 minutes and 10 seconds before you can use another stone of wisdom.
01:36 259149
01:36 You have to wait 71 hours, 59 minutes and 9 seconds before you can use another stone of wisdom.
 
Last edited by a moderator:
Well either is it giving the exp all the time or its not working all the time and telling me 01:50 You have to wait 0 second before you can use another stone of wisdom. Over over again...

this happens removing the == out of exhaustion.check(cid, cfg.storage) == true
 
Really old servers use TRUE instead of true, apparently you use a really old server, so when you find other scripts you have to change true to TRUE and false to FALSE.
 
Back
Top