All pastes #390528 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-03-11 15:04 UTC
rendered paste body
  if (<br> isin %sockread) { 
    var %combat = $htmlfree(%sockread) 
    %pc.msg   » %user is %combat Combat «
    pc.msg   10Attack level: %attack | Strength level: %strength  
    if (%combat < 100) && ($calc(%attack + %strength) < 170) { /ban -ku30 %channy %user You dunt meet reqs 30 sec ban :) } 
    if (%user isvoice %channy) || (%user ishop %channy) || (%user isop %channy) { notice %user Nice to see you  back %user }
    if (%user isreg %channy) { /hmm | /checkit }
    sockclose $sockname | unset %combat.3 | unset %channy | unset %user | unset %attack | unset %strength | unset %pc.msg | unset %mage | unset %range
  } 
} 
alias checkit { 
   timer 1 2 { if ($nick isvoice $chan) { HALT } }
alias hmm {   
   timer 1 2 { if ($nick isreg $chan) { notice $nick Welcome to %channy %user Please pm - %pm1 [ $+ [ $chan ] ] - or - %pm2 [ $+ [ $chan ] ] - ingame for voice! you have 60 secs to do so!
    }
}

make warning part work only for ppl without 100 cmb  and pm prt only for ppl with req but not auto voice.