in my auto-target setup i an alias
Alias: target *
Send:
Enabled: checked
All other options: unchecked
Label: Target_Alias
Script: OnAliasTarget
and in my script file
sub OnAliasTarget (thename, theoutput, thewildcards)
world.setvariable "target", thewildcards (1)
world.note "Victim set to " & thewildcards (1)
end sub
and another alias
Alias: b
Send: backstab @target
Enabled: checked
Expand variables: checked
All other options: unchecked
when i type "target man"
it should send the message "Victim set to man"
but it does not
when i type "b" it should backstab man, but i get a popup
box that says variable target not defined
why doesn't it work?
Alias: target *
Send:
Enabled: checked
All other options: unchecked
Label: Target_Alias
Script: OnAliasTarget
and in my script file
sub OnAliasTarget (thename, theoutput, thewildcards)
world.setvariable "target", thewildcards (1)
world.note "Victim set to " & thewildcards (1)
end sub
and another alias
Alias: b
Send: backstab @target
Enabled: checked
Expand variables: checked
All other options: unchecked
when i type "target man"
it should send the message "Victim set to man"
but it does not
when i type "b" it should backstab man, but i get a popup
box that says variable target not defined
why doesn't it work?