Moderator: MacroQuest Developers
Code: Select all
#Event TogBSAnnounce "[MQ2] BSAnnounce#*#"
#Event SetBSNotifier "[MQ2] BSNotifier#*#"
#Event TogBSTrack "[MQ2] BSTrack#*#"
#Event BackStab "You backstab #1# for #2# points of damage."
Code: Select all
/declare BSAnnounce bool outer TRUE
/declare BSNotifier string outer echo
/declare BSTrack bool outer TRUE
/declare MaxBS int outer 0
Code: Select all
/squelch /alias /bstrack /echo BSTrack
/squelch /alias /bsannounce /echo BSAnnounce
/squelch /alias /bsnotifier /echo BSNotifier
Code: Select all
/if (${Ini[RHSettings.ini,General,BSAnnounce].NotEqual[NULL]}) /varset BSAnnounce ${Ini[RHSettings.ini,General,BSAnnounce]}
/if (${Ini[RHSettings.ini,General,BSNotifier].NotEqual[NULL]}) /varset BSNotifier ${Ini[RHSettings.ini,General,BSNotifier]}
/if (${Ini[RHSettings.ini,General,BSTrack].NotEqual[NULL]}) /varset BSTrack ${Ini[RHSettings.ini,General,BSTrack]}
/if (${Ini[RHSettings.ini,General,MaxBS].NotEqual[NULL]}) /varset MaxBS ${Ini[RHSettings.ini,General,MaxBS]}
Code: Select all
/echo ** Announce Backstabs: ${BSAnnounce}, Notifier: ${BSNotifier}
/echo ** Track Max Backstabs: ${BSTrack}, Current Max: ${MaxBS}
Code: Select all
Sub Event_Backstab
/if (${BSAnnounce}) {
/if (${BSNotifier.Find[echo]}) /echo ${Param0}
/if (${BSNotifier.Find[popup]}) /popup ${Param0}
/if (${BSNotifier.Find[speak]}) /speak ${Param0}
/if (${Param2}>${MaxBS} && ${BSTrack}) {
/if (${BSNotifier.Find[echo]}) /echo New max Backstab of ${Param2}
/if (${BSNotifier.Find[popup]}) /popup New max Backstab of ${Param2}
/if (${BSNotifier.Find[speak]}) /speak New max Backstab of ${Param2}
/ini "RHSettings.ini" "General" "MaxBS" "${Param2}"
/varset MaxBS ${Param2}
}
}
/return
Sub Event_TogBSAnnounce
/if (${BSAnnounce}) {
/varset BSAnnounce FALSE
/echo ** Backstab Announcing is now OFF!
} else {
/varset BSAnnounce TRUE
/echo ** Backstab Announcing is now ON!
}
/ini "RHSettings.ini" "General" "BSAnnounce" "${BSAnnounce}"
/return
Sub Event_TogBSTrack
/if (${BSTrack}) {
/varset BSAnnounce FALSE
/echo ** Backstab Tracking is now OFF!
} else {
/varset BSTrack TRUE
/echo ** Backstab Tracking is now ON!
}
/ini "RHSettings.ini" "General" "BSTrack" "${BSTrack}"
/return
Sub Event_SetBSNotifier(string Line)
/if (${Line.Arg[3].Length}) /varset BSNotifier ${Line.Arg[3]}
/echo ** Backstab Notifier set to: "${BSNotifier}"
/ini "RHSettings.ini" "General" "BSNotifier" "${BSNotifier}"
/return

Code: Select all
/if (${Me.Combat}) {
|- ** We are fighting **

By reading the directions, it's pretty straight forward.tranze204 wrote:HEy i was trying to figure out
the /iset thing to keep up my eye pathc of plunder / mask of deception and coldain velium insigna ring how would i go about doing this?
Code: Select all
[color=violet]
| . /iset <itemalias> keepup|nokeepup <"Full Item Name"> command added. With
| this command you add an entry to the RHItems.ini file. This file contains
| information about your clickable spell items (any you wish to track or
| automatically cast from via shortcut or automaintain.
| . <itemalias> is a short name that YOU choose to refer to the item.
| . keepup|nokeepup - literally enter these words to indicate that you
| want these click items to be automatically re-cast when they drop.
| . "Full Item Name" - this field is the whole name of the click item.
| . Examples: /iset gob keepup "Shrunken Goblin Skull Earring"
| /iset ring keepup "Coldain Hero's Insignia Ring"
| /iset venom nokeepup "Stanos' Wicked Leggings"
|
| . /ibounce <itemalias> <"Spell Name"> command added. With this command you
| can add spell effects that cause this click item to "bounce off" (or not
| stack with it). You *MUST* account for all spell effects that cause the
| click item to bounce off of it, or you'll get into an infinite loop for
| any click-effect that you've set to "keepup" but can't due to being bounced
| by a superior spell! Obviously you must have already entered the item
| into the RHItems.ini file with the /iset command before adding bouncers.
| . <itemalias> is a short name that YOU choose to refer to the item.
| . <"Spell Name"> is the name of the spell that bounces this item's effect.
| . Examples: /ibounce gob "Strength of Tunare"
| /ibounce ring "Shield of Spikes"
| /ibounce ring "Shield of Thorns"
|
| . /iclick <itemalias> has been added. This command allows you execute a
| "right click" on any itemalias you've defined through /iset. If the item
| is on you or in your inventory, it will silently activate the effect
| without opening bags or inventory. If the item is in a pack, it will
| automatically locate the item, open the back, grab the item, swap it for
| the first location/item that equips it, cast the effect, swap the item
| back out, replace it where it came from, and close the pack it came from!
| . Examples: /iclick gob
| /iclick ring
[/color]Code: Select all
/iset haste keepup "Eye Patch of Plunder"
/iset mask keepup "Mask of Deception"
/iset ring keepup "Coldain Hero's Insignia Ring"
Code: Select all
/ibounce ring "Shield of Thorns"
Code: Select all
/iclick haste
..or..
/iclick mask
..or..
/iclick ring