summaryrefslogtreecommitdiff
path: root/src/core/commands.h
AgeCommit message (Collapse)Author
2002-02-03Added PARAM_FLAG_OPTCHAN_NAME which is like PARAM_FLAG_OPTCHAN, but doesn'tTimo Sirainen
allow using "*" to specify active channel. Used with /OP, /DEOP, /VOICE and /DEVOICE so you can do /OP * again :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02Moved some stuff from irc to core. Added command_bind_proto() function toTimo Sirainen
bind protocol-specific commands. Added #define command_bind_irc() for easier access. CMD_IRC_SERVER(server) check should be done at the beginning of each command requiring IRC server as active server, it handles it correctly the cases when it is not. Did some other cleanups as well. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11Moved PARAM_FLAG_OPTCHAN handling to core. Removed support for adding ownTimo Sirainen
command parameter parsers, it's probably useless now that opt.channels are in core. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1482 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17Destroy all settings and commands used by modules when they're unloaded.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1001 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-16/LAST - didn't work right.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@612 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12WJOIN -> /JOIN -windowTimo Sirainen
WQUERY -> /QUERY -window. Added support for /QUERY -<server tag>. Added aliases for WJOIN and WQUERY to default config file. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@590 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16Cleaned up code.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@480 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09Moved is_base_command() from command completion to command_have_sub()Timo Sirainen
in core/commands. /HELP <command with subcommands> works now right. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@437 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28Automatic command completion and a few other fixes.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@387 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28-options can now be completed with tabulator. There's also automaticTimo Sirainen
completion for them, like instead of /join -invite you can use just /join -i. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@385 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25Subcommand and command parameter completion works now also if you useTimo Sirainen
alias as the base command. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18Changed option handling in /commands. Irssi will now complain aboutTimo Sirainen
unknown options and missing option arguments. Renamed /SERVER -add, -remove and -list to /SERVER ADD, REMOVE and LIST. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17File name completion for /DCC SENDTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@361 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04/IRCNET command.Timo Sirainen
PARAM_FLAG_NOQUOTES flag for cmd_get_params() git-svn-id: http://svn.irssi.org/repos/irssi/trunk@290 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04Lots of DCC related fixes.Timo Sirainen
Added command_bind_first() and command_bind_last() functions. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@285 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15Lots of changes again. Biggest ones:Timo Sirainen
- window's text buffer should work better - themes are almost working, you can change the text formats with /format - automatically try to rejoin the channel after 5 minutes if the join there failed because it was "temporarily unavailable" (netsplits) - generally cleaning code.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27If we return with cmd_param_error() or cmd_return_error(), callTimo Sirainen
signal_stop() so if the command is bound multiple times (like core, which does the functionality and fe-common which prints the texts) it won't print the error message ever twice. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@190 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26..adding new files..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564