- Joined
- Jan 5, 2014
- Messages
- 14
- Reaction score
- 0
- Points
- 1
i edited this code by adding from the fishing mac in under tradeskills bot
but this is what i came up with i have fishermans compaion it wont summon and put the pole into my bag though but will fish as long as you have enough bait and your pole doesnt break
also couldnt get scales to destroy without messing up the macro
any suggestions welcome
not sure if this one works but
Code:#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
but this is what i came up with i have fishermans compaion it wont summon and put the pole into my bag though but will fish as long as you have enough bait and your pole doesnt break
Code:
#turbo
#event BrokenPole "#*#You can't fish without a fishing pole, go buy one.#*#"
#Event BrokenPole "#*#You need to put your fishing pole#*#"
#event NoBait "#*#You can't fish without fishing bait, go buy some.#*#"
#Event Holding "#*#can't fish while holding#*#"
#include common/sell.inc
#include common/buy.inc
#include common/packs.inc
#include common/cleanpacks.inc
#include common/CommonSubs.inc
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[Brell's Fishin' Pole]}) /return
/echo You need to put your fishing pole in your primary hand.
/endmacro
/return
Sub Event_BrokenPole
/if (${FindItemCount[=Fishing Pole]}>0) {
/call OpenPacks
/delay ${Math.Calc[${DelayMult}*1]}s
/nomodkey /ctrl /itemnotify ${FindItem[=Fishing Pole].InvSlot} leftmouseup
/delay 2s ${Cursor.ID}
/nomodkey /itemnotify mainhand leftmouseup
/delay 1s
/autoinv
/delay ${Math.Calc[${DelayMult}*2]}s
/call ClearCursor
/call ClosePacks
/return
} else {
/if (${FindItemCount[=Fisherman's Companion]}>0) {
/nomodkey /ctrl /itemnotify ${FindItem[=Fisherman's Companion].InvSlot} Rightmouseup
/delay ${Math.Calc[${DelayMult}*10]}s
/delay 2s ${Cursor.ID}
/nomodkey /itemnotify mainhand leftmouseup
/delay 1s
/autoinv
/call ClearCursor
/return
Sub Event_Holding
/call ClearCursor
/return
Sub Event_NoBait
/endmacro
/return
also couldnt get scales to destroy without messing up the macro
any suggestions welcome