Guys, I have a following script:
Code:
on 1:TEXT:*some-criterion*:#some-channel:{
  write file1.txt $gettok($strip($1-),7,32)
}

on $*:TEXT:/some-criterion/:#some-channel:{
  write file2.txt $gettok($strip($1-),7,32)
}

First event triggers fine, but the second never does. However, when I put them separately into 2 different script files, they BOTH work just fine.
So basically what I'm asking is if there's a way to make many/several/multiple events in ONE script file?
And the reason is because I don't want to break it all down into many files, instead concentrating everything in just one file. Makes it easier to track, maintain and update.


Thanks so much in advance! smile