Ah.. such a long copy and paste...
I will see that in a second
You should have attached the file
EDIT:
Ok...
the error from 625 was that you do not start with "else if"
first is "if" than "else if"
on line 866 you forgot to put the ID for who the message was going to, i put it to 0 (everybody)
And one more thing, on 625, instead of doing
PHP Code:
if(a == 1){
//stuff 1
} else if ( a == 2){
//stuff 2
} else if ( a == 3){
//stuff 3
}
You could have done:
PHP Code:
switch(a){
case 1:{
//stuff 1
}
case 2:{
//stuff 2
}
case 3:{
//stuff 3
}
case 4,5:{
//if a is 4 or 5
}
case 6 .. 10:{
//if a is between 6 and 10
}
default:{
//If any of above
}
}