Something basic would be:
Code:
on !1:JOIN:#:{
  if (gomorrah == $nick) {
    if (!%silent) {
      .msg $chan did welcome back $nick
      set -u $+ %timeexpire %silent 1
    }
  }
}

Note that this does not check whether %timeexpire has a valid numerical value (in seconds).