This is the fix for icon not going away. and i edited also the timer so it could handle
set .@timer, vip_status(2) - gettimetick(2);
it will be 86400 for 1 day. So for 5 seconds it should be 5 i believe.
// Script.cpp
+/*
+* fakeIcon
+* fakeIcon(CHAR_ID,ICON_ID,TIME,STATE)
+*/
+BUILDIN_FUNC(fakeIcon)
+{
+ int16 icon = EFST_BLANK;
+ TBL_PC* sd = map_charid2sd(script_getnum(st, 2));
+ FETCH(3, icon);
+ int time = 1000 * abs(script_getnum(st, 4));
+ bool state = (script_getnum(st, 5) == 1);
+
+ if (sd == NULL)
+ return SCRIPT_CMD_FAILURE;
+
+ if (icon <= EFST_BLANK || icon >= EFST_MAX)
+ icon = EFST_BLANK;
+
+ clif_status_change(&sd->bl, (enum efst_type)icon, state, time, 0, 0, 0);
+
+ return SCRIPT_CMD_SUCCESS;
+}
BUILDIN_FUNC(addrid)
// Script.cpp
++BUILDIN_DEF(fakeIcon,"iiii"),
BUILDIN_DEF(goto,"l"),