There is no other example to give. Since you are in Scripting Help, you are expected to solve your problems based on the information we give you. Now, we have given you the usage of how to obtain the country of the user, now you have to implement it
I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).