There are 2 ways to restore your admin powers if you have taken them away from yourself. The first requires FTP access and the second requires access to the MySql database.
Before doing either of these make sure that you have an account already registered, the user account must exist in the database before you can give it admin access. If your chatroom is set to automatically expire user accounts make sure that you have registered one within the expiration time so that it still exists in the database.
Method 1) We have created a special script that will restore you admin powers. Download it here: http://x7chat.com/readminme.zip (http://x7chat.com/readminme.zip) and unzip it. Inside is one file called 'readminme.php'. Upload this file into your X7 Chat folder and then visit it in your web browser. It will ask you for your username, enter it, then click submit and it will give your admin powers back.
DELETE THE FILE "readminme.php" WHEN YOU ARE FINISHED!! Not doing so will allow anyone who wants it to get Admin powers in your chat room.
Method 2) You will need to edit the users table in the X7 Chat database. Find the row that has your username in the 'username' column and change the level column in that row to a value of '5'. This can be done with the following SQL statement:
UPDATE {prefix}users SET level='5' WHERE username='{username}'
You will need to replace {prefix} with your table prefix and {username} with your username.