Openkore.com

OpenKore Forums
It is currently 22 Nov 2017, 10:32

All times are UTC - 5 hours [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Help on NPC call
PostPosted: 15 Jun 2016, 09:15 
Offline
Noob
Noob

Joined: 15 Jun 2016, 09:05
Posts: 1
Hello guys,
src/Commands.pm

Line 4821, the code above gets npc interations, then results what in following in red , ok....

Code:
      my $msg = center(T(" Responses teste123 (").getNPCName($talk{ID}).") ", 40, '-') ."\n" .
         TF("#  Response\n");
      for (my $i = 0; $i < @{$talk{'responses'}}; $i++) {
         $msg .= swrite(
         "@< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<",
         [$i, $talk{responses}[$i]]);
      }
      $msg .= ('-'x40) . "\n";
      message $msg, "list";


Funcionária Kafra: [Kafra Recepcionista]
Funcionária Kafra: Bem-vindo à Corporação Kafra, nós sempre estamos ao seu lado.
Funcionária Kafra: Em que posso ajudá-lo?
Funcionária Kafra: Continuando a conversa automaticamente.

Responses teste123 (Funcionária Kafra)
# Response
0 Salvar
1 Usar Armazém
2 Usar Teleporte
3 Alugar um carrinho
4 Ver outras informações
5 Cancelar
6 Cancel Chat
----------------------------------------

Funcionária Kafra: Digite 'talk resp #' para escolher uma resposta.

but, i need to identify wheres the call code about in gree color, where it's called


thanks in advance


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group