alias acceptall { if ($1 == on && !%qcacceptall) { echo -at [Accept All] You have enabled the Accept All feature. All Private Messages will now be Accepted. set %qcacceptall on } if ($1 == off && %qcacceptall) { echo -at [Accept All] You have disabled the Accept All feature. unset %qcacceptall } if ($1 == on && %qcacceptall) { echo -at [Accept All] The Accept All feature is already enabled. } if ($1 == off && !%qcacceptall) { echo -at [Accept All] The Accept All feature is already disabled. } } alias declineall { if ($1 == on && !%qcdeclineall) { echo -at [Decline All] You have enabled the Decline All feature. All Private Messages will now be Decline. set %qcdeclineall on } if ($1 == off && %qcdeclineall) { echo -at [Decline All] You have disabled the Decline All feature. unset %qcdeclineall } if ($1 == on && %qcdeclineall) { echo -at [Decline All] The Decline All feature is already enabled. } if ($1 == off && !%qcdeclineall) { echo -at [Decline All] The Decline All feature is already disabled. } } alias ignoreall { if ($1 == on && !%qcignoreall) { echo -at [Ignore All] You have enabled the Decline All feature. All Private Messages will now be Ignored. set %qcignoreall on ignore -p * } if ($1 == off && %qcignoreall) { echo -at [Ignore All] You have disabled the Ignore All feature. unset %qcignoreall ignore -r * } if ($1 == on && %qcignoreall) { echo -at [Ignore All] The Ignore All feature is already enabled. } if ($1 == off && !%qcignoreall) { echo -at [Ignore All] The Ignore All feature is already disabled. } }