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
Little Problem with ISS Dominator script
Author Message
Teilor Offline
Elpy
*

Posts: 4
Joined: Aug 2012
Reputation: 0
Version: 1.4.3.143
Post: #1
Star Little Problem with ISS Dominator script

Hi. I found on this forum script for ISS dominator. I add this script in this post.
I tried edit this script but i cant make to be script good.

I want normal script, for Iss Dominator. How it can work:
Iss Dominator stay in CH or any place.
If clan mamber say on @(Clan) : buff, Iss will be use:
Command("/useshortcutforce 1 1"); -- BUFFS MELODY
or If member say: Sonatas
Command("/useshortcutforce 1 2"); -- SONATAS
or If Clan member say wizzard/knight/warrior
Iss must target him and take harmony.

Please help. Can be work script which i added here but need little modyfication.

Please for help and thanks Smile


Attached File(s)
.lua  leader.lua (Size: 2.13 KB / Downloads: 126)
01-11-2014 12:13 PM
Find all posts by this user Quote this message in a reply
cobra8co Offline
Unknown
***

Posts: 407
Joined: Sep 2012
Reputation: 67
Version: 1.4.3.143
Post: #2
RE: Little Problem with ISS Dominator script

u can try with this... u can edit and will work nice... I think ...

    LUA Programming
function OnChatUserMessage(chatType, nick, msg)
	local caller = GetUserByName(nick);
	local Message = string.lower(msg);
	Message = Message:gsub("^%s*(.-)%s*$", "%1");
 
 ----------COMANDOS PARTY-------------
	if (chatType == L2ChatType.CHAT_PARTY) then
 if (Message == "wynn1") then
 Command("/useskill Wynn Aura");
 end;
 if (Message == "sigel1") then
 Command("/useskill Sigel Aura");
 end;
 if (Message == "aeore1") then
 Command("/useskill Aeore Aura");
 end;
 if (Message == "othell1") then
 Command("/useskill Othell Aura");
 end;
 if (Message == "tyrr1") then
 Command("/useskill Tyrr Aura");
 end;
 if (Message == "yul1") then
 Command("/useskill Yul Aura");
 end;
 if (Message == "pr1") then
 Command("/useskill Party Return");
 end;
 if (Message == "iron1") then
 Command("/useskill Iron Aura");
 end;
 if (Message == "challenge1") then
 Command("/useskill Challenge Aura");
 end;
 if (Message == "rhap1") then
 Command("/useskill Battle Rhapsody");
 end;
 if (Message == "dm1") then
 Command("/useskill Devil's Movement");
 end;
 if (Message == "rebirth1") then
 Command("/useskill Rebirth");
 end;
 if (Message == "ptleader1") then
 Command("/changepartyleader " ..nick);
 end;
 if (Message == "start1") then
 ClearTargets();
 end;
 if (Message == "stop1") then
 Command("/target " .. nick);
 end;
 if (Message == "assist1") then
 Command("/assist "..nick);
 end;
 ---------------HEAL Y RESS EN PARTY---------------
 if (Message == "heal1") then
 Command("/target " .. nick);
 Sleep(500);
 Command("/useskill Progressive Heal");
 Sleep(500*2);
 ClearTargets();
 end;
 if (Message == "heal2") then
 Command("/target " .. nick)
 Sleep(500);
 Command("/useskill Healing Melody");
 ClearTargets();
 CancelTarget(true);
 end;
 if (Message == "balance1") then
 Command("/useskill Balance Heal");
 end;
 if (Message == "partyres1") then
 Command("/useskill Group Resurrection");
 end;
 if (Message == "res1") then
 Command("/target " .. nick);
 Sleep(500);
 Command("/useskill Blessed Resurrection");
 Sleep(500*2);
 ClearTargets();
 end;
 if (Message == "res2") then
 Command("/target " .. nick);
 Sleep(200);
 Command("/useskill Angel�s Resurrection");
 Sleep(500*2);
 ClearTargets();
 end;
 
 -------------BUFF Party-------------
 if (Message == "buff1") then
 Sleep(1077);
 Command("/useskill Drum Melody");
 Sleep(1050);
 Command("/useskill Guitar Melody");
 Sleep(1050);
 Command("/useskill Harp Melody");
 Sleep(1050);
 Command("/useskill Horn Melody");
 Sleep(1050);
 Command("/useskill Pipe Organ Melody");
 Sleep(1050);
 Command("/useskill Lute Melody");
 Sleep(1050);
 Command("/useskill Holy Attack Resistance");
 Sleep(1050);
 Command("/useskill Elements Resistance");
 Sleep(1050);
 Command("/useskill Refreshing Sonata");
 Sleep(1050);
 Command("/useskill Prevailing Sonata");
 Sleep(1050);
 Command("/useskill Daring Sonata");
 Sleep(1050);
 end;
 
 if (Message == "sona1") then
 Sleep(1050);
 Command("/useskill Refreshing Sonata");
 Sleep(1050);
 Command("/useskill Prevailing Sonata");
 Sleep(1050);
 Command("/useskill Daring Sonata");
 end;
 
 if (Message == "war1") then
 Command("/target " .. nick);
 Sleep(800);
 Command("/useshortcut 3 11");
 Sleep(800);
 ClearTargets();
 end;
 
 if (Message == "wi1") then
 Command("/target " .. nick);
 Sleep(800);
 Command("/useskill Wizard's Harmony");
 Sleep(800);
 ClearTargets();
 end;
 
 if (Message == "kn1") then
 Command("/target " .. nick);
 Sleep(800);
 Command("/useskill Knight's Harmony");
 Sleep(800);
 ClearTargets();
 end;
 
 
 -----------------FAQ--------------------
 
 if (Message == "sss") then
 Command("/sit");
 end;
 
 if (Message == "ssss") then
 Command("/stand");
 end;
 
 if (Message == "danceformeeeee") then
 Command("/socialdance");
 end;
 
 if (Message == "applaude") then
 Command("/socialapplause");
 end;
 
 if (Message == "vvv") then
 Command("/socialvictory");
 end;
 
 
	end;
 
 
 
 --------------COMANDOS POR WISP--------------
 
	if (chatType == L2ChatType.CHAT_TELL) then
 if (Message == "party1") then
 Command("/invite " .. nick);
 end;
 if (Message == "ptleader1") then
 Command("/changepartyleader " .. nick);
 end;
 if (Message == "cc1") then
 Command("/target "..nick);
 Sleep(800);
 Command("/channelinvite");
 end;
 if (Message == "start1") then
 ClearTargets();
 end;
 if (Message == "leave1") then
 Command("/leave");
 end;
 if (Message == "follow1") then
 Command("/target " .. nick);
 Sleep(500);
 Command("/target " .. nick);
 Sleep(500);
 Command("/target " .. nick);
 end;
 if (Message == "stop1") then
 Command("/target " .. nick);
 end;
 if (Message == "start1") then
 ClearTargets();
 end;
 if (Message == "ptleader2") then
 Command("#ptleader1");
 end;
 
 ---------------BUFF POR WISP-------------	
 
 if (Message == "buffwa") then
 Command("/leave")
 Command("/target " .. nick)
 Sleep(500);
 Command("/invite " .. nick)
 Sleep(3077);
 Command("/useshortcut 3 11");
 Sleep(1050);
 Command("/useskill Drum Melody");
 Sleep(1050);
 Command("/useskill Guitar Melody");
 Sleep(1050);
 Command("/useskill Harp Melody");
 Sleep(1050);
 Command("/useskill Horn Melody");
 Sleep(1050);
 Command("/useskill Pipe Organ Melody");
 Sleep(1050);
 Command("/useskill Lute Melody");
 Sleep(1050);
 Command("/useskill Holy Attack Resistance");
 Sleep(1050);
 Command("/useskill Elements Resistance");
 Sleep(1050);
 Command("/useskill Daring Sonata");
 Sleep(1050);
 Command("/useskill Prevailing Sonata");
 Sleep(1050);
 Command("/useskill Refreshing Sonata");
 Sleep(1050);
 Command("/leave");
 end;
 
 if (Message == "buffwi") then
 Command("/target " .. nick)
 Sleep(500);
 Command("/invite " .. nick)
 Sleep(3077);
 Command("/useskill Wizard's Harmony");
 Sleep(1050);
 Command("/useskill Drum Melody");
 Sleep(1050);
 Command("/useskill Guitar Melody");
 Sleep(1050);
 Command("/useskill Harp Melody");
 Sleep(1050);
 Command("/useskill Horn Melody");
 Sleep(1050);
 Command("/useskill Pipe Organ Melody");
 Sleep(1050);
 Command("/useskill Lute Melody");
 Sleep(1050);
 Command("/useskill Holy Attack Resistance");
 Sleep(1050);
 Command("/useskill Elements Resistance");
 Sleep(1050);
 Command("/useskill Daring Sonata");
 Sleep(1050);
 Command("/useskill Prevailing Sonata");
 Sleep(1050);
 Command("/useskill Refreshing Sonata");
 Sleep(1050);
 Command("/leave");
 end;
 
 if (Message == "buffk") then
 Command("/target " .. nick)
 Sleep(500);
 Command("/invite " .. nick)
 Sleep(3077);
 Command("/useskill Knight's Harmony");
 Sleep(1050);
 Command("/useskill Drum Melody");
 Sleep(1050);
 Command("/useskill Guitar Melody");
 Sleep(1050);
 Command("/useskill Harp Melody");
 Sleep(1050);
 Command("/useskill Horn Melody");
 Sleep(1050);
 Command("/useskill Pipe Organ Melody");
 Sleep(1050);
 Command("/useskill Lute Melody");
 Sleep(1050);
 Command("/useskill Holy Attack Resistance");
 Sleep(1050);
 Command("/useskill Elements Resistance");
 Sleep(1050);
 Command("/useskill Daring Sonata");
 Sleep(1050);
 Command("/useskill Prevailing Sonata");
 Sleep(1050);
 Command("/useskill Refreshing Sonata");
 Sleep(1050);
 Command("/leave");
 end;
 
 if (Message == "sona1") then
 Command("/target " .. nick)
 Sleep(500);
 Command("/invite " .. nick)
 Sleep(3077);
 Command("/useskill Daring Sonata");
 Sleep(1050);
 Command("/useskill Prevailing Sonata");
 Sleep(1050);
 Command("/useskill Refreshing Sonata");
 Sleep(1050);
 Command("/leave");
 end;
 
 if (Message == "heal1") then
 Command("/target " .. nick)
 Sleep(600);
 Command("/useskill Healing Melody");
 Sleep(1000);
 ClearTargets();
 CancelTarget(true);
 end;
 if (Message == "heal") then
 Command("/target " .. nick)
 Sleep(500);
 Command("/useskill Panic Heal");
 ClearTargets();
 CancelTarget(true);
 end;
 
	---------------FAQ---------------------
 if (Message == "sss") then
 Command("/sit");
 end;
 
 if (Message == "ssss") then
 Command("/stand");
 end;
 
 if (Message == "danceformeeeee") then
 Command("/socialdance");
 end;
 
 if (Message == "applaude") then
 Command("/socialapplause");
 end;
 
 if (Message == "vvv") then
 Command("/socialvictory");
 end;
 if (Message == "duel1") then
 Command("/target "..nick);
 Sleep(800);
 Command("/duell");
 end;
 if (Message == "assist") then
 Command("/target "..nick);
 Sleep(600);
 Command("/assist");
 end;
 if (Message == "blast") then
 Sleep(800);
 Command("/useskillforce Dark Blast");
 end;
 if (Message == "death") then
 Sleep(800);
 Command("/useskillforce Death Strike");
 end;
 if (Message == "cerdo") then
 Sleep(800);
 Command("/useskill Quick Escape");
 end;
 if (Message == "rush1") then
 Sleep(800);
 Command("/useskillforce Assault Rush");
 end;
 
	end;
 
 
end;


P.S. is plugin
--- +1 or +2 me if I was helped you! try Google is your friend!
(This post was last modified: 01-11-2014 13:06 PM by cobra8co.)
01-11-2014 13:05 PM
Find all posts by this user Quote this message in a reply
 Reputed by : Fox(+2)
Teilor Offline
Elpy
*

Posts: 4
Joined: Aug 2012
Reputation: 0
Version: 1.4.3.143
Post: #3
RE: Little Problem with ISS Dominator script

cant use as script ?


PHP Code:
function OnChatUserMessage(chatTypenickmsg)
    
local caller GetUserByName(nick);
    
local Message string.lower(msg);
    
Message Message:gsub("^%s*(.-)%s*$""%1");
    
if (
chatType == L2ChatType.CHAT_CLANthen 
if (Message == "sss"then
 Command
("/sit");
 
end;
 
 if (
Message == "ssss"then
 Command
("/stand");
 
end;
 
 
 
end;
 
end


I use it as script.lua and i write in clan sss and he dont sit and nothing ;x

P.S How can add plugin? script is .lua but plugin what?
(This post was last modified: 01-11-2014 13:28 PM by Teilor.)
01-11-2014 13:20 PM
Find all posts by this user Quote this message in a reply
cobra8co Offline
Unknown
***

Posts: 407
Joined: Sep 2012
Reputation: 67
Version: 1.4.3.143
Post: #4
RE: Little Problem with ISS Dominator script

plugin and script have same extension .lua plugin need be put in plugin folder script in script folder...

rulz for plugin : If u add a plugin - u need to restart l2tower . close and open again your l2tower for load the plugin
Plugin , is don't have a command for activate is run when u log ... u don't need to do nothing just log in game and plugin will run ...
rulz for script : u can add when u want a script and run it...

--- +1 or +2 me if I was helped you! try Google is your friend!
(This post was last modified: 01-11-2014 13:38 PM by cobra8co.)
01-11-2014 13:37 PM
Find all posts by this user Quote this message in a reply
Teilor Offline
Elpy
*

Posts: 4
Joined: Aug 2012
Reputation: 0
Version: 1.4.3.143
Post: #5
RE: Little Problem with ISS Dominator script

Thanks a lot, you are pro Big Grin
01-11-2014 14:03 PM
Find all posts by this user Quote this message in a reply
vochikien Offline
Porta
*

Posts: 43
Joined: Feb 2014
Reputation: 11
Version: 1.4.2.135
Post: #6
RE: Little Problem with ISS Dominator script

invite for plugin
issrebuff for scripts


Attached File(s)
.lua  zIssRebuff.lua (Size: 50.83 KB / Downloads: 113)
.lua  invite.lua (Size: 234 bytes / Downloads: 112)
04-20-2014 09:09 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Problem with High Five client newlifeform 0 1,722 09-02-2022 17:36 PM
Last Post: newlifeform
  L2 Zaken Classic problem kvourg13 0 2,165 10-07-2018 05:29 AM
Last Post: kvourg13
  problem with the programm killbill 1 2,276 11-15-2017 02:54 AM
Last Post: kbelinh0
Sad License. problem jonathanf1 1 3,387 04-19-2017 23:07 PM
Last Post: Jonathan6666
  Problem... Critical error [c6 server] Nasif 2 4,612 10-18-2016 13:48 PM
Last Post: Verb
  AntiBot problem SaintRose 2 4,127 10-05-2016 22:27 PM
Last Post: Vinter
  Autofarm Script repeat without condition problem. either 3 4,912 05-25-2016 01:00 AM
Last Post: TheQQmaster
  how to resolve this problem? lozjan 1 3,068 05-21-2016 06:13 AM
Last Post: martlegion
  Healer Fix plugin problem aa300598 1 3,189 02-20-2016 13:21 PM
Last Post: Vinter
  Bot reset setting problem aa300598 2 3,686 02-04-2016 13:18 PM
Last Post: TheQQmaster



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