ID:179473
 
i am getting:missing comma ',' or right-paren ')' errors. as far as i can tell the code does not call for a comma or parenthesy. this is my code:
verb //1
upgradeweapon() //2
if (/mob/blacksmith in oview(1) //3
upgrade = "weapon" //4
buycheck() //5

it is line 2 that has the error. as always, any help is much appreciated.


Every man of courage is a man of his word.
-Pierre Corneille (1606-1684) Le Menteur

Loduwijk, the war famous knight
Loduwijk wrote:
i am getting:missing comma ',' or right-paren ')' errors. as far as i can tell the code does not call for a comma or parenthesy. this is my code:
verb //1
upgradeweapon() //2
if (/mob/blacksmith in oview(1) //3

The error is actually on line 3, not 2. You have no closing parenthesis for the if(). However, I'm not so sure this if() statement will work as such anyway.

Lummox JR