paolokupal Posted March 5, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 49 Reputation: 4 Joined: 02/04/12 Last Seen: October 18, 2018 Share Posted March 5, 2013 This is my own version of Lottery/Lotti npc script. Options: set .npc$,"[Lotti]"; // NPC Nameset .MaxNum,10; // Total number to winsetarray .SWinNum[0],1,2,5; // Number need to win Single Rewardsetarray .MWinNum[0],3,4,6; // Number need to win Multi Reward// Setup the .MWinT if you use Give randomset .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; // announceset .announcec$,"ffc0cb"; // announce color// Format: <item ID>,<amount>{,...};setarray .ItemR[0],909,5,7126,5; // Item ID,Item Amountsetarray .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 1 Quote Link to comment Share on other sites More sharing options...
donkeyg Posted March 6, 2013 Group: Members Topic Count: 344 Topics Per Day: 0.07 Content Count: 1060 Reputation: 1 Joined: 02/13/12 Last Seen: November 14, 2016 Share Posted March 6, 2013 how it works Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.