|
|
@ -14,7 +14,7 @@
|
|
|
|
purpose="Notify to channel PK alert information."
|
|
|
|
purpose="Notify to channel PK alert information."
|
|
|
|
save_state="y"
|
|
|
|
save_state="y"
|
|
|
|
date_written="2018-10-29 13:37:21"
|
|
|
|
date_written="2018-10-29 13:37:21"
|
|
|
|
version="1.5"
|
|
|
|
version="1.6"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<description trim="y">
|
|
|
|
<description trim="y">
|
|
|
|
<![CDATA[
|
|
|
|
<![CDATA[
|
|
|
@ -41,21 +41,21 @@ Description Here
|
|
|
|
</trigger>
|
|
|
|
</trigger>
|
|
|
|
<trigger
|
|
|
|
<trigger
|
|
|
|
enabled="y"
|
|
|
|
enabled="y"
|
|
|
|
match="^You grab hold of (.*?)\'s neck and choke \w+ to unconsciousness\!$"
|
|
|
|
match="^You grab hold of (.+?)\'s neck and choke \w+ to unconsciousness\!$"
|
|
|
|
regexp="y"
|
|
|
|
regexp="y"
|
|
|
|
sequence="100"
|
|
|
|
sequence="100"
|
|
|
|
script="sendStrangleAlert"
|
|
|
|
script="sendStrangleAlert"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</trigger>
|
|
|
|
</trigger>
|
|
|
|
|
|
|
|
|
|
|
|
<trigger
|
|
|
|
<trigger
|
|
|
|
enabled="y"
|
|
|
|
enabled="y"
|
|
|
|
match="^(.*?) looks very uncomfortable\.$"
|
|
|
|
match="^(?<target>\w[\w\s]+) looks very uncomfortable\."
|
|
|
|
regexp="y"
|
|
|
|
regexp="y"
|
|
|
|
sequence="100"
|
|
|
|
sequence="100"
|
|
|
|
script="sendCursedAlert"
|
|
|
|
script="sendCursedAlert"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</trigger>
|
|
|
|
</trigger>
|
|
|
|
|
|
|
|
|
|
|
|
<!--You switch targets and direct your attacks at Ralyn.-->
|
|
|
|
<!--You switch targets and direct your attacks at Ralyn.-->
|
|
|
|
<!--** You can take revenge on Yatzi for 15 minutes-->
|
|
|
|
<!--** You can take revenge on Yatzi for 15 minutes-->
|
|
|
|
<trigger
|
|
|
|
<trigger
|
|
|
@ -515,14 +515,15 @@ function sendCursedAlert(name, line, wildcards)
|
|
|
|
chan = "clan "
|
|
|
|
chan = "clan "
|
|
|
|
end
|
|
|
|
end
|
|
|
|
getRoomInformation()
|
|
|
|
getRoomInformation()
|
|
|
|
if(wildcards[1] ~= nil) then
|
|
|
|
|
|
|
|
local msg = string.format("@W%s@C CURSED @Win @x202%s @W[@x202%s@W]", wildcards[1], area, roomid)
|
|
|
|
if(wildcards.target ~= nil and wildcards.target ~= "") then
|
|
|
|
|
|
|
|
local msg = string.format("@W%s@C CURSED @Win @x202%s @W[@x202%s@W]", wildcards.target, area, roomid)
|
|
|
|
msg = addLevelRangeText(msg)
|
|
|
|
msg = addLevelRangeText(msg)
|
|
|
|
SendNoEcho("clan "..msg)
|
|
|
|
SendNoEcho("clan "..msg)
|
|
|
|
if ingroup == true then
|
|
|
|
if ingroup == true then
|
|
|
|
SendNoEcho("gt "..msg)
|
|
|
|
SendNoEcho("gt "..msg)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
target = wildcards[1]
|
|
|
|
target = wildcards.target
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|