- on $*:TEXT:/^[!@]records/Si:#: {
- if ($nick !isreg $chan) {
- notice $nick 05 This user has handled $sn(%profit [ $+ [ $nick ] ])
- notice $nick 05 To refresh records for this user type !cleardata USERNICKNAME
- }
- }
- on $*:TEXT:/^[!@]cleardata/Si:#: {
- if ($nick !isreg $chan) {
- notice $nick 05 You have reset the specified users profit back to zero.
- unset %profit [ $+ [ $nick ] ]
- }
- }