All pastes #973148 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-04-05 23:04 UTC
rendered paste body
on *:INVITE:#: {
  hadd -m invite c $addtok($hget(invite,c),$chan,32)
  .msg Louise $nick has invited me to $chan $+ ! Type !join [#chan] for me to join.
}
on *:TEXT:!join*:?: {
  if ($nick == Louise) {
    if (!$hget(invite,c)) halt
    if ((!$2) && ($token($hget(invite,c),-1,32))) var %c $v1
    elseif ($istok($hget(invite,c),$2,32)) var %c $2
    join %c
    var %l = $remtok($hget(invite,c),%c,1,32)
    if (%l) hadd -m invite c %l
    hfree invite
  }
}