just to save my keyboard from hammering all my ability keys..
feat request .. $talking (i.e. if 9 is going to be reflected to a say or to a hotkey button), mouseto hotkey, clicking inv items without opening inventory
need reasons why getting the cannot parse error...
I bound /monk to /macro monkage for ease of use... just make hotkeys for /call mend /call switch :)
/call attack if you dont trust the macro to do it every 6.2 seconds
Code: Select all
|| by Rizwank
| 8/18/2002
| Basic monk script, just start and leave running and
| do /call Switch or /call Mend
| V.0.99, bugged "Couldnt Parse Sub Switch" but it still works
| V.1, Added Sub attack which allows you to epic/ID/Disarm/FlyingKick with one key
| Still annoying, however, is the need to pop up the inventory... I could bind
| items to hotkeys, but the point WAS to avoid that
| v.1.1 no need to press the damn thing, adding auto mode
| Bind epic to 9 .. weapon still requires opening inventory
| Runs epic every 12 seconds. Even when you are idle.
| Will also type 9 into your says if you are typing at that point.
| need /mouseto hotkey 9 to fix that or $saymode
| may need reruning whenever zone
| Automatically does abilities IF in combat mode.
| BTW the facesmasher has a weight of 0, tstaff of 10.0, thats why the weights
Sub Main
/echo Monkage Script Started
/varset t6 62
/varset t7 12s
:Loop
/delay 1
/doevents
/delay 1
/goto :Loop
/return
Sub Event_Timer
/if $p0==7 /press 9
/if $p0==7 /varset t7 12s
/if $p0==6 /call attack
/if $p0==5 /echo Five minutes to MEND
/if $p0==4 /echo Four minutes to MEND
/if $p0==3 /echo Three minutes to MEND
/if $p0==2 /echo Two minutes to MEND
/if $p0==1 /echo One minute to MEND
/if $p0==0 /echo MEND Available
/if $p0==0 /gsay $char(name)'s MEND is now available
/return
Sub Switch
/if $invpanel==false /press i
/if $equip(primary,weight)==0 /finditem "Tranquil Staff"
/if $equip(primary,weight)==100 /finditem "Facesmasher"
/click left equip primary
/click left auto
/press i
/if $equip(primary,weight)==0 /echo Equipped FACESMASHER
/if $equip(primary,weight)==100 /echo Equipped T-STAFF
/goto :Loop
Sub Mend
/if $t0!=0 /echo CANNOT use MEND, not ready
/if $t0!=0 /goto :Loop
/doability 3
/echo $char(name) just used MEND
/gsay $char(name) just used MEND
/varset t5 60s
/varset t4 120s
/varset t3 180s
/varset t2 240s
/varset t1 300s
/varset t0 360s
/goto :Loop
Sub Attack
|/doability 5 ID
|/doability 4 Disarm
|/doability 6 Flying Kick
/if $combat==true /doability 4
/if $combat==true /doability 6
/varset t6 62
/goto :Loop