Quesooo Posted June 30, 2017 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Share Posted June 30, 2017 good day i would like to ask why this script not working??? is there something wrong with this script? should i missed some details?? also please help me how to make this a random item thank you - script max_lv 99,{ // Configuration OnInit: .max_base = 175; .max_job = 60; .item_id = 19546; .amount = 1; end; // Script OnPCBaseLvUpEvent: OnPCJobLvUpEvent: // Determine if Base Level and Job Level are max if (BaseLevel == .max_base && JobLevel == .max_job) { // Receive reward getitem .19546, .1; // Display confirmation message message strcharinfo(0), "Congratulations! You have received "+ .amount +" "+ getitemname(.item_id) +" for reaching the max level!"; } end; } Quote Link to comment Share on other sites More sharing options...
0 Technoken Posted June 30, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: April 13 Share Posted June 30, 2017 Any errors? And are you sure that the script is loaded? Quote Link to comment Share on other sites More sharing options...
0 Quesooo Posted June 30, 2017 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Author Share Posted June 30, 2017 oops sorry for wrong post hahahaha yes i already loaded that script but its not working as well 2 players already reach max lvl 175 and job 60 but they got nothing Quote Link to comment Share on other sites More sharing options...
0 Deleted User Posted June 30, 2017 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 235 Reputation: 55 Joined: 12/02/11 Last Seen: February 26, 2021 Share Posted June 30, 2017 43 minutes ago, Questune09 said: good day i would like to ask why this script not working??? is there something wrong with this script? should i missed some details?? also please help me how to make this a random item thank you - script max_lv 99,{ // Configuration OnInit: .max_base = 175; .max_job = 60; .item_id = 19546; .amount = 1; end; // Script OnPCBaseLvUpEvent: OnPCJobLvUpEvent: // Determine if Base Level and Job Level are max if (BaseLevel == .max_base && JobLevel == .max_job) { // Receive reward getitem .19546, .1; // Display confirmation message message strcharinfo(0), "Congratulations! You have received "+ .amount +" "+ getitemname(.item_id) +" for reaching the max level!"; } end; } Typo: getitem .19546, .1; To getitem .item_id, .amount; 1 Quote Link to comment Share on other sites More sharing options...
0 Quesooo Posted June 30, 2017 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Author Share Posted June 30, 2017 15 hours ago, Kaze said: Typo: getitem .19546, .1; To getitem .item_id, .amount; thank you how about making a random item??? if players reach the max lvl and max job lvl he will get a random item Quote Link to comment Share on other sites More sharing options...
0 Deleted User Posted June 30, 2017 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 235 Reputation: 55 Joined: 12/02/11 Last Seen: February 26, 2021 Share Posted June 30, 2017 25 minutes ago, Questune09 said: thank you how about making a random item??? if players reach the max lvl and max job lvl he will get a random item Just check OnInit: to modify your likes. http://immortalsro.com/rAScripts/lvlup_rewards.txt 1 Quote Link to comment Share on other sites More sharing options...
0 Quesooo Posted June 30, 2017 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Author Share Posted June 30, 2017 thank you again Quote Link to comment Share on other sites More sharing options...
Question
Quesooo
good day i would like to ask why this script not working???
is there something wrong with this script? should i missed some details??
also please help me how to make this a random item thank you
- script max_lv 99,{ // Configuration OnInit: .max_base = 175; .max_job = 60; .item_id = 19546; .amount = 1; end; // Script OnPCBaseLvUpEvent: OnPCJobLvUpEvent: // Determine if Base Level and Job Level are max if (BaseLevel == .max_base && JobLevel == .max_job) { // Receive reward getitem .19546, .1; // Display confirmation message message strcharinfo(0), "Congratulations! You have received "+ .amount +" "+ getitemname(.item_id) +" for reaching the max level!"; } end; }
Link to comment
Share on other sites
6 answers to this question
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.