Jump to content
  • 0

chartalk


Lord Ganja

Question


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

is there a npc script which is like 'npctalk' ?

wherein it functions like npctalk but the one that will talk is the character that clicked it..

Maybe like this **I CONVERTED NPCTALK TO CHARTALK**

prontera,150,150,0 script test 57,{
chartalk "Hello world!";
end;
}

any alternatives with this script will do..

Thanks in advance!  /no1

Edited by Lord Ganja
Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

prontera,155,181,5	script	Sample	757,{
	unittalk getcharid(3),"I clicked on NPC Sample.";
	end;
}

use unittalk

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  61
  • Reputation:   12
  • Joined:  10/19/13
  • Last Seen:  

is there a npc script which is like 'npctalk' ?

wherein it functions like npctalk but the one that will talk is the character that clicked it..

Maybe like this **I CONVERTED NPCTALK TO CHARTALK**

prontera,150,150,0 script test 57,{
chartalk "Hello world!";
end;
}

any alternatives with this script will do..

Thanks in advance!  /no1

 

Hello!! ^___^ I just made this for you..

prontera,160,200,5	script	test_npc	859,{
	mes "May I Shout Your name?";
	next;
	switch(select("SURE!:")){

case 1: {
	
	atcommand "@kami "+ strcharinfo(0) + ": HELOOOOOOOOOO ALL!!!!";
	close2;
	end; }
	}
}
-----------------------------------
" + strcharinfo(0) + " (----> it automatically says the player's name ^___^)
------------------------------------
I put it on "codes" box so it won't be messy xD...
Edited by Veiler
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

 

is there a npc script which is like 'npctalk' ?

wherein it functions like npctalk but the one that will talk is the character that clicked it..

Maybe like this **I CONVERTED NPCTALK TO CHARTALK**

prontera,150,150,0 script test 57,{
chartalk "Hello world!";
end;
}

any alternatives with this script will do..

Thanks in advance!  /no1

 

Hello!! ^___^ I just made this for you..

prontera,160,200,5	script	test_npc	859,{
	mes "May I Shout Your name?";
	next;
	switch(select("SURE!:")){

case 1: {
	
	atcommand "@kami "+ strcharinfo(0) + ": HELOOOOOOOOOO ALL!!!!";
	close2;
	end; }
	}
}
-----------------------------------
" + strcharinfo(0) + " (----> it automatically says the player's name ^___^)
------------------------------------
I put it on "codes" box so it won't be messy xD...

 

...

he say's like an npctalk not a broadcast.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  61
  • Reputation:   12
  • Joined:  10/19/13
  • Last Seen:  

 

 

is there a npc script which is like 'npctalk' ?

wherein it functions like npctalk but the one that will talk is the character that clicked it..

Maybe like this **I CONVERTED NPCTALK TO CHARTALK**

prontera,150,150,0 script test 57,{
chartalk "Hello world!";
end;
}

any alternatives with this script will do..

Thanks in advance!  /no1

 

Hello!! ^___^ I just made this for you..

prontera,160,200,5	script	test_npc	859,{
	mes "May I Shout Your name?";
	next;
	switch(select("SURE!:")){

case 1: {
	
	atcommand "@me HELOOOOOOOOOO ALL!!!!";
	close2;
	end; }
	}
}
-----------------------------------
" + strcharinfo(0) + " (----> it automatically says the player's name ^___^)
------------------------------------
I put it on "codes" box so it won't be messy xD...

 

...

he say's like an npctalk not a broadcast.

 

 

ah... then change @kami to @me xD 

---edited above

Edited by Veiler
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

Like @me?

 OR

npctalk "Omg "+strcharinfo(0)+" just click Me ";
Edited by Yoga
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

prontera,150,150,0	script	test	57,{
unittalk 0,"My name is "+strcharinfo(0)+"!";
end;
}

/ok

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

@Veils and @Yoga

 Thanks for your replies but I think you didn't get my post.. But gave me an idea to make it possible :)

 

@nanakiwurtz

 Thanks, but it didn't work.

 

Anyway, I figured it out now, I just edited the @me in map_msg.conf then use @me for the chartalk thing..

 

Thanks to all of you :)

Edited by Lord Ganja
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

prontera,155,181,5	script	Sample	757,{
	unittalk getcharid(3),"I clicked on NPC Sample.";
	end;
}

use unittalk

 

 

Thanks Emistry! :) I thought unittalk is not working but it's because I didn't put the getcharid(3)..

Link to comment
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
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...