I am pretty new to this, i am trying to test some simple scripts on different servers to see if anything works. But so far none of the scripts ever worked for me.

I have to deal with lines like this.

// this is a normal copy
<bumrap>  [Hello World] Here

// this is with the ctrl key pressed
<bumrap> 0113,01 06,01[07,01Hello World06,01] 00,01Here

What do i have to do to detect this line and then send a message to the channel? I have tried the following lines, but again it never works.

on *:TEXT:*:#testdb1: {
if (([Hello World] isin $1-) && (Here isin $1-)) {
/msg $chan hey dood whats up
}
}

Can someone give me an example that i can try that will work, i think the color codes is killing me. Actually maybe not, this will be my first script.


Thanks.