So I could really use some help. I'm going to list my goal, then show you what I've "completed" thus far. I am an extreme newbie at scripting and have created this by piecing together ideas. Can anyone help make it work out? Please note that the player's nickname/screenname is linked to a variable already linked to a .char file for their character.

!add Nickname SkillName Amount#
Read $nick CharacterName.char Find section Skill and SkillName, add if it's not there, $calc +Amount#

Example: !add Tom Digging 2
Would give Tom's character the Digging skill of 2 or increase the existing skill by 2.

Code:
File is CharacterName.char
[Character]
CurrentNick=
Name=
Age=

[Skills]
Swimming=1
Tailoring=3

alias skill.control {
  ; $1 = player
  ; $2 = skill
  ; $3 = amount


on 3:TEXT:!add*:*:{ $skill.control($1, $2, $3) } 
var %check.skill $readini($char($1), Skill, $3) 
    if ((%check.skill <= 0) || (%check.skill = $null))
    if ((%check.skill >= 0) { writeini ($char($1), Skill, $3)) }
{ /msg $chan $1 has gained $3 in $2) | halt }