zeshan321 Posted June 22, 2014 Share Posted June 22, 2014 File Name: Kafra points converter File Submitter: zeshan321 File Submitted: 17 Jun 2014 File Category: Utilities Content Author: zeshan321This script allows users to convert their kafra points to any item set in the script. Click here to download this file Quote Link to comment Share on other sites More sharing options...
Titan Posted October 24, 2014 Share Posted October 24, 2014 thanks for the script..can i use cashpoints instead of kafrapoints? Quote Link to comment Share on other sites More sharing options...
Checkmate Posted October 25, 2014 Share Posted October 25, 2014 thanks for the script..can i use cashpoints instead of kafrapoints? Sure you can but you need to change the variable.. What i mean is.. maybe from @points(Kafra_Points) into @cash(Cash_Points).. Correct me if im were wrong. Quote Link to comment Share on other sites More sharing options...
Radian Posted October 25, 2014 Share Posted October 25, 2014 Yea, replace this part [email protected] = ([email protected] * .NP); [email protected] = (#KAFRAPOINTS); if ([email protected] > [email protected]) { mes .NPC$; mes "You do not have enough points!"; close; } if (#KAFRAPOINTS == 0) { mes .NPC$; mes "You have 0 kafra points!"; close; } mes .NPC$; mes "Here you go!"; set #KAFRAPOINTS,#KAFRAPOINTS - [email protected]; getitem .ID,[email protected]; close; into this [email protected] = ([email protected] * .NP); [email protected] = (#CASHPOINTS); if ([email protected] > [email protected]) { mes .NPC$; mes "You do not have enough points!"; close; } if (#CASHPOINTS == 0) { mes .NPC$; mes "You have 0 kafra points!"; close; } mes .NPC$; mes "Here you go!"; set #CASHPOINTS,#CASHPOINTS - [email protected]; getitem .ID,[email protected]; close; Quote Link to comment Share on other sites More sharing options...
Titan Posted October 27, 2014 Share Posted October 27, 2014 thanks for the script..can i use cashpoints instead of kafrapoints? Sure you can but you need to change the variable.. What i mean is.. maybe from @points(Kafra_Points) into @cash(Cash_Points).. Correct me if im were wrong. Yea, replace this part [email protected] = ([email protected] * .NP); [email protected] = (#KAFRAPOINTS); if ([email protected] > [email protected]) { mes .NPC$; mes "You do not have enough points!"; close; } if (#KAFRAPOINTS == 0) { mes .NPC$; mes "You have 0 kafra points!"; close; } mes .NPC$; mes "Here you go!"; set #KAFRAPOINTS,#KAFRAPOINTS - [email protected]; getitem .ID,[email protected]; close; into this [email protected] = ([email protected] * .NP); [email protected] = (#CASHPOINTS); if ([email protected] > [email protected]) { mes .NPC$; mes "You do not have enough points!"; close; } if (#CASHPOINTS == 0) { mes .NPC$; mes "You have 0 kafra points!"; close; } mes .NPC$; mes "Here you go!"; set #CASHPOINTS,#CASHPOINTS - [email protected]; getitem .ID,[email protected]; close; ok will try it on my test server.. Quote Link to comment Share on other sites More sharing options...
cadz Posted March 14, 2021 Share Posted March 14, 2021 On 10/25/2014 at 3:11 PM, Radian said: Yea, replace this part .@amount2 = (.@amount * .NP); .@points = (#KAFRAPOINTS); if (.@amount2 > .@points) { mes .NPC$; mes "You do not have enough points!"; close; } if (#KAFRAPOINTS == 0) { mes .NPC$; mes "You have 0 kafra points!"; close; } mes .NPC$; mes "Here you go!"; set #KAFRAPOINTS,#KAFRAPOINTS - [email protected]; getitem .ID,.@amount; close; into this .@amount2 = (.@amount * .NP); .@points = (#CASHPOINTS); if (.@amount2 > .@points) { mes .NPC$; mes "You do not have enough points!"; close; } if (#CASHPOINTS == 0) { mes .NPC$; mes "You have 0 kafra points!"; close; } mes .NPC$; mes "Here you go!"; set #CASHPOINTS,#CASHPOINTS - [email protected]; getitem .ID,.@amount; close; hi sir how about item to kafrapoints? Quote Link to comment Share on other sites More sharing options...