Bringer Posted April 18, 2017 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: 12 hours ago Share 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 Link to comment Share on other sites More sharing options...
1 Azura Skyy Posted April 18, 2017 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 545 Reputation: 221 Joined: 03/01/13 Last Seen: January 2, 2023 Share 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 Link to comment Share on other sites More sharing options...
1 Skorm Posted April 20, 2017 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share 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 Link to comment Share on other sites More sharing options...
0 Cyro Posted April 18, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted April 18, 2017 just tested and its working Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted April 20, 2017 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: 12 hours ago Author Share 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 Link to comment Share on other sites More sharing options...
0 Sryx Posted April 20, 2017 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 520 Reputation: 64 Joined: 11/19/11 Last Seen: October 19, 2024 Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.