Get off IE and use a different browser. IE often causes shitty indentation when posting code snippets, as shown above. This is probably why no one bothered to read it.
In your jointeam function you make the "array" one-celled. This will not store any information, as one cell is needed for nullification. Change it to two cells at the very least.
When comparing the jointeam argument you use integers instead of characters. You must either compare them to characters or convert the array cell to an integer.
In your rules function, you store their name in a string. To insert this into a message to the client, you must do something like this:
Code:
// BADclient_print( id, print_chat, "name The rules are..")// GOODclient_print( id, print_chat, "%s The rules are..", name )
Multiple examples of this can be found around the fora.
Half of your rules function is unnecessary. Instead of hooking say and catching if the client has said /rules after it, just change the hook to catch "say /rules".
__________________
[ Paid Requests ] DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT