WorldDMT commented on a Page, Simple Relay  -  May 26, 2010

why using two ON TEXT event??

on *:Text:*:<relaychan1>,<relaychan2>:if (%relay) msg $iif(# = <relaychan1>,<relaychan2>,$v1) $+(7,$chr(40), 14,#0,$iif(# = <relaychan1>,1,2), 7,$chr(41), 7,$chr(40),,14,$nick,,7,$chr(41),:) $1-
menu channel {
  Relay
  .on: set %relay 1 | echo -t Relay on
  .off: unset %relay | echo -t Relay off
}

but better to add an anti flood too

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.