How to apply this one to the new item_db.conf

mybitch

New member
Messages
291
Points
0
Location
Prontera
Code:
{	Id: 7608	AegisName: "Premium_Ticket"	Name: "Premium Ticket"	Type: 0	Buy: 20	Weight: 10	Script: <" if (#Premium==0){set #Premium, gettimetick(2) + 604800; announce "Thanks for using Premium Service! Kindly reconnect in-game to upgrade your account. Premium Service will not take effect unless you have relog back on the game!",bc_yellow|bc_self; }else{set #Premium, (#Premium > gettimetick(2)? #Premium : gettimetick(2)) + 604800; announce "Thank you for using Premium Service. Your Premium Time has been extended! Enjoy playing!",bc_yellow|bc_self; ">}, 
 
its not wroking after changing it. Is there something wrong with it?
 
kindly check this 

"#" - A permanent local account variable. They are stored in the 'global_reg_value' table using type 2."##" - A permanent global account variable stored by the login server. They are stored in the 'global_reg_value' table, using type 1. The only difference you will note from normal # variables is when you have multiple char-servers connected to the same login-server. The # variables are unique to each char-server, while the ## variables are shared by all these char-servers.
and I think Item type must be usable..

0 Healing item. 2 Usable item.
so it should be

- Type: 0+ Type: 2
- = delete

+ = add

 
Back
Top