Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/17/19 in all areas

  1. for(.@i = EQI_ACC_L; .@i <= EQI_HAND_R; .@i++) { if(getequipisequiped(.@i)) { .@menu$ += F_getpositionname(.@i) + " - " + "[" + getequipname(.@i) + "]"; .@equipped = 1; } .@menu$ += ":"; } you dont really need the array for equipment position, you could use the F_getpositionname(...)
    2 points
  2. Version 2.0.0

    516 downloads

    Introduction: Due to the limitation of alootid that can only loot up to 10 items by default. (can change at /src/). However players are always greedy, they want to loot almost everything, but not every items, so 10 slots can't fill their desires. So this custom manager are introduced. It help player to setup different combination of alootid settings. (Different hunting monster/maps could switch to different settings) player no longer worry what their previous alootid settings was. player can switch/save any settings whenever they want. alootid settings could be auto loaded when they join the game. * In short, just a macro to use to the alootid atcommand. To make it less confusing to player, disable the alootid and start using alootid2 instead. Usage: @alootid2 list @alootid2 <save/add/remove> <#> <item1> ... <item10> @alootid2 <load/clear/reset> <#> @alootid2 set <#> name <name> @alootid2 set <#> autoload <1/0> Example: chatbox: @alootid2 save 3 609 608 607 Usage: @alootid2 save <3> - save successfully. chatbox: @alootid2 load 1 Your autolootitem list has been reset. Autolooting item: 'Green_Herb'/'Green Herb' {511} Autolooting item: 'Apple'/'Apple' {512} Autolooting item: 'Banana'/'Banana' {513} Autolooting item: 'Grape'/'Grape' {514} Autolooting item: 'Carrot'/'Carrot' {515} Usage: @alootid2 load <2> - loaded successfully. chatbox: @alootid2 list <1> - 501, 502, 503, 504, 505, 506, 507, 508, 509, 510 <2> - 511, 512, 513, 514, 515 (autoload upon login) <3> - 609, 608, 607 Usage: @alootid2 list - found 3 settings. Preview:
    Free
    1 point
  3. Just add an account variable tick to it if you want it to have an account cd, just match the cd to your quest_db cd. //= Instance Creation Check if (is_party_leader() == false) { mes "[Civilization Explorer]"; mes "Ah. You aren't the party leader. Take me to your leader! Or perhaps take your leader to me."; close; } if(#CentralLabCD > gettimetick(2)){ mes "[Civilization Explorer]"; mes "Account CD Mes"; close; } //= Instance Enter case IE_OK: mapannounce "verus01", "" + strcharinfo(0) + " of the party, " + getpartyname(.@party_id) + ", is entering Central Laboratory.",bc_map,"0x00FF99"; #CentralLabCD = gettimetick(2) + 9999999; //= Account CD setquest 12347;// Trace of Laboratory Access end;
    1 point
  4. my bad sorry , i misread getequipname to getitemname Dx
    1 point
  5. try setarray .@position$,"Accessory Left","Accessory Right","shoes","Garment","Lower","Middle","Upper","Armor","Left hand","Right hand"; set .@menu$, ""; for(.@i = 0; .@i <getarraysize(.@position$); .@i++) { if(getequipisequiped(.@i)) { set .@menu$, .@menu$ + .@position$[.@i] + " - " + "[" + getequipname(.@i) + "]"; .@equipped = 1; } set .@menu$, .@menu$ + ":"; }
    1 point
×
×
  • Create New...