Guest

Untitled

By: a guest on Jan 28th, 2012  |  syntax: mIRC  |  size: 0.41 KB  |  hits: 51  |  expires: Never
download  |  raw  |  embed  |  report abuse
This paste has a previous version, view the difference. Copied
  1. on $*:TEXT:/^[!@](records|cleardata)$/Si:#: {
  2.   if ($nick !isreg $chan) {
  3.     if ($mid($1,2) == records) {
  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.     else {
  8.       unset %profit [ $+ [ $nick ] ]
  9.       notice $nick 05 You have reset the specified users profit back to zero
  10.     }
  11.   }
  12. }