From: Darren Date: Sun, 14 Oct 2012 19:17:06 +0000 (+0100) Subject: Op related aliases included X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ac72d0812fbda66e4782e51ba9006898b8b2dce8;p=KiwiIRC.git Op related aliases included --- diff --git a/client/dev/model_application.js b/client/dev/model_application.js index 8bf0246..3e1051c 100644 --- a/client/dev/model_application.js +++ b/client/dev/model_application.js @@ -652,12 +652,22 @@ kiwi.model.Application = function () { this.bindControllboxCommands = function (controlbox) { // Default aliases $.extend(controlbox.preprocessor.aliases, { + // General aliases '/p': '/part $1+', '/me': '/action $1+', '/j': '/join $1+', '/q': '/query $1+', + + // Op related aliases + '/op': '/quote mode $channel +o $1+', + '/deop': '/quote mode $channel -o $1+', + '/hop': '/quote mode $channel +h $1+', + '/dehop': '/quote mode $channel -h $1+', + '/voice': '/quote mode $channel +v $1+', + '/devoice': '/quote mode $channel -v $1+', '/k': '/kick $1+', + // Misc aliases '/slap': '/me throws the juciest, sweetest kiwi at $1. Hits right in the kisser!', '/throw': '/slap $1+' });