Jump to content
  • 0

Question

Posted (edited)

Hello guys..

 

Can someone help me on this?

 

I need :

 

- check weight function

- only selected ID will get the reward

 

Thank you for your help.. /ok

 

I'm using eAthena 3ceAM

prontera,151,159,5	script	WOE Reward	114,{
mes " ^00FF00=======================^000000";
mes " ";
mes "	^7B68EEMaintenance Gift^000000	";
mes " ";
mes " ^00FF00=======================^000000";
next;
if( Weight > ( MaxWeight / 2 ) ){
	mes "Please make sure you are not Over Weight.";
	close;
}
if(#WOEPastReward01 == 1) goto L_1;
if(getcharid(3) == 2000002 || getcharid(3) == 2014412 ) {

mes "[WOE Manager]";
mes " ";
	mes "Greetings "+strcharinfo(0)+"!!!";
	mes " ";
	mes "Thank you for you patience for the Emergency Maintenance..";
	mes "We would like to thank you by giving some gifts..";
	mes "But, the NPC that will giving you the presents will only available at 05.00PM on January 22 until 05.00PM on January 24 which mean, only for ^FF000048 HOURS!^000000";
	mes "So, DO NOT miss your chance to get some rare gifts form the NPC.";
next;
mes "[WOE Manager]";
mes " ";
mes "Oh ya! Do not forget to tell all your friends about this. They cannot miss this!! ;D";
next;
set #CASHPOINTS,#CASHPOINTS+0;
dispbottom "You have currently " +#CASHPOINTS +" Cash Points!";
getitem 0,0;
npctalk "Thank you and enjoy the game "+strcharinfo(0)+"!";
emotion e_thx;
set #WOEPastReward01,1;
close;

L_1:
mes "[WOE Manager]";
mes "Sorry I can't give you more.";
mes " ";
mes "^FF0000Maintenance Gift has been given to this ID..^000000";
mes " ";
mes "Please check your inventory to see the  items..";
emotion e_bzz;
close;

OnInit:

	waitingroom "Maintenance Gift!!",0,0;
	end;
}
Edited by uDe

2 answers to this question

Recommended Posts

Posted

isnt that you already have it in your current script ?? 

 

- check weight function

if( Weight > ( MaxWeight / 2 ) ){
	mes "Please make sure you are not Over Weight.";
	close;
}

- only selected ID will get the reward

if(getcharid(3) == 2000002 || getcharid(3) == 2014412 ) {
..
...
....
}

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