Implemented /script list
This commit is contained in:
@@ -1581,6 +1581,24 @@ cons_show_themes(GSList *themes)
|
||||
cons_alert();
|
||||
}
|
||||
|
||||
void
|
||||
cons_show_scripts(GSList *scripts)
|
||||
{
|
||||
cons_show("");
|
||||
|
||||
if (scripts == NULL) {
|
||||
cons_show("No scripts available.");
|
||||
} else {
|
||||
cons_show("Scripts:");
|
||||
while (scripts) {
|
||||
cons_show(scripts->data);
|
||||
scripts = g_slist_next(scripts);
|
||||
}
|
||||
}
|
||||
|
||||
cons_alert();
|
||||
}
|
||||
|
||||
void
|
||||
cons_prefs(void)
|
||||
{
|
||||
|
||||
@@ -278,6 +278,7 @@ void cons_show_status(const char * const barejid);
|
||||
void cons_show_info(PContact pcontact);
|
||||
void cons_show_caps(const char * const fulljid, resource_presence_t presence);
|
||||
void cons_show_themes(GSList *themes);
|
||||
void cons_show_scripts(GSList *scripts);
|
||||
void cons_show_aliases(GList *aliases);
|
||||
void cons_show_login_success(ProfAccount *account, int secured);
|
||||
void cons_show_software_version(const char * const jid,
|
||||
|
||||
Reference in New Issue
Block a user