Shikazu 11 Posted June 2, 2013 This script command is written to send color'ed messages to the player. dispbottomcolor is only writing messages to the players chatlog, but messagecolor is writing it to the chatlog and the message appears above his character's head. The source is available via github: https://github.com/shikazu/hpm-plugins/blob/master/src/plugins/ Usage: messagecolor <player>,<message>,<color>; Color is defined in db/const.txt and needs to be an integer. The color is optional, so you can still send messages like you did with message .. Both scripts are working the same ~Shikazu 2 jaBote and Xgear reacted to this Quote Share this post Link to post Share on other sites
Jaburak 48 Posted June 3, 2013 This works in rAthena SVN too? Quote Share this post Link to post Share on other sites
Shikazu 11 Posted June 3, 2013 HPM Plugins are hercules only, but you can grab the source and use the BUILDIN(messagecolor) and add it to your script.c Quote Share this post Link to post Share on other sites
Jaburak 48 Posted June 3, 2013 HPM Plugins are hercules only, but you can grab the source and use the BUILDIN(messagecolor) and add it to your script.c How to add it in script.c? Quote Share this post Link to post Share on other sites
Gerz 7 Posted July 18, 2013 server crash when using this scriptcommand, please check it again shizuka Quote Share this post Link to post Share on other sites
pr3p 39 Posted July 18, 2013 wow nice release thanks for the plugins Quote Share this post Link to post Share on other sites
pr3p 39 Posted July 18, 2013 HPM Plugins are hercules only, but you can grab the source and use the BUILDIN(messagecolor) and add it to your script.c How to add it in script.c? its a src modification sir add thos script on script.c on src folder located on map Quote Share this post Link to post Share on other sites
Namine 8 Posted April 25, 2015 this plugin no work in last hercules 2015 1>------ Operación Generar iniciada: proyecto: plugin-messagecolor, configuración: Release Win32 ------ 1>Compilación iniciada a las 24-04-2015 22:38:51. 1>InitializeBuildStatus: 1> Se creará "plugin-messagecolorplugin-messagecolor.unsuccessfulbuild" porque se especificó "AlwaysCreate". 1>ClCompile: 1> messagecolor.c 1>..srcpluginsmessagecolor.c(28): warning C4013: 'map_nick2sd' sin definir; se supone que extern devuelve como resultado int 1>..srcpluginsmessagecolor.c(28): warning C4047: '=' : 'TBL_PC *' es distinto en los niveles de direccionamiento indirecto de 'int' 1>..srcpluginsmessagecolor.c(43): warning C4013: 'BUILDIN_A' sin definir; se supone que extern devuelve como resultado int 1>..srcpluginsmessagecolor.c(43): error C2065: 'messagecolor' : identificador no declarado 1>..srcpluginsmessagecolor.c(43): warning C4047: 'función' : 'bool (__cdecl *)(script_state *)' es distinto en los niveles de direccionamiento indirecto de 'int' 1>..srcpluginsmessagecolor.c(43): warning C4024: 'función mediante puntero' : tipos distintos para el parámetro formal y el parámetro real 3 1>..srcpluginsmessagecolor.c(43): error C2198: 'función mediante puntero' : no hay suficientes argumentos para la llamada 1> 1>ERROR al compilar. 1> 1>Tiempo transcurrido 00:00:00.27 ========== Generar: 0 correctos, 1 incorrectos, 0 actualizados, 0 omitidos ========== Quote Share this post Link to post Share on other sites