Jump to content
  • 0

Can someone edit this script


jhunex

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  07/06/12
  • Last Seen:  


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


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  520
  • Reputation:   64
  • Joined:  11/19/11
  • Last Seen:  

From:

monster "guild_vs5",0,0,"Gold",100,strnpcinfo(0)+"::OnKilled";

To:

monster "guild_vs5",0,0,"Gold",<mob_id>,<amount>,strnpcinfo(0)+"::OnKilled";
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  07/06/12
  • Last Seen:  

Thankyou ! ^^,

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