Guest

Untitled

By: a guest on Jan 28th, 2012  |  syntax: None  |  size: 0.58 KB  |  hits: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. on $*:TEXT:/^[!@]records/Si:#: {
  2.   if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) {
  3.     if ($nick !isreg $chan) {
  4.       notice $nick 05 This user has handled $sn(%profit [ $+ [ $nick ] ])
  5.       notice $nick 05 To refresh records for this user type !cleardata USERNICKNAME
  6.     }
  7.   }
  8. }
  9.  
  10. on $*:TEXT:/^[!@]cleardata/Si:#: {
  11.   if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) {
  12.     if ($nick !isreg $chan) {
  13.       notice $nick 05 You have reset the specified users profit back to zero
  14.       unset %profit [ $+ [ $nick ] ]
  15.     }
  16.   }
  17. }