Custom swaps - geheur/More-menu-entry-swaps GitHub Wiki

Custom swaps quick start examples:

catch,eclectic impling

attack,mutated bloodveld* - * is to avoid writing out the (level-123) text.

use,cannonball -> dwarf multicannon

attack,starlight*,attack,commander zilyana* - attack starlight even if zilyana is on top of it.

view tag tabs - no 2nd section means this will only match entries with no target.

use,grimy* - changes the left-click on all "grimy" herbs.

take,*,attack,brutal black dragon* - pick up items that are under a brutal black dragon.

More formally, each line has 1-4 comma-separated bits of text. 1st is the "option" of the menu entry to swap to the top, 2nd is the "target" of that menu entry. Generally, you can tell where the "option" ends and the "target" begins by the color of the text, although sometimes it may be hard to tell, such as when useing an item on something else (see above for how to swap this). The 3rd and 4th cause the swap to only activate when the top menu entry matches them in option and target.

* can be used to represent any text, e.g. if you want a swap to apply to multiple similarly named items/npcs, or you don't care what a particular option or target contains, or you don't want to write out the entire menu text.

Custom hides are done similarly, but do not support the top entry conditional (3rd and 4th sections).

Custom swap limitations:

Jagex's rules limit the swapping and hiding of some entries:

  • Lure/Knock-out in blackjacking.

  • Player entries, including non-combat entries such as "trade with".

  • Manual spell cast onto npcs/players (e.g. cast ice barrage -> nylocas matomenos).