Post by Masi on May 16, 2016 3:21:10 GMT
Preview
Yes I know the icons look meh, feel free to change them to whatever fits you.
How it works:
MCs which have this script turned on will cast $player_spell everytime Leader says $leader_spell.
To change the $player_spell click any icon with (P) at the end.
To change the $leader_spell click any icon with (L) at the end.
To turn the combo off/on click on the stop/start icons.
Put into hotkeys:
Change LEADER to leaders name
And aditionally this if you want to see what are the currently set spells: (Not required for script to work)
Put into icons:
Yes I know the icons look meh, feel free to change them to whatever fits you.
How it works:
MCs which have this script turned on will cast $player_spell everytime Leader says $leader_spell.
To change the $player_spell click any icon with (P) at the end.
To change the $leader_spell click any icon with (L) at the end.
To turn the combo off/on click on the stop/start icons.
Put into hotkeys:
Change LEADER to leaders name
auto 1 dontlist | if [$combo == active] {foreach 'newmessages' $a if [$a.sender == 'LEADER' && $a.content == $leader_spell] {say $player_spell}}
And aditionally this if you want to see what are the currently set spells: (Not required for script to work)
auto 1 dontlist | setpos [$screenleft-190] [$screentop+60] | displaytext "Leader: [$leader_spell]"
auto 1 dontlist | setpos [$screenleft-190] [$screentop+80] | displaytext "Player: [$player_spell]"
Put into icons:
[Icons]
Name: LEADER (DRUID)
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $leader_spell exevo gran mas frigo | statusmessage "Leader spell changed to [$leader_spell]."
RightCommand:
State: Inactive
IconType: Center
IconIds: 3165 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 0
AlignY: Absolute
PositionY: 290
Text: FRIGO(L)
TextColor: 16776960
HoverColor: 16776960
State: Active
IconType: Center
IconIds: 3165 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 0
AlignY: Absolute
PositionY: 290
Text: FRIGO(L)
TextColor: 16776960
HoverColor: 16776960
Name: LEADER (SORC)
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $leader_spell exevo gran mas flam | statusmessage "Leader spell changed to [$leader_spell]."
RightCommand:
State: Inactive
IconType: Center
IconIds: 3191 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 75
AlignY: Absolute
PositionY: 290
Text: MAS FLAM(L)
TextColor: 4412655
HoverColor: 4412655
State: Active
IconType: Center
IconIds: 3191 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 75
AlignY: Absolute
PositionY: 290
Text: MAS FLAM(L)
TextColor: 4412655
HoverColor: 4412655
Name: LEADER (KNIGHT)
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $leader_spell exori gran | statusmessage "Leader spell changed to [$leader_spell]."
RightCommand:
State: Inactive
IconType: Center
IconIds: 7421 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 0
AlignY: Absolute
PositionY: 220
Text: GRAN(L)
TextColor: 11993179
HoverColor: 11993179
State: Active
IconType: Center
IconIds: 7421 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 0
AlignY: Absolute
PositionY: 220
Text: GRAN(L)
TextColor: 11993179
HoverColor: 11993179
Name: LEADER (KNIGHT2)
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $leader_spell exori hur | statusmessage "Leader spell changed to [$leader_spell]."
RightCommand:
State: Inactive
IconType: Center
IconIds: 7421 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 75
AlignY: Absolute
PositionY: 220
Text: HUR(L)
TextColor: 11993179
HoverColor: 11993179
State: Active
IconType: Center
IconIds: 7421 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 75
AlignY: Absolute
PositionY: 220
Text: HUR(L)
TextColor: 11993179
HoverColor: 11993179
Name: LEADER (PALL)
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $leader_spell exevo mas san | statusmessage "Leader spell changed to [$leader_spell]."
RightCommand:
State: Inactive
IconType: Center
IconIds: 8027 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 0
AlignY: Absolute
PositionY: 150
Text: MAS SAN(L)
TextColor: 18577
HoverColor: 18577
State: Active
IconType: Center
IconIds: 8027 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 0
AlignY: Absolute
PositionY: 150
Text: MAS SAN(L)
TextColor: 18577
HoverColor: 18577
Name: LEADER (PALL2)
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $leader_spell exori con | statusmessage "Leader spell changed to [$leader_spell]."
RightCommand:
State: Inactive
IconType: Center
IconIds: 8027 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 65
AlignY: Absolute
PositionY: 150
Text: CON(L)
TextColor: 18577
HoverColor: 18577
State: Active
IconType: Center
IconIds: 8027 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 65
AlignY: Absolute
PositionY: 150
Text: CON(L)
TextColor: 18577
HoverColor: 18577
Name: LEADER (PALL3)
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $leader_spell exori san | statusmessage "Leader spell changed to [$leader_spell]."
RightCommand:
State: Inactive
IconType: Center
IconIds: 8027 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 130
AlignY: Absolute
PositionY: 150
Text: SAN(L)
TextColor: 18577
HoverColor: 18577
State: Active
IconType: Center
IconIds: 8027 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 130
AlignY: Absolute
PositionY: 150
Text: SAN(L)
TextColor: 18577
HoverColor: 18577
Name: PLAYER (DRUID)
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $player_spell exevo gran mas frigo | statusmessage "Player spell changed to [$player_spell]."
RightCommand:
State: Inactive
IconType: Center
IconIds: 3165 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 0
AlignY: Absolute
PositionY: 500
Text: FRIGO(P)
TextColor: 16776960
HoverColor: 16776960
State: Active
IconType: Center
IconIds: 3165 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 0
AlignY: Absolute
PositionY: 500
Text: FRIGO(P)
TextColor: 16776960
HoverColor: 16776960
Name: PLAYER (SORC)
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $player_spell exevo gran mas flam | statusmessage "Player spell changed to [$player_spell]."
RightCommand:
State: Inactive
IconType: Center
IconIds: 3191 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 75
AlignY: Absolute
PositionY: 500
Text: MAS FLAM(P)
TextColor: 4412655
HoverColor: 4412655
State: Active
IconType: Center
IconIds: 3191 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 75
AlignY: Absolute
PositionY: 500
Text: MAS FLAM(P)
TextColor: 4412655
HoverColor: 4412655
Name: PLAYER (KNIGHT)
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $player_spell exori gran | statusmessage "Player spell changed to [$player_spell]."
RightCommand:
State: Inactive
IconType: Center
IconIds: 7421 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 0
AlignY: Absolute
PositionY: 430
Text: GRAN(P)
TextColor: 11993179
HoverColor: 11993179
State: Active
IconType: Center
IconIds: 7421 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 0
AlignY: Absolute
PositionY: 430
Text: GRAN(P)
TextColor: 11993179
HoverColor: 11993179
Name: PLAYER (KNIGHT2)
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $player_spell exori hur | statusmessage "Player spell changed to [$player_spell]."
RightCommand:
State: Inactive
IconType: Center
IconIds: 7421 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 75
AlignY: Absolute
PositionY: 430
Text: HUR(P)
TextColor: 11993179
HoverColor: 11993179
State: Active
IconType: Center
IconIds: 7421 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 75
AlignY: Absolute
PositionY: 430
Text: HUR(P)
TextColor: 11993179
HoverColor: 11993179
Name: PLAYER (PALL)
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $player_spell exevo mas san | statusmessage "Player spell changed to [$player_spell]."
RightCommand:
State: Inactive
IconType: Center
IconIds: 8027 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 0
AlignY: Absolute
PositionY: 360
Text: MAS SAN(P)
TextColor: 18577
HoverColor: 18577
State: Active
IconType: Center
IconIds: 8027 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 0
AlignY: Absolute
PositionY: 360
Text: MAS SAN(P)
TextColor: 18577
HoverColor: 18577
Name: PLAYER (PALL2)
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $player_spell exori con | statusmessage "Player spell changed to [$player_spell]."
RightCommand:
State: Inactive
IconType: Center
IconIds: 8027 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 75
AlignY: Absolute
PositionY: 360
Text: CON(P)
TextColor: 18577
HoverColor: 18577
State: Active
IconType: Center
IconIds: 8027 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 75
AlignY: Absolute
PositionY: 360
Text: CON(P)
TextColor: 18577
HoverColor: 18577
Name: PLAYER (PALL3)
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $player_spell exori san | statusmessage "Player spell changed to [$player_spell]."
RightCommand:
State: Inactive
IconType: Center
IconIds: 8027 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 140
AlignY: Absolute
PositionY: 360
Text: SAN(P)
TextColor: 18577
HoverColor: 18577
State: Active
IconType: Center
IconIds: 8027 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 140
AlignY: Absolute
PositionY: 360
Text: SAN(P)
TextColor: 18577
HoverColor: 18577
Name: STOP
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: clear $combo | statusmessage "Combo status changed to stopped."
RightCommand:
State: Inactive
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 0
AlignY: Absolute
PositionY: 80
Text: STOP
TextColor: 255
HoverColor: 255
State: Active
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 0
AlignY: Absolute
PositionY: 80
Text: STOP
TextColor: 255
HoverColor: 255
Name: START
Enabled: yes
DrawAsBackground: no
Size: Large
LeftCommand: set $combo active | statusmessage "Combo status changed to started."
RightCommand:
State: Inactive
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 75
AlignY: Absolute
PositionY: 80
Text: START
TextColor: 65280
HoverColor: 65280
State: Active
IconType: Center
IconIds: 3499 0 0 0
BkgType: Center
BkgIds: 0 0 0 0
AlignX: Absolute
PositionX: 75
AlignY: Absolute
PositionY: 80
Text: START
TextColor: 65280
HoverColor: 65280