Jump to content
Sign in to follow this  
Angelmelody

[Script CMD] showscript

Recommended Posts

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

Edited by Angelmelody

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

 

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 !!)

Share this post


Link to post
Share on other sites

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

 

Thanks :D

 

 plz try example npc, I think nothing is better than first hand experience

Share this post


Link to post
Share on other sites

 

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

 

Thanks :D

 

 plz try example npc, I think nothing is better than first hand experience

Why didn't I think of that, Good Idea :D

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.