Code:
on @*:TEXT:!attack *:#TT1337: { 
  msg # $+($chr(3),12,http://torax.outwar.com/attack.php?attackname=,$2,$chr(3))
}


The } at the end must not touch anything else, put a space in front of it. Same goes for { and | and most other operators and commands: put spaces around them or they don't work. I also removed the double $+(), the first one does the same already.

The @ says 'only do this when I'm op' so make sure you are an op in that channel when someone else uses the trigger.