prontera,158,192,3 script Credits Exchanger 467,{
mes "What can i do for yout today?";
switch(select("Credits to Zeny:Zeny To Credits")){
case 1:
if( countitem(.x) )
{
if ((zeny+.n)>=.maxzeny)
{
delitem .x,1;
set Zeny, Zeny+.n;
}
else{
mes "You cant Convert More Credits cause it might exceed the max zeny of the server";
}
}
close;
break;
case 2:
if( Zeny > n )
{
getitem .x,1;
set Zeny, Zeny-.n;
}
close;
break;
}
OnInit:
set .x,7227;//change 7227 to your credits item number
set .n,10000000;//set your zeny per credits 10m is default
set .maxzeny,1000000000;//set the max zeny of your server 1b is default
end;
}
its not that perfect though kindly try it ill get back to your later gotta go for now. im attending a birthday for tonight