Jump to content
  • 0

Script Conversion


Question

Posted (edited)

Good day rAthena users.

 

 

I would liike to request of conversion of this script into 3ceam? I would appreciate it. 

prontera,155,181,5	script	Sample	757,{
mes "Enter Gold Room?";
if( select( "Yes","cancel" ) == 1 ){
	warp .map$,0,0;
}
close;

OnMobKill:
.@party_id = getcharid(1);
if( !.@party_id ){
	.@gain_gold = 1;
}else{
	
	.@aid = getcharid(3);
	getpartymember .@party_id;
	getpartymember .@party_id,2;
	.@gain_gold = ( ( $@partymembercount > 5 )? 5:$@partymembercount );
	for( .@i = 0; .@i < $@partymembercount; .@i++ )
		if( $@partymemberaid[.@i] != .@aid && isloggedin( $@partymemberaid[.@i] ) ){
			getmapxy( .@map$,.@x,.@y,0,$@partymembername$[.@i] );
			if( .@map$ == .map$ )
				getitem 969,1,$@partymemberaid[.@i];
		}
}
getitem 969,.@gain_gold;
end;

OnInit:
.map$ = "guild_vs5";
end;
}

guild_vs5,0,0	monster	Poring	1002,100,0,0,"Sample::OnMobKill"

Thanks in advance! :3

Edited by Eucliwood Hellscythe

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.

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...