Jump to content
  • 0
koko24

hatred reset NPC or Command

Question

   cutin "arang01",2;    mes "[SG Resetter]";    mes "What do you wish to reset?";    menu "Reset Feeling",feeling,"Reset Hatred",hatred;feeling:    atcommand "@feelreset";    mes "Done.";    close2;    cutin "",255;    end;hatred:    set PC_HATE_MOB_MOON, 0;    set PC_HATE_MOB_STAR, 0;    set PC_HATE_MOB_SUN, 0;    mes "Done.";    next;    mes "[SG Resetter]";    mes "Hatred will be reset upon relogging.";    mes "Do you wish to relog now?";    menu "Relog now",relog,"Later",later;relog:    atcommand "@kick "+strcharinfo(0);    end;later:    next;    mes "[SG Resetter]";    mes "Ok then, but don't forget changes won't take effect until you relog.";    close2;    cutin "",255;    end;}

is it posible to not kick the player out of the game? because it is too much hassle for the player..

 

 

i also found this

 

if( BaseClass == Job_Star_Gladiator ){atcommand "@hatredreset";mes "Done";close;} else {mes "You are not Star Gladiator";close;}}

the problem is this is not working but it seems nice

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

 

   cutin "arang01",2;    mes "[SG Resetter]";    mes "What do you wish to reset?";    menu "Reset Feeling",feeling,"Reset Hatred",hatred;feeling:    atcommand "@feelreset";    mes "Done.";    close2;    cutin "",255;    end;hatred:    set PC_HATE_MOB_MOON, 0;    set PC_HATE_MOB_STAR, 0;    set PC_HATE_MOB_SUN, 0;    mes "Done.";    next;    mes "[SG Resetter]";    mes "Hatred will be reset upon relogging.";    mes "Do you wish to relog now?";    menu "Relog now",relog,"Later",later;relog:    atcommand "@kick "+strcharinfo(0);    end;later:    next;    mes "[SG Resetter]";    mes "Ok then, but don't forget changes won't take effect until you relog.";    close2;    cutin "",255;    end;}

- player need to relog so that account will be refresh and can use again the hatred

 

 

if( BaseClass == Job_Star_Gladiator ){atcommand "@hatredreset";mes "Done";close;} else {mes "You are not Star Gladiator";close;}}

in Hercules, there is no @hatredreset command, i dont know is there is a plugin for hatredreset

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.