All pastes #390503 Raw Edit

Mine

public text v1 · immutable
·published 2007-03-11 14:43 UTC
rendered paste body
  if (<br> isin %sockread) { 
    var %combat = $htmlfree(%sockread) 
    %pc.msg   10»7 %user 10is4 %combat 10Combat «
    pc.msg  10»7|10 10Attack level: 7 %attack 7| 10Strength level:7 %strength 107|10« 
    if (%combat < 100) && ($calc(%attack + %strength) < 170) { msg %channy  4/4,8!4,0\ 10Warning 4/4,8!4,0\6 %user 10does not meet reqs for 7 %channy 10come back later with reqs. } 
    if (%user isvoice %channy) || (%user ishop %channy) || (%user isop %channy) { msg %channy 10Nice to see you  back7 %user }
    if (%user isreg %channy) { msg %channy 10Welcome to3 %channy 4 %user 10Please pm7 - %pm1 [ $+ [ %channy ] ] - 10or7 - %pm2 [ $+ [ %channy ] ] - 10ingame for voice! you have6 60 secs 10to do so! }
    sockclose $sockname | unset %combat.3 | unset %channy | unset %user | unset %attack | unset %strength | unset %pc.msg | unset %mage | unset %range
  } 
} 



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