L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
script or plugin for speak
Author Message
lord_knox Offline
Expired VIP Member
**

Posts: 17
Joined: Mar 2012
Reputation: 0
Version: 1.4.2.133
Post: #1
script or plugin for speak

Hi all, I was looking for some script or plugin, to answer for all , when they want to know if you are on or you´re bot. I was searching in this forum but don´t find anything... anyone know how? regards
04-02-2015 14:58 PM
Find all posts by this user Quote this message in a reply
capucine Offline
Expired VIP Member
**

Posts: 1,083
Joined: Jan 2013
Reputation: 208
Version: 1.4.2.142
Post: #2
RE: script or plugin for speak

(04-02-2015 14:58 PM)lord_knox Wrote:  Hi all, I was looking for some script or plugin, to answer for all , when they want to know if you are on or you´re bot. I was searching in this forum but don´t find anything... anyone know how? regards

AMIROOO made the following plugin lnog time ago... Look at it and modify it to your needs... All benefits to Amirooo...!

+2 rep me if it helped you...!

http://forum.l2tower.eu/thread-automatic-answer-on-pms
04-02-2015 15:21 PM
Find all posts by this user Quote this message in a reply
 Reputed by : lord_knox(+2)
lord_knox Offline
Expired VIP Member
**

Posts: 17
Joined: Mar 2012
Reputation: 0
Version: 1.4.2.133
Post: #3
RE: script or plugin for speak

Hello , I was looking for that but not whisp , to answer in all channel (i dont know how to do it). Wink
04-02-2015 21:10 PM
Find all posts by this user Quote this message in a reply
fender Offline
Goblin Grave Robber
*

Posts: 19
Joined: Mar 2015
Reputation: 10
Version: 1.4.1.128
Post: #4
RE: script or plugin for speak

(04-02-2015 21:10 PM)lord_knox Wrote:  Hello , I was looking for that but not whisp , to answer in all channel (i dont know how to do it). Wink

Replace
PHP Code:
function OnChatUserMessage(chatTypenickmsg)
 
 if (
chatType == 2) and (ShouldAnswerPM == falsethen
 Message 
string.gsub(string.lower(msg)," ","");
 if (
string.lower(nick) ~= string.lower(GetMe():GetName())) and (AFKmode == truethen 
 
if (oldnick ~= nickthen
 oldnick 
nick;
 
ChatCounter 0;
 
end;
 
 
ChatCounter ChatCounter+1;
 if (
ChatCounter <= MaxAutoAnswersForSameGuythen
 ShouldAnswerPM 
true;
 
PlayerToAnswerName nick;
 
MessageCurrentTime os.time(); 
 if (
CheckIfInsideList(Message,HelloRList)) then
 AnswerList 
HelloSList;
 
DelayinAnswer SaluteDelay; -- Delay in seconds
 
elseif CheckIfInsideList(Message,MockListthen 
 AnswerList 
MockSList;
 
DelayinAnswer OthersDelay; -- Delay in seconds
 
elseif CheckIfInsideList(Message,List2Rthen 
 AnswerList 
List2S;
 
DelayinAnswer OthersDelay; -- Delay in seconds
 
elseif CheckIfInsideList(Message,List3Rthen 
 AnswerList 
List3S;
 
DelayinAnswer OthersDelay; -- Delay in seconds 
 
else
 
AnswerList OthersSList;
 
DelayinAnswer OthersDelay; -- Delay in seconds
 end
;
 
Answer AnswerList[math.ceil(math.random(1,HowManyPossibleAnswersInTheList()))];    -- Choose Random Answer from the list. 
 
end;
 else 
 if (
Message == GoAFKCommand) and (AFKmode == falsethen
 AFKmode 
true;    
 
ShowToClient("Auto Chat Script","Im on AFK mode now, Auto chat is now Activated.");
 elseif (
Message == ImBackCommand) and (AFKmode == truethen 
 AFKmode 
false;
 
ShowToClient("Auto Chat Script","You Are Back, Auto chat is now Deactivated.");
 
end;
 
end;
 
end
end
to
PHP Code:
function OnChatUserMessage(chatTypenickmsg)
 
 if (
chatType == 0) and (ShouldAnswerPM == false) and (GetUserByName(nick) ~= nil) and (GetMe():GetRangeTo(GetUserByName(nick)) < 1000then
 Message 
string.gsub(string.lower(msg)," ","");
 if (
string.lower(nick) ~= string.lower(GetMe():GetName())) and (AFKmode == truethen 
 
if (oldnick ~= nickthen
 oldnick 
nick;
 
ChatCounter 0;
 
end;
 
 
ChatCounter ChatCounter+1;
 if (
ChatCounter <= MaxAutoAnswersForSameGuythen
 ShouldAnswerPM 
true;
 
PlayerToAnswerName nick;
 
MessageCurrentTime os.time(); 
 if (
CheckIfInsideList(Message,HelloRList)) then
 AnswerList 
HelloSList;
 
DelayinAnswer SaluteDelay; -- Delay in seconds
 
elseif CheckIfInsideList(Message,MockListthen 
 AnswerList 
MockSList;
 
DelayinAnswer OthersDelay; -- Delay in seconds
 
elseif CheckIfInsideList(Message,List2Rthen 
 AnswerList 
List2S;
 
DelayinAnswer OthersDelay; -- Delay in seconds
 
elseif CheckIfInsideList(Message,List3Rthen 
 AnswerList 
List3S;
 
DelayinAnswer OthersDelay; -- Delay in seconds 
 
else
 
AnswerList OthersSList;
 
DelayinAnswer OthersDelay; -- Delay in seconds
 end
;
 
Answer AnswerList[math.ceil(math.random(1,HowManyPossibleAnswersInTheList()))];    -- Choose Random Answer from the list. 
 
end;
 else 
 if (
Message == GoAFKCommand) and (AFKmode == falsethen
 AFKmode 
true;    
 
ShowToClient("Auto Chat Script","Im on AFK mode now, Auto chat is now Activated.");
 elseif (
Message == ImBackCommand) and (AFKmode == truethen 
 AFKmode 
false;
 
ShowToClient("Auto Chat Script","You Are Back, Auto chat is now Deactivated.");
 
end;
 
end;
 
end
end

and

PHP Code:
function OnLTick1s()
 
    if (
GetMe():GetCpPercent()>30then
 AmISafe 
true;
    
end;
 
    if (
LastTalkBulshitTime 15 os.time()) and (BSAnswer 0then
 Command
(AnswerList[BSAnswer]);
 
BSAnswer ;
    
end;
 
    if (
AFKmode == truethen
 
if (ShouldAnswerPM == truethen 
 
if (MessageCurrentTime+DelayinAnswer os.time() ) then 
 ShouldAnswerPM 
false;
 
SendPM(PlayerToAnswerNameAnswer); 
 
end;
 
end
    
end
 
end
to
PHP Code:
function OnLTick1s()
 
    if (
GetMe():GetCpPercent()>30then
 AmISafe 
true;
    
end;
 
    if (
LastTalkBulshitTime 15 os.time()) and (BSAnswer 0then
 Command
(AnswerList[BSAnswer]);
 
BSAnswer ;
    
end;
 
    if (
AFKmode == truethen
 
if (ShouldAnswerPM == truethen 
 
if (MessageCurrentTime+DelayinAnswer os.time() ) then 
 ShouldAnswerPM 
false;
 
Command(Answer); 
 
end;
 
end
    
end
 
end
[/code]
(This post was last modified: 04-02-2015 23:14 PM by fender.)
04-02-2015 23:12 PM
Find all posts by this user Quote this message in a reply
 Reputed by : lord_knox(+2) , gameconcac(+1)
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Interlude Augment script/plugin - l2mid anheoo 4 9,623 04-05-2020 10:59 AM
Last Post: icarox3
  L2 Speak npc Same time than Spawn fastkill22 0 1,771 01-26-2019 02:12 AM
Last Post: fastkill22
  Healer Fix plugin problem aa300598 1 3,166 02-20-2016 13:21 PM
Last Post: Vinter
  Craft plugin? aa300598 4 4,124 02-13-2016 11:32 AM
Last Post: TheQQmaster
WTB WTB SCRIPT OR PLUGIN ON CC khialove 0 1,772 08-26-2015 16:01 PM
Last Post: khialove
  Newbie Buff script/plugin Firemoth 1 3,355 05-22-2015 22:59 PM
Last Post: akimata
  cant see unstuck plugin on /cfg plugins after infinite odysey drake182 0 2,298 05-13-2015 16:23 PM
Last Post: drake182
  Whatsapp Group - English Speak NaoJogoMais 8 5,342 01-17-2015 23:35 PM
Last Post: Fox
  Best performance with code in Plugin than Script? rORUMI 2 2,847 09-14-2014 02:24 AM
Last Post: rORUMI
  feature for batch script/plugin encryption kerberos464 4 4,525 08-16-2014 23:40 PM
Last Post: kerberos464



User(s) browsing this thread: 1 Guest(s)