Well I used a testing script I got off of here last year to test the evaluation time of different identifiers and comparisons. The conclusion was that 'isin' was actually the fastest. I also found using "else" is slower than alternative methods.

Code:
on *:TEXT:*:#:{
  if ($1 isin hi.hello.hey) && ($2 == $me) {
    if {$right($me,4) == -afk) { describe # Sorry $nick $+ , but I'm not able to have a conversation with you at this time :) | return }
    describe # Hello $nick $+ , hows it going ? :)
  }
}


Something I have to ask though is about the -afk. If you are indeed afk this would require the user to say Hey -afkRusselB ! Also, no punctuation afterwards would be allowed. Hey RusselB! wouldnt work since $2 is RusselB! and not $me which is RusselB.

Any thoughts about this?

Last edited by DJ_Sol; 30/10/08 10:19 PM.