Jump to content
  • 0

REQUEST JOB CHANGER


Kariton Revolution

Question


  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.03
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

example 
Player 1 Job is Paladin player want to change job to Assassin Cross

can anyone make a script like that t
a player can change job what ever he want but only Trans Job can talk to this NPC

SALAMAT
THANKYOU 
:)))))))))

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Posted · Hidden by Emistry, June 14, 2014 - jump to another post
Hidden by Emistry, June 14, 2014 - jump to another post

EDIT : jump post 4

Link to comment

  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

I think I made a mistake

prontera,150,183,5	script	test	56,{
	.@eac = eaclass();
	if ( upper != 1 || .@eac&EAJL_2_1 == 0 && .@eac&EAJL_2_2 == 0 ) {
		mes "you must be transclass to talk to me";
		close;
	}
	for ( .@i = 0; .@i < 6; .@i++ ) {
		.@class2_1 = ( roclass( eaclass(.@i+1)|EAJL_2_1|EAJL_UPPER ) );
		.@class2_2 = ( roclass( eaclass(.@i+1)|EAJL_2_2|EAJL_UPPER ) );
		if ( Class != .@class2_1 ) {
			.@menu$ = .@menu$ + jobname( .@class2_1 ) +":";
			.@class[.@t] = .@class2_1;
			.@t++;
		}
		if ( Class != .@class2_2 ) {
			.@menu$ = .@menu$ + jobname( .@class2_2 ) +":";
			.@class[.@t] = .@class2_2;
			.@t++;
		}
	}
	.@s = select( .@menu$ ) -1;
	mes "are you sure you want to become "+ jobname( .@class[.@s] ) +" ?";
	if ( select( "no", "yes" ) == 2 )
		jobchange .@class[.@s];
	close;
}
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.03
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

sir :(( im encountering an error 4 example my job is assasin cross and i gonna change job to paladin i got change job to paladin but i can wear an assasin cross item :( how to fix that thing?  :(


 

I think I made a mistake

prontera,150,183,5	script	test	56,{
	.@eac = eaclass();
	if ( upper != 1 || .@eac&EAJL_2_1 == 0 && .@eac&EAJL_2_2 == 0 ) {
		mes "you must be transclass to talk to me";
		close;
	}
	for ( .@i = 0; .@i < 6; .@i++ ) {
		.@class2_1 = ( roclass( eaclass(.@i+1)|EAJL_2_1|EAJL_UPPER ) );
		.@class2_2 = ( roclass( eaclass(.@i+1)|EAJL_2_2|EAJL_UPPER ) );
		if ( Class != .@class2_1 ) {
			.@menu$ = .@menu$ + jobname( .@class2_1 ) +":";
			.@class[.@t] = .@class2_1;
			.@t++;
		}
		if ( Class != .@class2_2 ) {
			.@menu$ = .@menu$ + jobname( .@class2_2 ) +":";
			.@class[.@t] = .@class2_2;
			.@t++;
		}
	}
	.@s = select( .@menu$ ) -1;
	mes "are you sure you want to become "+ jobname( .@class[.@s] ) +" ?";
	if ( select( "no", "yes" ) == 2 )
		jobchange .@class[.@s];
	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...