Ok...I feel like a complete idiot but I still can't get this thing to work. It now just appends a the number to the .ini file. Code looks like so....

code:
Dim $result, $checkvalue
$checkvalue=ReadProfileString("%LOGLOC%\SMSECCM01\smsupgrade.ini","sms","counter")
$result = $checkvalue+1
WriteProfileString("%LOGLOC%\SMSECCM01\smsupgrade.ini","sms","counter","$result")

Looked in the book and tried many differant ways of using the "" and everything. Still can't get it.