Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on $*:text:/!points (add|remove|check)/Si:#:{
- if ($2 == check) {
- if ($readini(Points.ini,$+(#,.,$3),Points) > 0) {
- msg # $3 has $readini(Points.ini,$+(#,.,$3),Points) points.
- }
- }
- elseif ($nick isop #) {
- if ($0 < 3) { msg # Insufficient parameters: Use !points <add|remove> <user> [number] | return }
- writeini -n Points.ini $+(#,.,$3) Points $calc($readini(Points.ini,$+(#,.,$3),Points) $iif($2 == add,+,-) $iif($4 isnum,$4,1))
- msg $chan $3 now has $readini(Points.ini,$+(#,.,$3),Points) total points.
- }
- else { msg $chan This command is only available to moderators. }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement