Hi, can you guys please help me, I'm using SavingAngel script from peopleperson collection and this npc basically revive one player in any map he is.
the problem is that the order is resurrecting all chars and not only the name of the char that was input.
I have tried 2 alternatives I know, like @alive, or @resurrect, even changed the @ for a # in the script, but it fails.
Here's the fragment of the lines
next;
mes "[Kasondra]";
mes "Ingresa el nombre de la pobre persona.";
mes "^FF0000Escribe el nombre exactamente, de lo contrario mis poderes fallarán y me debilitaré por nada.^000000";
if(select("Continuar:No importa")==2) { next; mes "[Kasondra]"; mes "Adios."; close3; }
input .@name$;
if(getmapxy(@map$,@x,@y,bl_pc,.@name$)!=0)
{ next; mes "[Kasondra]"; mes "Lo siento, pero no puedo revivir fragmentos de tu imaginación."; close3; }
next;
if(zeny<1000000) { next; mes "[Kasondra]"; mes "¡Por favor, vete, me has lastimado más de lo que puedes saber!"; close3; }
set zeny,zeny-1000000;
atcommand "@revive "+.@name$+"";
specialeffect 338;
announce "Kasondra envía una ola poderosa por todo el mundo para resucitar a "+.@name$+".",8;
mes "[Kasondra]";
mes "Mi trabajo está hecho, ¡ahora debo descansar!";
close3;
Is reviving al players in map, not only the choosen one.
Question
iraciz
Hi, can you guys please help me, I'm using SavingAngel script from peopleperson collection and this npc basically revive one player in any map he is.
the problem is that the order is resurrecting all chars and not only the name of the char that was input.
I have tried 2 alternatives I know, like @alive, or @resurrect, even changed the @ for a # in the script, but it fails.
Here's the fragment of the lines
next; mes "[Kasondra]"; mes "Ingresa el nombre de la pobre persona."; mes "^FF0000Escribe el nombre exactamente, de lo contrario mis poderes fallarán y me debilitaré por nada.^000000"; if(select("Continuar:No importa")==2) { next; mes "[Kasondra]"; mes "Adios."; close3; } input .@name$; if(getmapxy(@map$,@x,@y,bl_pc,.@name$)!=0) { next; mes "[Kasondra]"; mes "Lo siento, pero no puedo revivir fragmentos de tu imaginación."; close3; } next; if(zeny<1000000) { next; mes "[Kasondra]"; mes "¡Por favor, vete, me has lastimado más de lo que puedes saber!"; close3; } set zeny,zeny-1000000; atcommand "@revive "+.@name$+""; specialeffect 338; announce "Kasondra envía una ola poderosa por todo el mundo para resucitar a "+.@name$+".",8; mes "[Kasondra]"; mes "Mi trabajo está hecho, ¡ahora debo descansar!"; close3;
Is reviving al players in map, not only the choosen one.
Link to comment
Share on other sites
2 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.