The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sysmessage override
Author Message
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #1
sysmessage override
Hi my friends, i need a little help here... every time a skill changes kind blue colored sysmessage appears showing the new value... welll i have 2 questions..

whats the hue for that sysmessage?? and how do i override it?

i have this event but as you must know i receive two messages.... the reason about why i want to override it to show only one message is that i have several SFK_scripted skills and i dont want to write it for each one .. so i made a global one

Code:
on=@SkillChange
    if   (<argn2> >= <src.<Serv.skill.<ARGN1>.Name>>)
         src.sysmessage @0120, Your skill in <Serv.skill.<ARGN1>.Name> has increased by <fval <argn2>-<src.<Serv.skill.<ARGN1>.Name>>>%, it is now <fval <argn2>>%.
    elif (<argn2> < <src.<Serv.skill.<ARGN1>.Name>>)
         src.sysmessage @0120, Your skill in <Serv.skill.<ARGN1>.Name> has decreased by <fval <src.<Serv.skill.<ARGN1>.Name>>-<argn2>>%, it is now <fval <argn2>>%.
    endif

so i dont want to receive two messages when default skills change, would you help me out?

THank you very much.
(This post was last modified: 08-17-2014 02:13 PM by kn4tseb.)
08-17-2014 02:12 PM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #2
RE: sysmessage override
It's client side, there is no way to override it. As for the hue color, I'm not sure, sorry.

Ah nevermind, I found the color, the hue color is @89.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
(This post was last modified: 08-17-2014 04:01 PM by Skul.)
08-17-2014 03:59 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #3
RE: sysmessage override
Got it Wink thanks!
08-17-2014 04:17 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)