#pragma once

#include "system/angband.h"

extern bool *macro__cmd;
extern char *macro__buf;

extern bool get_com_no_macros;

extern concptr *macro__pat;
extern concptr *macro__act;
extern s16b macro__num;

int macro_find_exact(concptr pat);
int macro_find_check(concptr pat);
errr macro_add(concptr pat, concptr act);
int macro_find_maybe(concptr pat);
int macro_find_ready(concptr pat);
