From 7c642fbf6e2b0fe93e106bdcf85c407142ad0ac6 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Wed, 25 Jul 2007 17:28:26 +0000 Subject: [PATCH] final fix for amb29 - ml issues with pause/stop saving in menu. Need to sync ml changes before can test; should be good. --- plugins/pausecfg.sma | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/plugins/pausecfg.sma b/plugins/pausecfg.sma index 3c4af29c..b96421b9 100755 --- a/plugins/pausecfg.sma +++ b/plugins/pausecfg.sma @@ -148,6 +148,10 @@ public actionMenu(id, key) g_Modified = 1 unpause("ac", file) } + case 's': + { + client_print(id, print_chat, "%L", id, "CANT_UNPAUSE_PLUGIN", file); + } } displayMenu(id, g_menuPos[id]) @@ -234,8 +238,8 @@ displayMenu(id, pos) } } - len += format(menu_body[len], 511-len, "^n7. %L^n", id, "CLEAR_STOPPED") - len += format(menu_body[len], 511-len, g_coloredMenus ? "8. %L \y\R%s^n\w" : "8. %L %s^n", id, "SAVE_STOPPED", g_Modified ? "*" : "") + len += format(menu_body[len], 511-len, "^n7. %L^n", id, "CLEAR_PAUSED") + len += format(menu_body[len], 511-len, g_coloredMenus ? "8. %L \y\R%s^n\w" : "8. %L %s^n", id, "SAVE_PAUSED", g_Modified ? "*" : "") if (end != datanum) { @@ -403,9 +407,7 @@ public cmdPlugin(id, level, cid) } else { - // TODO: change this to let out an error that the plugin is stopped - // need language keys for this first! Use old message for now - console_print(id, "%L", id, "PAUSE_COULDNT_FIND", arg) + console_print(id, "%L", id, "CANT_UNPAUSE_PLUGIN", arg) } } else @@ -475,8 +477,8 @@ public cmdPlugin(id, level, cid) console_print(id, "%L", id, "COM_PAUSE_STOP") console_print(id, "%L", id, "COM_PAUSE_PAUSE") console_print(id, "%L", id, "COM_PAUSE_ENABLE") - console_print(id, "%L", id, "COM_PAUSE_SAVE") - console_print(id, "%L", id, "COM_PAUSE_CLEAR") + console_print(id, "%L", id, "COM_PAUSE_SAVE_PAUSED") + console_print(id, "%L", id, "COM_PAUSE_CLEAR_PAUSED") console_print(id, "%L", id, "COM_PAUSE_LIST") console_print(id, "%L", id, "COM_PAUSE_ADD") }