i have this macro but is it possible to?......

Got a cool macro idea? Wanna request a macro? Here is the place for you!

Moderator: MacroQuest Developers

sunsnake
orc pawn
orc pawn
Posts: 18
Joined: Tue Mar 02, 2004 3:56 pm

i have this macro but is it possible to?......

Post by sunsnake » Sun Mar 07, 2004 10:22 pm

i use this macro and it works perfectly but i just want it to add everything i fish into inventory instead of /destroying it what do i do?


| - angler.mac -
|Angler 1.0 - By Feonix762 - main idea taken from Pheonix's fishing script.

#turbo

Sub Main

:Again
/if $char(hp,pct)<75 /call Help
/if $gm==TRUE /camp desktop
/if "$equip(primary,name)"=="Fishing Pole" /goto :GotIt
/if $invpanel==FALSE /press i
/delay 5
/finditem "Fishing Pole"
/delay 5
/finditem "Fishing Pole"
/delay 5
/autoinv
/cleanup
:GotIt
/doability Fishing
/delay 65

| Set this up as you see fit, will autoinv anything not included here.

/if "$cursor(name)"!~"Saltwater" /destroy
/goto :Again

Sub Help

/return

lost_man
orc pawn
orc pawn
Posts: 11
Joined: Sat Oct 11, 2003 5:52 pm

Post by lost_man » Sun Mar 07, 2004 11:10 pm

As long as you have nothing listed in the lower section of the macro it should auto invwhat ever you catch

sunsnake
orc pawn
orc pawn
Posts: 18
Joined: Tue Mar 02, 2004 3:56 pm

Post by sunsnake » Mon Mar 08, 2004 1:39 am

so deleate which parts?

anything after?
:GotIt
/doability Fishing
/delay 65 ???

GuardianX99
a lesser mummy
a lesser mummy
Posts: 43
Joined: Tue Dec 31, 2002 6:31 pm
Contact:

Post by GuardianX99 » Tue Mar 09, 2004 2:11 am

Hurmmm...

Just an idea....but POSSIBLY..........


the part that says "/DESTROY"??

...?

sunsnake
orc pawn
orc pawn
Posts: 18
Joined: Tue Mar 02, 2004 3:56 pm

Post by sunsnake » Wed Mar 10, 2004 8:23 pm

ya deleate the /destroy and tell me what happends?? i doesnt work i had to add in an /autoinv

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

Post by ieatacid » Wed Mar 10, 2004 11:01 pm

Just delete or comment out the whole line. Try it like this (the parts I changed are in red). Sub Help was empty so I removed that.

Code: Select all

| - angler.mac - 
|Angler 1.0 - By Feonix762 - main idea taken from Pheonix's fishing script. 

#turbo 

Sub Main 

:Again 
/if $gm==TRUE /camp desktop 
/if "$equip(primary,name)"=="Fishing Pole" /goto :GotIt 
/if $invpanel==FALSE /press i 
/delay 5 
/finditem "Fishing Pole" 
/delay 5 
/finditem "Fishing Pole" 
/delay 5 
/autoinv 
/cleanup 
:GotIt 
/doability Fishing 
/delay 65 
[color=red]|/if "$cursor(name)"!~"Saltwater" /destroy[/color]
/goto :Again

[color=red]/return[/color]