def unswexclude_cmd(ses, args, input): """ Allows you to remove swexcludes. category: commands """ func = exported.get_manager("speedwalk").removeExcludes modutils.unsomething_helper(args, func, ses, "swexclude", "swexcludes")
def unvariable_cmd(ses, args, input): """ Allows you to remove variables. category: commands """ func = exported.get_manager("variable").removeVariables modutils.unsomething_helper(args, func, ses, "variable", "variables")
def unalias_cmd(ses, args, input): """ Allows you to remove aliases. category: commands """ func = exported.get_manager("alias").getAliasData(ses).removeAliases modutils.unsomething_helper(args, func, None, "alias", "aliases")
def unsubstitute_cmd(ses, args, input): """ Allows you to remove substitutes. category: commands """ func = exported.get_manager("substitute").removeSubstitutes modutils.unsomething_helper(args, func, ses, "substitute", "substitutes")
def unantisubstitute_cmd(ses, args, input): """ Allows you to remove antisubstitutes. category: commands """ func = exported.get_manager("substitute").removeAntiSubstitutes modutils.unsomething_helper(args, func, ses, "antisubstitute", "antisubstitutes")
def unhighlight_cmd(ses, args, input): """ Allows you to remove highlights. examples: #highlight {hello} #highlight {blah*} category: commands """ func = exported.get_manager("highlight").removeHighlights modutils.unsomething_helper(args, func, ses, "highlight", "highlights")
def ungag_cmd(ses, args, input): """ Allows you to remove gags. category: commands """ str = args["str"] quiet = args["quiet"] gm = exported.get_manager("gag") gd = gm.getGagData(ses) func = gd.removeGags modutils.unsomething_helper(args, func, None, "gag", "gags")
def unaction_cmd(ses, args, input): """ Removes action(s) from the manager. examples: #unaction {missed you.} #unaction missed* #unaction tag={indoor} see also: action, enable, disable, atags category: commands """ am = exported.get_manager("action") ad = am.getActionData(ses) func = lambda x: ad.removeActions(x, args["tag"]) modutils.unsomething_helper(args, func, None, "action", "actions")