Difference between revisions of "MQ2AdvLoot" - MMOBugs Wiki

Line 59: Line 59:
  
 
==Example Macro Usage==
 
==Example Macro Usage==
 +
<pre>
 
sub main
 
sub main
 
:loop
 
:loop
Line 72: Line 73:
 
/if (${AdvLoot.Active}) /goto :loot
 
/if (${AdvLoot.Active}) /goto :loot
 
/return
 
/return
 
+
</pre>
 
==Sample Configuration==
 
==Sample Configuration==
  

Revision as of 21:15, 6 August 2009

Plugin Info
Name MQ2AdvLoot
Author Unity0110
Link Wiki Link
Commands /advloot
Source Available No
Uses INI File Yes

Description

Loot corpse(s) with keep/destroy lists.

Commands

  • /advloot Loots your current corpse target.
  • /advloot LootAll Loot all corpses in the zone, AllowStealth or AllowWarp must be enabled.
  • /advloot Help Display all the commands available with a description.
  • /advloot Status Shows the status of AllowStealth, AllowWarp, EchoDestroy, EchoKeep, and EchoLootMSG.
  • /advloot AllowStealth Allows stealth to be used during looting.
  • /advloot AllowWarp Allows warp to be used during looting.
  • /advloot EchoDestroy Toggle the display of destroy messages.
  • /advloot EchoKeep Toggle the display of keep messages.
  • /advloot EchoLootMSG Toggle the display of 'looting' messages.

Example Usage

This command will loot your current corpse target.

  • /advloot


This command will loot your current corpse target.

  • /advloot lootall


This command will display all the commands available and a short description of them.

  • /advloot help


This command will show the status of AllowStealth, AllowWarp, EchoDestroy, EchoKeep, and EchoLootMSG.

  • /advloot status


This command will enable stealth to be used during the lootall command. (Default: False)

  • /advloot AllowStealth true


This command will enable warp to be used during the lootall command. (Default: False)

  • /advloot AllowWarp true


This command will disable the destroy messages. (Default: True)

  • /advloot EchoDestroy false


This command will disable the keep messages. (Default: True)

  • /advloot EchoKeep false


This command will disable the 'looting' messages. (Default: True)

  • /advloot EchoLootMSG false

Example Macro Usage

sub main
:loop
/if (${SpawnCount[corpse]} >= 5) /call lootall
/goto :loop
/return

sub lootAll
/advloot lootall
/delay 3
:loot
/delay 1
/if (${AdvLoot.Active}) /goto :loot
/return

Sample Configuration

MQ2AdvLoot.ini

[Settings]
AllowStealth=False
AllowWarp=False
EchoDestroy=True
EchoKeep=True
EchoLootMSG=True
[Items]
Scale ore=Destroy
Superb Silk=Destroy
Diamond=Keep
Blue Diamond=Keep
Raw Diamond=Keep

Availability

This plugin is in beta stage, but will soon be added to the MMOBugs compile.