Jump to content

Lottery/Lotti


Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   4
  • Joined:  02/04/12
  • Last Seen:  

This is my own version of Lottery/Lotti npc script.

 

Options:

 

set .npc$,"[Lotti]"; // NPC Name
set .MaxNum,10; // Total number to win
setarray .SWinNum[0],1,2,5; // Number need to win Single Reward
setarray .MWinNum[0],3,4,6; // Number need to win Multi Reward
// Setup the .MWinT if you use Give random
set    .MWinall,0; // 1 = Give all Multi Reward, 0 = Give random

// Note: .MWinall must be 0 inorder to use this)
// Note: If Not-Repeat make sure Amount of reward >= .MReward item)
// 0 = Off (Default: 1 random item only), 1 = On; 0 = Consecutive , 1 = Random; 0 = Not, 1 = Repeat Reward;
// Format: <On/Off>,<Consecutive/Random>,<Not-Repeat/Repeat>,<Amount of reward can win>
setarray .MWinT[0],1,1,1,2;

// 1 = On , 0 = off;
set .announce,1; // announce
set .announcec$,"ffc0cb"; // announce color

// Format: <item ID>,<amount>{,...};
setarray .ItemR[0],909,5,7126,5; // Item ID,Item Amount
setarray .ZenyR,1000000; // Item Requirements

// Format: <item ID>,<amount>,<Refine>{,...};
setarray .SReward[0],2301,1,10,1202,1,5,2304,1,5,2319,1,5,909,5,0,741,1,0; // Single Reward

// Format: <item ID>,<amount>,<Refine>{,....};
setarray .MReward[0],501,5,0,502,5,0,503,5,0,504,5,0; //Multiple Reward

 

________________________________
I hope you like it :)

 

Lottie.txt

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

how it works

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
Reply to this topic...

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