Quesooo Posted October 9, 2018 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 October 9, 2018 As the tittle said can i request a savealoot and loadaloot command thank you masters Quote Link to comment Share on other sites More sharing options...
0 llchrisll Posted October 18, 2018 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted October 18, 2018 Now for dummy people like me, what exactly are those commands doing. I kinda believe what, but better asking than being wrong. Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted October 26, 2018 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1281 Reputation: 170 Joined: 06/12/12 Last Seen: 21 minutes ago Share Posted October 26, 2018 (edited) On 10/9/2018 at 6:45 PM, Quesooo said: As the tittle said can i request a savealoot and loadaloot command thank you masters Only for allotid not include @autoloot like before so call @save to input all item you want to save and then load it using @load - script AutoSetting -1,{ end; OnLoadcommand: if (auto_settings & 1 << 0) atcommand "@alootid +"+auto_settings_alid_1; if (auto_settings & 1 << 0) atcommand "@alootid +"+auto_settings_alid_2; if (auto_settings & 1 << 0) atcommand "@alootid +"+auto_settings_alid_3; end; OnSavecommand: while(1) { switch( select( "@alootid "+auto_settings_alid_1+" "+auto_settings_alid_2+" "+auto_settings_alid_3+" ["+((auto_settings & 1 << 1) ?"^00C000ON^000000":"^FF0000OFF^000000")+"]" ) ) { case 1: if (auto_settings & 1 << 0) { auto_settings_alid_1 = 0; auto_settings_alid_2 = 0; auto_settings_alid_3 = 0; auto_settings = auto_settings^1 << 0; } else { mes "Input Item ID #1"; input .@itemid1; mes "Input Item ID #2"; input .@itemid2; mes "Input Item ID #3"; input .@itemid3; next; mes $cf$; mes "^808000==================================^000000"; mes "Item ID #1 ^0000FF"+getitemname(.@itemid1)+"^000000 ("+.@itemid1+")"; mes "Item ID #2 ^0000FF"+getitemname(.@itemid2)+"^000000 ("+.@itemid2+")"; mes "Item ID #3 ^0000FF"+getitemname(.@itemid3)+"^000000 ("+.@itemid3+")"; mes "^808000==================================^000000"; next; if (select("Cancel","Ok") == 1) close; auto_settings_alid_1 = .@itemid1; auto_settings_alid_2 = .@itemid2; auto_settings_alid_3 = .@itemid3; auto_settings = auto_settings|1 << 0; } break; } } end; OnInit: bindatcmd("save",strnpcinfo(0)+"::OnSavecommand",0,99); bindatcmd("load",strnpcinfo(0)+"::OnLoadcommand",0,99); end; } Edited October 26, 2018 by hendra814 1 Quote Link to comment Share on other sites More sharing options...
Question
Quesooo
As the tittle said
can i request a savealoot and loadaloot command
thank you masters
Link to comment
Share on other sites
2 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.