I was tring to make a script that will msg a chan if the name contains a wild card. The problem is I cant figure out how to get it to work.
on *:text:!msg off:*: {
timermsg off
msg $chan Msg off
}
on *:text:!msg on:*: {
$+(timer,msg) 0 30 msg
msg $chan Msg on
}
alias msg {
if (*help isin $chan) msg $chan testing
}
I started to think that i would need to use variables but not sure. Thanks for any help