mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 09:02:13 +02: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:
parent
072b8a75e0
commit
c96a0d2ac5
2 changed files with 16 additions and 4 deletions
|
|
@ -103,8 +103,12 @@ commands() - return list of all commands
|
||||||
dccs() - return list of all dcc connections
|
dccs() - return list of all dcc connections
|
||||||
logs() - return list of all log files
|
logs() - return list of all log files
|
||||||
|
|
||||||
print(str)
|
print(str, [level])
|
||||||
Print `str' to current window as "Irssi notice".
|
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]])
|
command(cmd, [Server server, [Channel channel]])
|
||||||
Send a command `cmd' (in current channel). This will work just as if you
|
Send a command `cmd' (in current channel). This will work just as if you
|
||||||
|
|
|
||||||
|
|
@ -23,10 +23,18 @@ OUTPUT:
|
||||||
RETVAL
|
RETVAL
|
||||||
|
|
||||||
void
|
void
|
||||||
print(str)
|
print(str, level=MSGLEVEL_CLIENTNOTICE)
|
||||||
char *str
|
char *str
|
||||||
|
int level;
|
||||||
CODE:
|
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);
|
||||||
|
|
||||||
|
|
||||||
#*******************************
|
#*******************************
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue