Just like when you own your account in the SMF forum, you see a Karma system in your profile and the mini profile.
It's a simple command
!applaud (nick) (reason) - adds the positive Karma and adds the total Karma
!smite (nick) (reason) - adds the negative Karma and subtracts the total Karma
!karmastats - views other people's Karma if they have the karma script loaded
(To yourself) /karma - views your Karma stats
(To yourself) /karmareset - resets your Karma stats, including the total Karma
Comments? Bugs? Complaints? Suggestions?
Oh, and please paste this script in the remote tab, not alias tab.
-================================================-
| |
| mIRC Karma Script |
| Version 1.0 |
| Scripting made by Relinquish |
| |
-================================================-
alias karma {
echo $target Karma: + $+ $calc(%pkarma) $+ /- $+ $calc(%nkarma) - Total: $calc(%tkarma)
}
alias karmareset {
echo $target Your Karma has been reseted to +0/-0
unset %pkarma
unset %nkarma
unset %tkarma
}
on *:text:!applaud *:#:{
if ($2 == $me) {
inc %pkarma 1
inc %tkarma 1
notice $me $nick applauded you. Why? ( $+ $3- $+ )
}
}
on *:text:!smite *:#:{
if ($2 == $me) {
inc %nkarma 1
inc %tkarma -1
notice $me $nick smited you. Why? ( $+ $3- $+ )
}
}
on *:text:!karmastats:#:{
notice $nick Karma: + $+ $calc(%pkarma) $+ /- $+ $calc(%nkarma) - Total: $calc(%tkarma)
notice $me $nick used the !karmastats to view your Karma Stats
}
hmm mate, u could improve this script to be more useful and better, read this requestion thread, u could edit yours or add things http://www.hawkee.com/phpBB2/viewtopic.php?t=20398