Jump to content
  • 0

Hello please read


XkAcY-

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  103
  • Reputation:   0
  • Joined:  11/13/11
  • Last Seen:  

May i ask can you edit this

8 Event_Points = 1 Event Token

example you put 10 Event Token then your Event Points is only 50 goto sorry you dont have enought Event Points

when you have enought Event Points like 100Event Points. then you input 10 Event Token.. automatically devide the Event Points to 8

so 10Event Token x 8 Event Points = 80 Event Points so you have 20 Event Points Left

like i said every 1 Token automatically cost of 8 Event Points

i have wrote simple script but.. 1 Event Point = 1 item..

so i want to make this 8 Event Point = 1 item

mes "Please input the number of ";
	mes "Please input your EVENT_POINTS";
	next;
	input .@t;
	if( #EVENT_POINTS >.@t ) goto getreward;
	close;

getreward:
	set #EVENT_POINTS, #EVENT_POINTS - .@t;
	getitem 30000,.@t;
	close;

sorry for my bad english..

i cant speak english property because on my main language

itchimo estrenio

Edited by XkAcY-
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2371
  • Joined:  10/28/11
  • Last Seen:  

mes "Available Amount : 0 ~ "+( #EVENT_POINTS / 8 );
input .@Amount,0,( #EVENT_POINTS / 8 );
if( .@Amount ){
set #EVENT_POINTS,#EVENT_POINTS - ( .@Amount * 8 );
getitem 30000,.@Amount;
}
close;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  103
  • Reputation:   0
  • Joined:  11/13/11
  • Last Seen:  

not working :(

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2371
  • Joined:  10/28/11
  • Last Seen:  

if( .@Amount ){

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  103
  • Reputation:   0
  • Joined:  11/13/11
  • Last Seen:  

oh thanks now working thank you for fast response

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