help with "$1's" - 31/05/11 12:12 AM
i have this in my script
the ApproveOn has $3-5 to include Day Month and Year for each "$N"
the problem is with "ApprovedBy" there should be a name in sometimes the name has spaces and sometimes its just 1 word
i tried doing "$6-" or "$6-8" but then the problem is in the country if the 6th parameters continues it wont fill up the country and its a problem is there any easy way to sort this without making alot of if's?
Quote:
var %Citizen = $readini(Citizenship.ini,CitizensName,$nick)
var %ApproveOn = $3-5
var %ApprovedBy = $6
var %Country = $7
var %ApproveOn = $3-5
var %ApprovedBy = $6
var %Country = $7
the ApproveOn has $3-5 to include Day Month and Year for each "$N"
the problem is with "ApprovedBy" there should be a name in sometimes the name has spaces and sometimes its just 1 word
i tried doing "$6-" or "$6-8" but then the problem is in the country if the 6th parameters continues it wont fill up the country and its a problem is there any easy way to sort this without making alot of if's?