Jump to content
  • 0

Credits to Zeny and Zeny to Credits


pr3p

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  197
  • Reputation:   13
  • Joined:  05/14/12
  • Last Seen:  

Can anyone give me this Script please?

Advance Thanks.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

if( countitem(x) )
{
delitem x,1;
set Zeny, Zeny+n;
}

if( Zeny > n )
{
getitem x,1;
set Zeny, Zeny-n;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  197
  • Reputation:   13
  • Joined:  05/14/12
  • Last Seen:  

if( countitem(x) )
{
delitem x,1;
set Zeny, Zeny+n;
}

if( Zeny > n )
{
getitem x,1;
set Zeny, Zeny-n;
}

sir full script please?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  


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

Edited by icabit
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  197
  • Reputation:   13
  • Joined:  05/14/12
  • Last Seen:  

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;
}
}
break;
case 2:
if( Zeny > n )
{
getitem .x,1;
set Zeny, Zeny-.n;
}
}
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

Thanks i'm gonna test it :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

i updated my post kindly recheck

i will modify it later with exchange input but for now i really need to go

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  197
  • Reputation:   13
  • Joined:  05/14/12
  • Last Seen:  

Thanks emistry /kis2 let me check :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...