prontera,155,181,5 script Sample 757,{ mes "Go into Gold Room ?"; switch( select( "Warp to Gold Room:Exchange to Gold" )){ Case 1: warp "guild",0,0; end; Case 2: if( !#GoldPoint ){ mes "You didnt have any Gold Points."; }else{ mes "Total Accumulated Gold Point = "+#GoldPoint+" Points."; mes "How many will be changed to Gold ?"; do{ input @Amount,0,#GoldPoint; if( !@Amount ) close; }while( !checkweight( 969,@Amount ) ); set #GoldPoint,#GoldPoint - @Amount; getitem 969,#GoldPoint; } break; } close;
Question
jhunex
prontera,155,181,5 script Sample 757,{
mes "Go into Gold Room ?";
switch( select( "Warp to Gold Room:Exchange to Gold" )){
Case 1:
warp "guild",0,0;
end;
Case 2:
if( !#GoldPoint ){
mes "You didnt have any Gold Points.";
}else{
mes "Total Accumulated Gold Point = "+#GoldPoint+" Points.";
mes "How many will be changed to Gold ?";
do{
input @Amount,0,#GoldPoint;
if( !@Amount ) close;
}while( !checkweight( 969,@Amount ) );
set #GoldPoint,#GoldPoint - @Amount;
getitem 969,#GoldPoint;
}
break;
}
close;
OnInit:
monster "guild_vs5",0,0,"Gold",100,strnpcinfo(0)+"::OnKilled";
end;
OnKilled:
set #GoldPoint,#GoldPoint + rand(3);
dispbottom "Total Accumulated Gold Point = "+#GoldPoint+" Points.";
monster "guild_vs5",0,0,"Gold",1,strnpcinfo(0)+"::OnKilled";
end;
}
NO MONSTER
can someone edit this script to summon a monster?
Link to comment
Share on other sites
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.