IsabelaFernandez Posted July 31, 2018 Group: Members Topic Count: 145 Topics Per Day: 0.07 Content Count: 354 Reputation: 8 Joined: 04/16/18 Last Seen: January 4 Share Posted July 31, 2018 Hello, I would like a script for Vips (group 1) called @buffs2 that would open options to enchant the weapon with: Poison, Holy, Wind, Shadow, Earth, Water and Fire Quote Link to comment Share on other sites More sharing options...
1 hendra814 Posted August 1, 2018 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 1182 Reputation: 160 Joined: 06/12/12 Last Seen: 11 hours ago Share Posted August 1, 2018 14 hours ago, IsabelaFernandez said: Thank you, it worked perfectly, exactly as I wanted !!! <3 He only has one problem after selecting the enchantment, he only walks after using @refresh, do you have any idea what that might be? try this, just insert command for refresh - script paytowinbuffs -1,{ end; OnBuffs: .@size = getarraysize(.buffs$); for( .@i = 0; .@i < .@size; .@i++){ .@menu$ = .@menu$ + ""+.buffs$[.@i]+"" + ":"; } .@i = select(.@menu$) -1; sc_start .elements[.@i],180000,5; atcommand "@refresh "+strcharinfo(0); end; OnInit: setarray .buffs$, "Fire", "Water", "Earth", "Wind", "Holy", "Shadow", "Poison"; setarray .elements, 96, 97, "99", "98", "37", "144", "26"; bindatcmd "buffs2","paytowinbuffs::OnBuffs",5,99; end; } 1 1 Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted July 31, 2018 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 763 Reputation: 227 Joined: 02/11/17 Last Seen: September 21, 2023 Share Posted July 31, 2018 - script paytowinbuffs -1,{ end; OnBuffs: .@size = getarraysize(.buffs$); for( .@i = 0; .@i < .@size; .@i++){ .@menu$ = .@menu$ + ""+.buffs$[.@i]+"" + ":"; } .@i = select(.@menu$) -1; sc_start .elements$[.@i],180000,5; end; OnInit: setarray .buffs$, "Fire", "Water", "Earth", "Fire", "Wind", "Holy", "Shadow", "Poison"; setarray .elements$, "SC_FIREWEAPON", "SC_WATERWEAPON", "SC_EARTHWEAPON", "SC_WINDWEAPON", "SC_ASPERSIO", "SC_SHADOWWEAPON", "SC_ENCPOISON"; bindatcmd "buffs2","paytowinbuffs::OnBuffs",5,5; end; } 1 Quote Link to comment Share on other sites More sharing options...
0 IsabelaFernandez Posted July 31, 2018 Group: Members Topic Count: 145 Topics Per Day: 0.07 Content Count: 354 Reputation: 8 Joined: 04/16/18 Last Seen: January 4 Author Share Posted July 31, 2018 8 hours ago, crazyarashi said: - script paytowinbuffs -1,{ end; OnBuffs: .@size = getarraysize(.buffs$); for( .@i = 0; .@i < .@size; .@i++){ .@menu$ = .@menu$ + ""+.buffs$[.@i]+"" + ":"; } .@i = select(.@menu$) -1; sc_start .elements$[.@i],180000,5; end; OnInit: setarray .buffs$, "Fire", "Water", "Earth", "Fire", "Wind", "Holy", "Shadow", "Poison"; setarray .elements$, "SC_FIREWEAPON", "SC_WATERWEAPON", "SC_EARTHWEAPON", "SC_WINDWEAPON", "SC_ASPERSIO", "SC_SHADOWWEAPON", "SC_ENCPOISON"; bindatcmd "buffs2","paytowinbuffs::OnBuffs",5,5; end; } paytowin hahaha nice one Thanks for the intention, but unfortunately it did not work, would it be possible with bindatcmd script? Thank you dear Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted July 31, 2018 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 763 Reputation: 227 Joined: 02/11/17 Last Seen: September 21, 2023 Share Posted July 31, 2018 - script paytowinbuffs -1,{ end; OnBuffs: .@size = getarraysize(.buffs$); for( .@i = 0; .@i < .@size; .@i++){ .@menu$ = .@menu$ + ""+.buffs$[.@i]+"" + ":"; } .@i = select(.@menu$) -1; sc_start .elements[.@i],180000,5; end; OnInit: setarray .buffs$, "Fire", "Water", "Earth", "Wind", "Holy", "Shadow", "Poison"; setarray .elements, 96, 97, "99", "98", "37", "144", "26"; bindatcmd "buffs2","paytowinbuffs::OnBuffs",5,99; end; } Added some changes to it. it should add a command for VIP which is group 5 just edit it if you have custom group for VIP's 1 Quote Link to comment Share on other sites More sharing options...
0 IsabelaFernandez Posted July 31, 2018 Group: Members Topic Count: 145 Topics Per Day: 0.07 Content Count: 354 Reputation: 8 Joined: 04/16/18 Last Seen: January 4 Author Share Posted July 31, 2018 (edited) 54 minutes ago, crazyarashi said: - script paytowinbuffs -1,{ end; OnBuffs: .@size = getarraysize(.buffs$); for( .@i = 0; .@i < .@size; .@i++){ .@menu$ = .@menu$ + ""+.buffs$[.@i]+"" + ":"; } .@i = select(.@menu$) -1; sc_start .elements[.@i],180000,5; end; OnInit: setarray .buffs$, "Fire", "Water", "Earth", "Wind", "Holy", "Shadow", "Poison"; setarray .elements, 96, 97, "99", "98", "37", "144", "26"; bindatcmd "buffs2","paytowinbuffs::OnBuffs",5,99; end; } Added some changes to it. it should add a command for VIP which is group 5 just edit it if you have custom group for VIP's Thank you, it worked perfectly, exactly as I wanted !!! <3 He only has one problem after selecting the enchantment, he only walks after using @refresh, do you have any idea what that might be? Edited July 31, 2018 by IsabelaFernandez Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted July 31, 2018 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 763 Reputation: 227 Joined: 02/11/17 Last Seen: September 21, 2023 Share Posted July 31, 2018 Well sad to say i don't know why is that happening Quote Link to comment Share on other sites More sharing options...
0 IsabelaFernandez Posted August 1, 2018 Group: Members Topic Count: 145 Topics Per Day: 0.07 Content Count: 354 Reputation: 8 Joined: 04/16/18 Last Seen: January 4 Author Share Posted August 1, 2018 20 hours ago, crazyarashi said: Well sad to say i don't know why is that happening No problem, you've helped me a lot already. Thank you very much 6 hours ago, hendra814 said: try this, just insert command for refresh - script paytowinbuffs -1,{ end; OnBuffs: .@size = getarraysize(.buffs$); for( .@i = 0; .@i < .@size; .@i++){ .@menu$ = .@menu$ + ""+.buffs$[.@i]+"" + ":"; } .@i = select(.@menu$) -1; sc_start .elements[.@i],180000,5; atcommand "@refresh "+strcharinfo(0); end; OnInit: setarray .buffs$, "Fire", "Water", "Earth", "Wind", "Holy", "Shadow", "Poison"; setarray .elements, 96, 97, "99", "98", "37", "144", "26"; bindatcmd "buffs2","paytowinbuffs::OnBuffs",5,99; end; } I would suggest this, thank you friend, now it's perfect Quote Link to comment Share on other sites More sharing options...
Question
IsabelaFernandez
Hello, I would like a script for Vips (group 1) called @buffs2 that would open options to enchant the weapon with: Poison, Holy, Wind, Shadow, Earth, Water and Fire
Link to comment
Share on other sites
7 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.