baloe12nl commented on a Page, Warn System  -  Jul 14, 2012

I have a sugestion:

add this to the code

;------------->>  Variable Version

on *:join:#: {
  if ( $nick == %WarnLevel. [ $+ [ $nick ] ] ) {
    if ( %WarnLevel. [ $+ [ $nick ] ] >= 5 ) .notice $nick $nick you have %WarnLevel. [ $+ [ $nick ] ] warns now | .notice $nick your warn level must be less than 10.
    else .notice $nick $nick you have %WarnLevel. [ $+ [ $nick ] ] Warn(s).
  }
  else (%WarnLevel. [ $+ [ $nick ] ] == $null) .notice $nick you have 0 Warn(s).
}

;------------->> INI File Version

on *:join:#: {
  if ( $nick == $readini(Warns.ini,n,Warns,$nick) ) {
    if ( $readini(Warns.ini,n,Warns,$nick) >= 5 ) .notice $nick $nick you have $readini(Warns.ini,n,Warns,$nick) warns now | .notice $nick your warn level must be less than 10.
    else .notice $nick $nick you have $readini(Warns.ini,n,Warns,$nick) Warn(s).
  }
  else ( $readini(Warns.ini,n,Warns,$nick) == $null) .notice $nick you have 0 Warn(s).
}

THis way the people know hawe many warning points they have, ore not.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.