Bringer Posted April 18, 2017 Posted April 18, 2017 Hello im request for Special Commands Only Level 99 GM can use it and buffs all players Online Buffs Will be Blessing and Increase Agi Quote
1 Azura Skyy Posted April 18, 2017 Posted April 18, 2017 (edited) Try this out. Let me know if it works. - script kdsfksdjhfksdj -1,{ OnInit: bindatcmd "buffall", strnpcinfo(0) +"::Onbuff",99,99; end; Onbuff: addrid 0,0; // ripped almost entirely from Annieruru's script which ripped a little bit from Winz script skilleffect 34,0; sc_start SC_BLESSING,600000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,600000,10; end; } Regards, ~Azura Skyy Edited April 18, 2017 by Azura Skyy 2 Quote
1 Skorm Posted April 20, 2017 Posted April 20, 2017 16 hours ago, Sryx said: Didn't test it, tell me if it doesnt work. Honestly in this situation just save yourself the trouble and use Addrid. - script kdsfksdjhfksdj -1,{ OnInit: bindatcmd "buffall", strnpcinfo(0) +"::Onbuff",99,99; end; Onbuff: addrid 0,0; // ripped almost entirely from Annieruru's script which ripped a little bit from Winz script if ( !checkvending( strcharinfo(0) ) ) { skilleffect 34,0; sc_start SC_BLESSING,600000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,600000,10; } end; } 2 Quote
0 Bringer Posted April 20, 2017 Author Posted April 20, 2017 On 4/18/2017 at 6:46 PM, Azura Skyy said: Try this out. Let me know if it works. - script kdsfksdjhfksdj -1,{ OnInit: bindatcmd "buffall", strnpcinfo(0) +"::Onbuff",99,99; end; Onbuff: addrid 0,0; // ripped almost entirely from Annieruru's script which ripped a little bit from Winz script skilleffect 34,0; sc_start SC_BLESSING,600000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,600000,10; end; } Regards, ~Azura Skyy can you add if the player vending no buff Quote
0 Sryx Posted April 20, 2017 Posted April 20, 2017 (edited) 3 hours ago, Bringer said: can you add if the player vending no buff - script kdsfksdjhfksdj -1,{ OnInit: bindatcmd "buffall", strnpcinfo(0) +"::Onbuff",99,99; end; Onbuff: //it also came from annieruru script freeloop(1); while ( getusers(1) > .@count ) { .@nb = query_sql("SELECT `account_id`,`name` FROM `char` WHERE `online` = 1 ORDER BY `account_id` LIMIT 128 OFFSET "+ .@count, .@aid,.@name$ ); .@i = 0; while ( .@i < .@nb ) { if ( !checkvending( .@name$[.@i] ) ){ skilleffect 34,0; sc_start SC_BLESSING,600000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,600000,10; } .@i++; } .@count += 128; } freeloop(0); end; } Didn't test it, tell me if it doesnt work. Edited April 20, 2017 by Sryx refined some commands Quote
Question
Bringer
Hello im request for Special Commands Only Level 99 GM can use it and buffs all players Online
Buffs Will be Blessing and Increase Agi
5 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.