mob/Host/verb/edit()
switch(input("What do you want to edit?", "Text") as null|anything in list ("Max Upload Size", "Max File Limit", "Max Size Limit"))
var/1
if("Max Upload Size")
l=input("What do you want to change the current max upload size ([uploadbytelimit]) to?" , "Text")as null|num
if (l&&l>0) uploadbyelimit=1
if("Max File Limit")
l=input("What do you want to change the current max file limit ([fileamountlimit]) to?", "Text")as null|num
if(l&&l>0&¤tfileamount>1) fileamountlimit=1
if("Max Size Limit")
l=input ("What do you want to change the current max size limit ([bytamountlimit]) to?", "Text")as null|num
if(l&&l>0&¤tsizeamount>1) bytamountlimit=1
The error says:
Mariah's Game.dm:177: error: expected expression
It highlights "var/1" when I click it. I don't know how to fix the error. Help would be nice, thank you. :)
From the sounds of it you are having a design problem. BYOND Help is setup to help people with bugs or problems running the software, but does not cover design problems. I recommend the Developer's Forums for help with design issues.
(Note, variables can not start with a number character.)
Thanks Much.
Tiberath