Code: Select all
| - Fish.mac -
#include routines.mac
#event NoPole "You need to put your fishing pole in your primary hand."
#event NoBait "You can't fish without fishing bait, go buy some."
#event BrokePole "Your fishing pole broke!"
Sub Main
/cleanup
/sit on
:Fish
/if $char(ability,fishing)>0 /if $cursor()==NULL {
/doability Fishing
/doevents
/delay 13s
/if "$cursor(name)"=="Tattered Cloth Sandal" /click left destroy
/if "$cursor(name)"=="Rusty Dagger" /click left destroy
/if $cursor()==TRUE /click left auto
}
/goto :Fish
/return
Sub Event_NoPole
/stand
/endmacro
/return
Sub Event_NoBait
/stand
/endmacro
/return
Sub Event_BrokePole
/stand
/endmacro
/return
