first you trigger the script with '!filmtips', but I want the script to only accept strings that begins with 'http://imdb.com/' (example: http://imdb.com/title/tt0112281/).

how do I ad a proper wildcard?


this is what i got:
Code:
on *:TEXT:*:#: { 

if ($1 == !addfilmtips) {

    if ($2 == http://imdb.com/) || ($2 == URL) {

      booooring code

   }
}


EDIT: typo

Last edited by Frenatic; 27/06/07 09:09 PM.