Menu * {
You\'re $iif(!%script,not) away
.$iif(%script,Come Back,Go Away) {
$iif(%script,unset %script,set %script true)
}
}
on *:Text:*:?: { If (%script && $nick !isin %script2) { msg $nick >> 3$Automated3$ Sorry, I must be away at the moment. If i know you then ill get back to you later. Take Care. | set %script2 %script2 $nick } }
on *:Text:*:*: { If ($me isin $1- && %script && $nick !isin %script2) { msg $nick >> 3$Automated3$ Sorry, I must be away at the moment. If i know you then ill get back to you later. Take Care. | set %script2 %script2 $nick } }
on *:INPUT:*: { /unset %script* }
no more amsg, and people can only trigger the messege once =] but you want something to identify if your active or not, and the menu form is better in my version.