(1):

(n.) The act of machinating.

(2):

(n.) That which is devised; a device; a hostile or treacherous scheme; an artful design or plot.