- Joined
- Feb 6, 2007
- RedCents
- 1,453¢
I am wondering if it is possible to add more doability commends to this macro. The macro works great as it is written, but i would like my my bard and monk to also sneak and/or sense traps at the same time. I suspect I can just add the command /doability sneak under the /doability fish command. Is that correct? or will it cause problems?
I do not know very much about programming and only use very basic macro's and plugin's, mostly to avoid pressing the same key over and over a few hundred times. I rarely leave the computer for very long while macro's are running. I just don't want to mess up what is working good for me.
The macro code follows (hopefully in the box like it's suppose to), hehe.
I think this part :
Could be changed like this:
Am I correct?
I am also interested in a simple macro that will allow me to perform any ability such as lock pick, hide, sneak.... Just want it to activate the command for me is all really.
Thanks for taking the time to post an answer
I do not know very much about programming and only use very basic macro's and plugin's, mostly to avoid pressing the same key over and over a few hundred times. I rarely leave the computer for very long while macro's are running. I just don't want to mess up what is working good for me.
The macro code follows (hopefully in the box like it's suppose to), hehe.
Rich (BB code):
|*******************************************************************|
| - YodaFish.mac - *|
| - By: Yoda *|
| - v2.0 by DKAA *|
| *|
| Usage: *|
| To Fish and Gate if anything attacks you. *|
| Will Sit and camp out when you run out of bait. *|
| To be used with a Fisherman's Companion. *|
| *|
|*******************************************************************|
#turbo
#event BrokenPole "#*#You can't fish without a fishing pole, go buy one.#*#"
#event NoBait "#*#You can't fish without fishing bait, go buy some.#*#"
Sub Main
/cleanup
:Fish
/call CheckPole
/doability Fishing
/delay 65
/doevents
/if (!${Cursor.ID}) /goto :Fish
/if (${Cursor.Name.Equal[Tattered Cloth Sandal]}) {
/destroy
/delay 1s
} else {
/if (${Cursor.Name.Equal[Rusty Dagger]}) {
/destroy
/delay 1s
} else {
/call KeepItem
}
}
/goto :Fish
/return
Sub KeepItem
/if (${Cursor.Name.NotEqual[Fish Scales]}) /echo Caught ${Cursor.Name}
/notify InventoryWindow IW_CharacterView leftmouseup
/return
Sub CheckPole
/if (${Me.Inventory[mainhand].Name.Find[Fishing Pole]}) /return
/echo You need to put your fishing pole in your primary hand.
/endm
/return
Sub Event_BrokenPole
/endmacro
/return
Sub Event_NoBait
/endmacro
/return
I think this part :
Rich (BB code):
Sub Main
/cleanup
:Fish
/call CheckPole
/doability Fishing
/delay 65
/doevents
Could be changed like this:
Rich (BB code):
Sub Main
/cleanup
:Fish
/call CheckPole
/doability Fishing
/doability sneak
/doability "sense traps"
/doability hide
/delay 65
/doevents
Am I correct?
I am also interested in a simple macro that will allow me to perform any ability such as lock pick, hide, sneak.... Just want it to activate the command for me is all really.
Thanks for taking the time to post an answer