PapaZola Posted August 31, 2020 Share Posted August 31, 2020 (edited) hello its posibble to add more etc i want all this item on the script 7073,7074,7075,7076,7077,7078,7079,7080,7081,7082,7083,7084,7085,7086,7087,7088,7089,7090,7091,7092 here my original scripthttps://pastebin.com/yLXU34GJ and have some debug problem Quote [Warning]: Unexpected type for argument 2. Expected number. [Debug]: Data: string value="0x33FF66" [Debug]: Function: announce [Debug]: Source (NPC): Break The Seal at prontera (142,187) Edited September 1, 2020 by PapaZola Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted August 31, 2020 Share Posted August 31, 2020 announce "Wow! The Seal has been annihilated by "+strcharinfo(0)+" He has just broken the seal and will start the quest of Valkyrie!","0x33FF66"; change to announce "Wow! The Seal has been annihilated by "+strcharinfo(0)+" He has just broken the seal and will start the quest of Valkyrie!", bc_all, 0x33FF66; Quote Link to comment Share on other sites More sharing options...
0 PapaZola Posted September 1, 2020 Author Share Posted September 1, 2020 10 hours ago, Emistry said: announce "Wow! The Seal has been annihilated by "+strcharinfo(0)+" He has just broken the seal and will start the quest of Valkyrie!","0x33FF66"; change to announce "Wow! The Seal has been annihilated by "+strcharinfo(0)+" He has just broken the seal and will start the quest of Valkyrie!", bc_all, 0x33FF66; Thanks emistry how about to add more item to gamble Quote Link to comment Share on other sites More sharing options...
0 Ronald Posted September 1, 2020 Share Posted September 1, 2020 case 1: // Castle Drops set [email protected],rand(1,500); if (([email protected] > 200) && ([email protected] < 205)) { set [email protected],rand(1,10); if (([email protected] > 0) && ([email protected] < 3)) set [email protected],7086; // esg else if (([email protected] > 2) && ([email protected] < 5)) set [email protected],7090; // ripple else if (([email protected] > 4) && ([email protected] < 7)) set [email protected],7091; // billow else if (([email protected] > 6) && ([email protected] < 9)) set [email protected],7077; // silver else if (([email protected] > 8) && ([email protected] < 11)) set [email protected],7078; // wov } else if (([email protected] > 0) && ([email protected] < 201)) set [email protected],7086; // esg else if (([email protected] > 204) && ([email protected] < 301)) set [email protected],7090; // ripple else if (([email protected] > 300) && ([email protected] < 401)) set [email protected],7091; // billow else if (([email protected] > 401) && ([email protected] < 481)) set [email protected],7077; // silver else if (([email protected] > 480) && ([email protected] < 501)) set [email protected],7078; // wov break; } Basically you just need to add more condition with the items you wanted to add. Quote Link to comment Share on other sites More sharing options...
0 PapaZola Posted September 1, 2020 Author Share Posted September 1, 2020 1 hour ago, Ronald said: case 1: // Castle Drops set [email protected],rand(1,500); if (([email protected] > 200) && ([email protected] < 205)) { set [email protected],rand(1,10); if (([email protected] > 0) && ([email protected] < 3)) set [email protected],7086; // esg else if (([email protected] > 2) && ([email protected] < 5)) set [email protected],7090; // ripple else if (([email protected] > 4) && ([email protected] < 7)) set [email protected],7091; // billow else if (([email protected] > 6) && ([email protected] < 9)) set [email protected],7077; // silver else if (([email protected] > 8) && ([email protected] < 11)) set [email protected],7078; // wov } else if (([email protected] > 0) && ([email protected] < 201)) set [email protected],7086; // esg else if (([email protected] > 204) && ([email protected] < 301)) set [email protected],7090; // ripple else if (([email protected] > 300) && ([email protected] < 401)) set [email protected],7091; // billow else if (([email protected] > 401) && ([email protected] < 481)) set [email protected],7077; // silver else if (([email protected] > 480) && ([email protected] < 501)) set [email protected],7078; // wov break; } Basically you just need to add more condition with the items you wanted to add. can give me an example i try add but when trying make it only get same item only 5 Quote case 1: // Castle Drops set [email protected],rand(1,500); if (([email protected] > 200) && ([email protected] < 205)) { set [email protected],rand(1,10); if (([email protected] > 0) && ([email protected] < 3)) set [email protected],7073; // esg else if (([email protected] > 2) && ([email protected] < 5)) set [email protected],7073; // ripple else if (([email protected] > 4) && ([email protected] < 7)) set [email protected],7074; // billow else if (([email protected] > 6) && ([email protected] < 9)) set [email protected],7075; // silver else if (([email protected] > && ([email protected] < 11)) set [email protected],7076; // wov else if (([email protected] > 2) && ([email protected] < 5)) set [email protected],7077; // ripple else if (([email protected] > 4) && ([email protected] < 7)) set [email protected],7078; // billow else if (([email protected] > 6) && ([email protected] < 9)) set [email protected],7079; // silver else if (([email protected] > && ([email protected] < 11)) set [email protected],7080; // wov else if (([email protected] > 2) && ([email protected] < 5)) set [email protected],7081; // ripple else if (([email protected] > 4) && ([email protected] < 7)) set [email protected],7082; // billow else if (([email protected] > 6) && ([email protected] < 9)) set [email protected],7083; // silver else if (([email protected] > && ([email protected] < 11)) set [email protected],7084; // wov else if (([email protected] > 2) && ([email protected] < 5)) set [email protected],7085; // ripple else if (([email protected] > 4) && ([email protected] < 7)) set [email protected],7086; // billow else if (([email protected] > 6) && ([email protected] < 9)) set [email protected],7087; // silver else if (([email protected] > && ([email protected] < 11)) set [email protected],7088; // wov else if (([email protected] > 2) && ([email protected] < 5)) set [email protected],7089; // ripple else if (([email protected] > 4) && ([email protected]le2 < 7)) set [email protected],7090; // billow else if (([email protected] > 6) && ([email protected] < 9)) set [email protected],7091; // silver else if (([email protected] > && ([email protected] < 11)) set [email protected],7092; // wov } else if (([email protected] > 0) && ([email protected] < 201)) set [email protected],7073; // esg else if (([email protected] > 204) && ([email protected] < 301)) set [email protected],7074; // ripple else if (([email protected] > 300) && ([email protected] < 401)) set [email protected],7075; // billow else if (([email protected] > 401) && ([email protected] < 481)) set [email protected],7076; // silver else if (([email protected] > 480) && ([email protected] < 501)) set [email protected],7077; // wov else if (([email protected] > 0) && ([email protected] < 201)) set [email protected],7078; // esg else if (([email protected] > 204) && ([email protected] < 301)) set [email protected],7079; // ripple else if (([email protected] > 300) && ([email protected] < 401)) set [email protected],7080; // billow else if (([email protected] > 401) && ([email protected] < 481)) set [email protected],7081; // silver else if (([email protected] > 480) && ([email protected] < 501)) set [email protected],7082; // wov else if (([email protected] > 0) && ([email protected] < 201)) set [email protected],7083; // esg else if (([email protected] > 204) && ([email protected] < 301)) set [email protected],7084; // ripple else if (([email protected] > 300) && ([email protected] < 401)) set [email protected],7085; // billow else if (([email protected] > 401) && ([email protected] < 481)) set [email protected],7086; // silver else if (([email protected] > 480) && ([email protected] < 501)) set [email protected],7087; // wov else if (([email protected] > 0) && ([email protected] < 201)) set [email protected],7088; // esg else if (([email protected] > 204) && ([email protected] < 301)) set [email protected],7089; // ripple else if (([email protected] > 300) && ([email protected] < 401)) set [email protected],7090; // billow else if (([email protected] > 401) && ([email protected] < 481)) set [email protected],7091; // silver else if (([email protected] > 480) && ([email protected] < 501)) set [email protected],7092; // wov break; } Quote Link to comment Share on other sites More sharing options...
hello its posibble to add more etc
i want all this item on the script
7073,7074,7075,7076,7077,7078,7079,7080,7081,7082,7083,7084,7085,7086,7087,7088,7089,7090,7091,7092
here my original script
https://pastebin.com/yLXU34GJ
and have some debug problem
Edited by PapaZolaLink to comment
Share on other sites