Press O ingame
click on the Macros Tab
create a Macro
Example:
Line 1: /gsay Casting <Name of Spell> on %t
Line 2: /useability <Name of Spell>
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
/gsay Heal inc on %t!
/useability Bloom
The Name behind /useability must be exactly written like in your Knowledge Book (press K ingame) exept you are on a localized (french/german) server, there you have to use the original english name, not the translated one.
These are the only kind of 'Macros' SoE alows.