1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-13 05:03:45 -04:00

Implemented Irssi::print_window(), added optional level parameter to

Irssi::print()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@597 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-08-13 13:54:34 +00:00 committed by cras
parent 072b8a75e0
commit c96a0d2ac5
2 changed files with 16 additions and 4 deletions

View File

@ -103,8 +103,12 @@ commands() - return list of all commands
dccs() - return list of all dcc connections
logs() - return list of all log files
print(str)
Print `str' to current window as "Irssi notice".
print(str, [level])
Print `str' to some window (status/current probably), default level is
"Irssi notice".
print_window(str, [level])
Print `str' to current window, default level is "Irssi notice".
command(cmd, [Server server, [Channel channel]])
Send a command `cmd' (in current channel). This will work just as if you

View File

@ -23,10 +23,18 @@ OUTPUT:
RETVAL
void
print(str)
print(str, level=MSGLEVEL_CLIENTNOTICE)
char *str
int level;
CODE:
printtext(NULL, NULL, MSGLEVEL_CLIENTNOTICE, str);
printtext(NULL, NULL, level, str);
void
print_window(str, level=MSGLEVEL_CLIENTNOTICE)
char *str
int level;
CODE:
printtext_window(active_win, level, str);
#*******************************