https://eathena-project.googlecode.com/svn/trunk/npc/custom/warper.txt
mes "Zeny : 5,000";
if( Zeny < 5000 close;
Zeny -= 5000;
before the warp add this. or begining of npc.
your quest has already answered here
http://rathena.org/board/topic/96987-request-level-10-cook-book-ingredients/?p=264333
just create another npc shop that sell the item and add another option to call the shop.
add this to your script before the npc remove card from the item
getinventorylist;
if( @inventorylist_count > 95 ){
mes "Your inventory slot is getting full, please remove some item";
close;
}
$sql = "SELECT char_id,value FROM `global_reg_value` WHERE str='reborncount' ORDER BY value DESC";
$sth = $server->connection->getStatement($sql);
$sth->execute($bind);
$result = $sth->fetchAll();
something like this.
@Topic Starter
Maybe you should try checking if there are any error messages that shown in map-server ?
@Off-topic:
lol .. the script isnt in english language ... i dont understand what the script does..