prontera,150,114,4 script God Connection 811,{
mes "You can bring to life a old friend if you have a God item gift.";
next;
if (countitem(6293) < 1) end;
input .@input$;
set @success, atcommand ("@unjail "+.@input$);
if(!@success) { mes "Something's wrong, maybe the player doesn't exist.";
} else{
mes "Done!";
delitem 6293,1;
close;
}
}
The items delete because you put delitem after the input, so is obviusly what the item delete if the name is fails or is correctly. Try this.