Jump to content
  • 0

About rAthena trunk job changer


Question

4 answers to this question

Recommended Posts

Posted

replace

		} else
			set .@i, getarg(0);
		if (select(" ~ Change into ^0055FF"+jobname(.@i)+"^000000 class: ~ ^777777"+((getargcount() > 1)?"Go back":"Cancel")+"^000000") == 1) {
			mes "[Job Master]";
			mes "You are now "+A_An(jobname(.@i))+"!";

 

by

		} else
			set .@i, getarg(0);
		.@job_name$ = jobname(.@i);
		.@len = getstrlen( .@job_name$ );
		if ( charat( .@job_name$,(.@len-1) ) == "T" )
			.@job_name$ = substr( .@job_name$,0,(.@len-3) );
		if (select(" ~ Change into ^0055FF"+ .@job_name$ +"^000000 class: ~ ^777777"+((getargcount() > 1)?"Go back":"Cancel")+"^000000") == 1) {
			mes "[Job Master]";
			mes "You are now "+A_An(.@job_name$)+"!";

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...