[Script CMD] showscript

Angelmelody

(\ /) ( . .)
Messages
772
Points
0
Age
32
Location
new_1-1,53,111
Github
Angelmelody
Emulator
idea from here: http://herc.ws/board/topic/3257-aegis-showscript-command/?p=21640

*showscrpt("<message>"{,<GID>});
This script will display the output message on top of the units Head
If an optional GID is specified, msg will be shown on specified units head.
if GID isn't specified or target not exist, msg will be shown on the invoking character
if GID isn't specified and there is no player attached, msg will be shown on npc's head
 

example:

prontera,120,120,2 script bla 120,{ showscript("plz input an online player's name!"); input .@name$; .@tgid = getcharid(3,.@name$); showscript("this is a test!",.@tgid); close;OnInit: showscript "I m npc bla";end;}


download:
 

showscript.c

 

Attachments

Last edited by a moderator:
Nice! I think it should get merged in the repo but... Doesn't this do already pretty much the same thing?

*message "<character name>","<message>";
 
That command will send a message to the chat window of the character
specified by name. The text will also appear above the head of that
character. It will not be seen by anyone else.
 
Nice! I think it should get merged in the repo but... Doesn't this do already pretty much the same thing?

*message "<character name>","<message>";
 
That command will send a message to the chat window of the character
specified by name. The text will also appear above the head of that
character. It will not be seen by anyone else.
I think that the one from Angelmelody doesn't go to chat window, just as skills message (Fire bolt !!)

 
+1 Add to repo pls!
default_smile.png
)

 
this is like a title? can you show some images please if you don't mind.

Thanks
default_biggrin.png


 
Back
Top