Jump to content
  • 0

Can I request this script


Question

Posted
izlude,126,111,5 script Sample 757,{

setarray .@MobList[1],1734,1647,1785,1630;

if( @LastMobID ) set .@MobList[0],@LastMobID;

for( set .@i,( (@LastMobID)?0:1 ); .@i < getarraysize( .@MobList ); set .@i,.@i + 1 )

set .@Menu$,.@Menu$ + ( (!.@i)?"^0000FF[ LAST MOB ] ":" ^FF0000~ " ) + getmonsterinfo(.@MobList[.@i],0)+"^000000:";

set @LastMobID,.@MobList[ ( select( .@Menu$ ) - ( (@LastMobID)?1:0 ) ) ];

mes "You selected "+getmonsterinfo(@LastMobID,0);

monster strcharinfo(3),-1,-1,"--ja--",@LastMobID,1;

close;

}

how to make this is script like this

when you need to summon you have to pay example pay TCG CARD 100pcs

6 answers to this question

Recommended Posts

Posted
mes "You selected "+getmonsterinfo(@LastMobID,0);
if( countitem( 7227 ) < 100 ){
mes "But you need 100 "+getitemname( 7227 )+" to summon it.";
}else{
monster strcharinfo(3),-1,-1,"--ja--",@LastMobID,1;
delitem 7227,100;
}

Posted

can u make each monster will have different payment

I already test it but its same its only say the mess but even i dont have TCG i can summon

not working

Posted (edited)

the script are working

and also the mess is working

problem is the npc ddnt get the TCG and even I only have 1tcg I can still summon monster

sorry for my post at the other section

rachel,135,104,5 script Sample 757,{

setarray .@MobList[1],1511,1647,1785,1630;

mes "You selected "+getmonsterinfo(@LastMobID,0);

if( countitem( 7227 ) < 100 ){

mes "But you need 100 "+getitemname( 7227 )+" to summon it.";

}else{

monster strcharinfo(3),-1,-1,"--ja--",@LastMobID,1;

delitem 7227,100;

}

if( @LastMobID ) set .@MobList[0],@LastMobID;

for( set .@i,( (@LastMobID)?0:1 ); .@i < getarraysize( .@MobList ); set .@i,.@i + 1 )

set .@Menu$,.@Menu$ + ( (!.@i)?"^0000FF[ LAST MOB ] ":" ^FF0000~ " ) + getmonsterinfo(.@MobList[.@i],0)+"^000000:";

set @LastMobID,.@MobList[ ( select( .@Menu$ ) - ( (@LastMobID)?1:0 ) ) ];

mes "You selected "+getmonsterinfo(@LastMobID,0);

monster strcharinfo(3),-1,-1,"--ja--",@LastMobID,1;

close;

}

I use this script

Edited by zhen
Posted

/swt

alway refer to the latest script if there is any... ==''

otherwise, it is pointless for members to post a new / updated script because you prefer to stay at previous version of that script..

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