ON Event for script leaving a channel? - 03/10/15 11:57 AM
What ON event triggers when my bot/script leaves a channel. I had though ON PART would work but it doesn't seem to.
ON *:DISCONNECT: { var %t = $chan(0) var %i = 1 while (%i <= %t) { var %c = $chan(%i) var %tot = $addtok(%tot,%c,44) inc %i } echo -a Disconnected from $server IRC Server, you were into the: $iif(%tot,$v1,None) channel(s). }
ON *:DISCONNECT: { var %t = $chan(0) var %i = 1 while (%i <= %t) { var %c = $chan(%i) var %tot = $addtok(%tot,%c,44) inc %i } echo -a Disconnected from $server IRC Server, you were into the: $iif(%tot,$v1,None) channel(s). }