basic alias question
Posted: Mon Sep 14, 2009 1:29 am
I'm trying to make an alias for garrote.
So far, I have this:
Alias name: garrote
Pattern: ^gr (\w+)$
Substitution: (blank)
<alias
kill1 = "gr"
script = "SendGarrote"
match = "^gr (?P<rat>\w+)"
enabled = "y"
regexp = "y"
sequence = "100"
>
function bash (name, line, wildcards)
bashingTarget = wildcards.target;
end
I truly know nothing about Lua, so I have no idea what I'm doing wrong. I get an error saying: Lua Syntax error:[string "function Alias1()..."]:2:unexpected symbol near ' whenever I try to activate it (although I don't even know what activate does)
So far, I have this:
Alias name: garrote
Pattern: ^gr (\w+)$
Substitution: (blank)
<alias
kill1 = "gr"
script = "SendGarrote"
match = "^gr (?P<rat>\w+)"
enabled = "y"
regexp = "y"
sequence = "100"
>
function bash (name, line, wildcards)
bashingTarget = wildcards.target;
end
I truly know nothing about Lua, so I have no idea what I'm doing wrong. I get an error saying: Lua Syntax error:[string "function Alias1()..."]:2:unexpected symbol near ' whenever I try to activate it (although I don't even know what activate does)