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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user