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$;
delitem 6293,1;
set @success, atcommand ("@unjail "+.@input$);
if(!@success) { mes "Something's wrong, maybe the player doesn't exist.";
}
mes "Done!";
close;
}
Hi ,I need help to delete the item only if the player spells the other's name correctly for UNjail. Currently, if he misses the name, he loses the item anyway because the unjail fails.
Question
kronobr
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$; delitem 6293,1; set @success, atcommand ("@unjail "+.@input$); if(!@success) { mes "Something's wrong, maybe the player doesn't exist."; } mes "Done!"; close; }
Hi ,I need help to delete the item only if the player spells the other's name correctly for UNjail. Currently, if he misses the name, he loses the item anyway because the unjail fails.
Thanks you all
4 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.