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-nmm7 (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-nmm7 (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-nmm7 (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
Custom @toolip Message
Author Message
falsemirage
Apprentice
*

Posts: 13
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2013
Reputation: 0



Post: #1
Custom @toolip Message
Hello everybody,
Many years ago I've found a script in this site. But my backup files are gone and I can't find the script anymore.

I don't exactly remember the script but you were able to write anything on tooltips.
Example of how to use it for items if I remember correctly;

Code:
on=@tooltip
src.addtooltip <name>
src.addtooltip +25 Hp Regen
Return 1

and there was another script to make "addtooltip" like a function or something.
I've search the forum but couldn't find what I was looking for.
I would appreciate any help !
01-13-2016 03:09 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Custom @toolip Message
http://wiki.sphere.torfo.org/index.php/ADDCLILOC for adding cliloc to a tooltip
(This post was last modified: 01-13-2016 06:06 PM by darksun84.)
01-13-2016 06:05 PM
Find all posts by this user Like Post Quote this message in a reply
Artyk
Journeyman
*

Posts: 75
Likes Given: 43
Likes Received: 9 in 9 posts
Joined: Sep 2014
Reputation: 0



Post: #3
RE: Custom @toolip Message
You can take a look for some examples at this Script Pack's script
01-13-2016 11:05 PM
Find all posts by this user Like Post Quote this message in a reply
falsemirage
Apprentice
*

Posts: 13
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2013
Reputation: 0



Post: #4
RE: Custom @toolip Message
Thanks for the replies.
I've checked both of your suggestions however those requires me to know addcliloc numbers.
Script I've found years ago was able to eliminate the need of using addcliloc with a function.
If I use this cliloc 1070722 I can get a custom text but it's only for one line so it's not really what I'm looking for.
Thanks for the help again.
01-14-2016 11:46 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #5
RE: Custom @toolip Message
UO clients have only 2 empty clilocs (1042971 and 1070722), you can use these 2 clilocs, or use <br> on an single cliloc args to make the text jump to next line
01-14-2016 12:26 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Coruja's post
falsemirage
Apprentice
*

Posts: 13
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2013
Reputation: 0



Post: #6
RE: Custom @toolip Message
Ah thx for the help but I've found the script I'm looking for in this thread sorry for wasting your time Cry.


http://forum.spherecommunity.net/Thread-...=addcliloc

now that I've worked on it a little bit more I have better understanding of this thing.
A huge thanks to all of you and @Coruja for telling me that I can use <def.br> to make my text into second line Veryhappy
(This post was last modified: 01-14-2016 01:56 PM by falsemirage.)
01-14-2016 01:35 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)