Jump to content
  • 0

cutin "npcname",2;


Natsu Dragneel

Question


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   1
  • Joined:  12/27/11
  • Last Seen:  

Hi, need help in this script where can I put this

cutin "npcnme",2;

cutin "",255;

thank you in advance /no1

https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/warper.txt

Edited by Euphy
Replaced script with SVN link
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  224
  • Reputation:   22
  • Joined:  03/23/12
  • Last Seen:  

Lunette,44,113,5	script	SG Resetter	644,{
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;

}

Take it as example.

Edited by Emistry
Please use [CODEBOX] for long contents
Link to comment
Share on other sites


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3127
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

This should also explain abit more: http://rathena.org/wiki/Cutin

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   1
  • Joined:  12/27/11
  • Last Seen:  

Lunette,44,113,5	script	SG Resetter	644,{
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;

}

Take it as example.

in this kind of script its easy where to put cutin. actually in some of my script I allready put cutin.

I tried trial in custom warper script where to put that cutin but I cant make it work.

Btw, thx for the reply.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

cutin "<file>",2;   <--------------------------------------

menu "Last Warp ^777777["+lastwarp$+"]^000000",-,
" ~ Towns",Towns, " ~ Fields",Fields, " ~ Dungeons",Dungeons,
" ~ Guild Castles",Castles, " ~ Special Areas",Special;
if (lastwarp$ == "") dispbottom "You have not warped anywhere yet.";
 else warp lastwarp$,lastwarpx,lastwarpy;
close;

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...