Here's my problem when every time i loadnpc it wont appear on the map
here my script
//||------------------------------------------------------------------------------||
//||---------------------Simple Bank Note NPC ------------------------------------||
//||---------------------------by: Whathell---------------------------------------||
//||------------------------------------------------------------------------------||
//||------------------------------------------------------------------------------||
prontera,147,184,4 script Banker 833,{
//|=====================Settings==============================
set @npcname$,"^ff0000[Banker]^000000"; //npc name
set @banknoteprice,1000000; //price you want for each bank note
set @banknoteid,7922; //the item id for your bank note
set @maxzeny,2000000000; //put in the max zeny you have for your server
//|===========================================================
mes @npcname$;
mes "Hi "+ strcharinfo(0) +", I can change your bank notes into zeny, and vice versa.";
mes "Each bank note is worth 1 Million Zeny.";
next;
mes @npcname$;
mes "So tell me,what can I do for you?";
switch(select("Exchange Bank Notes to Zeny:Exchange Zeny to Bank Notes")) {
case 1:
next;
mes @npcname$;
mes "Please put in the amount of Bank Notes you want to exchange:";
next;
input @banknoteamount;
if (@banknoteamount <= 0) {
mes @npcname$;
mes "Please come back if you change your mind.";
close;
} else if (countitem(@banknoteid) < @banknoteamount) {
mes @npcname$;
mes "You dont have enough Bank Notes to complete this
transaction.";
close;
} else if ((@banknoteamount*@banknoteprice)+Zeny > @maxzeny) {
mes @npcname$;
mes "You cannot exchange this number of Bank Notes because you
will exceed the maximum amount of zeny you can hold.";
close;
}
next;
set @price,@banknoteprice*@banknoteamount;
delitem @banknoteid,@banknoteamount;
set Zeny,Zeny+@price;
mes @npcname$;
mes "Transaction complete! Here's your money.";
break;
case 2:
next;
mes @npcname$;
mes "Please put in the amount of Bank Notes you want.";
next;
input @noteamount;
if (@noteamount <= 0) {
mes @npcname$;
mes "Please come back if you change your mind.";
close;
} else if (@noteamount*@banknoteprice > Zeny) {
mes @npcname$;
mes "I'm sorry but you lack Zeny to complete this transaction.";
Question
ejieswak1453
Here's my problem when every time i loadnpc it wont appear on the map
here my script
bank.txt
Edited by PatskieChange to code
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.