Hello again,

I apologise if this is obvious, but what I need is to be able to use variables inside regexp, but I just cant get it to work frown

A very simple example:

Code:
on $1:TEXT:/%botnick/:#:/echo It worked!
or
Code:
on $1:TEXT:/$me/:#:/echo It worked!


As I said, a very simple example, but hopefully you can see what I am trying to do. Unfortunately, I cant get it to work, but I'm not sure what I'm doing wrong. I've tried about every combination I could think of to no avail.

I've tried escaping the $ and % characters, trying both a variable storedin $ and % but no luck.

I'm sure I'm missing something obvious here, and would apreciate any help.

Thanks