Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Message Recieving
- @echo off
- :chat
- cls
- type %USERPROFILE%\Dropbox\BatchChat\chat.txt
- goto chat
- Message Sending
- @echo off
- echo Welcome To The Batch Dropbox Chat Program
- echo To Begin type In Your Nickname
- set /p name=Nickname:
- echo set user=%name% > user.bat
- echo %name% Has Joined The Chat >> %USERPROFILE%\Dropbox\BATCHCHAT\chat.txt
- goto chat
- :chat
- cls
- set /p message=Message:
- echo %name%: %message% >> %USERPROFILE%\Dropbox\BatchChat\chat.txt
- goto checkban
- :checkban
- IF EXIST %USERPROFILE%\Dropbox\BatchChat\%name%.bat echo %name% Was Banned >> %USERPROFILE%\Dropbox\BatchChat\chat.txt
- if EXIST %USERPROFILE%\Dropbox\BatchChat\%name%.bat exit
- goto chat
- Take That and Give it Like a Month Of Development
- BatchChat v1.8
- @echo off
- set version=1.8
- IF EXIST "%USERPROFILE%\Dropbox\BatchChat\updates\BatchChat v%version%.zip" goto started
- IF EXIST "%USERPROFILE%\Dropbox\BatchChat\updates\BatchChat v*.*.zip" goto update
- :update
- echo Now Updating To Latest Version
- xcopy "%USERPROFILE%\Dropbox\BatchChat\updates\BatchChat v*.*.zip" "%CD%"
- extract e -tzip "%CD%\BatchChat v%chatversion%.zip"
- echo Finished Updating
- echo Now Exiting Please use The Latest Client
- pause
- exit
- :started
- title The BatchChat Client.
- echo Welcome to the BatchChat Client
- echo Please Type In Your Username.
- set /p name=Username:
- set nick=%name%
- cls
- echo Please Type In Your Password.
- set /p pass=Password:
- if exist "%USERPROFILE%\Dropbox\Batchchat\profiles\%name%.bat" goto password
- if not exist "%USERPROFILE%\Dropbox\Batchchat\profiles\%name%.bat" goto makename
- :makename
- echo > "%USERPROFILE%\Dropbox\Batchchat\profiles\%name%.bat"
- goto makepass
- :makepass
- echo set realpass=%pass% > "%USERPROFILE%\Dropbox\Batchchat\profiles\%name%.bat"
- :password
- call "%USERPROFILE%\Dropbox\Batchchat\profiles\%name%.bat"
- if %realpass%==%pass% goto rank
- goto passinv
- :userinv
- echo That username is invalid. Please try again.
- goto started
- :passinv
- echo That password is invalid. Please try again.
- goto started
- :rank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-ADMIN\%name%.rank" goto setrank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-MOD\%name%.rank" goto setrank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-FOREMAN\%name%.rank" goto setrank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\ADMIN\%name%.rank" goto setrank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\MOD\%name%.rank" goto setrank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\MEMBER\%name%.rank" goto setrank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GUEST\%name%.rank" goto setrank
- echo > "%USERPROFILE%\Dropbox\Batchchat\Permissions\GUEST\%name%.rank"
- :setrank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-ADMIN\%name%.rank" set rank=GLOBAL-ADMIN
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-MOD\%name%.rank" set rank=GLOBAL-MOD
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-FOREMAN\%name%.rank" set rank=GLOBAL-FOREMAN
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\ADMIN\%name%.rank" set rank=ADMIN
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\MOD\%name%.rank" set rank=MOD
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\MEMBER\%name%.rank" set rank=MEMBER
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GUEST\%name%.rank" set rank=GUEST
- goto bancheck
- :rank2
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-ADMIN\%name%.rank" goto setrank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-MOD\%name%.rank" goto setrank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-FOREMAN\%name%.rank" goto setrank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\ADMIN\%name%.rank" goto setrank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\MOD\%name%.rank" goto setrank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\MEMBER\%name%.rank" goto setrank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GUEST\%name%.rank" goto setrank
- echo > "%USERPROFILE%\Dropbox\Batchchat\Permissions\GUEST\%name%.rank"
- :setrank
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-ADMIN\%name%.rank" set rank=GLOBAL-ADMIN
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-MOD\%name%.rank" set rank=GLOBAL-MOD
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-FOREMAN\%name%.rank" set rank=GLOBAL-FOREMAN
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\ADMIN\%name%.rank" set rank=ADMIN
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\MOD\%name%.rank" set rank=MOD
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\MEMBER\%name%.rank" set rank=MEMBER
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GUEST\%name%.rank" set rank=GUEST
- goto bancheck2
- :bancheck
- if exist "%USERPROFILE%\Dropbox\Batchchat\ban\%name%.txt" goto banned
- if not exist "%USERPROFILE%\Dropbox\Batchchat\ban\%name%.txt" goto mutecheck
- :mutecheck
- if exist "%USERPROFILE%\Dropbox\Batchchat\mute\%name%.txt" goto muted
- if not exist "%USERPROFILE%\Dropbox\Batchchat\mute\%name%.txt" goto ~roomselect
- :bancheck2
- if exist "%USERPROFILE%\Dropbox\Batchchat\ban\%name%.txt" goto banned
- if not exist "%USERPROFILE%\Dropbox\Batchchat\ban\%name%.txt" goto kickcheck
- :kickcheck
- if exist "%USERPROFILE%\Dropbox\Batchchat\kick\%name%.txt" goto kicked
- if not exist "%USERPROFILE%\Dropbox\Batchchat\kick\%name%.txt" goto mutecheck2
- :mutecheck2
- if exist "%USERPROFILE%\Dropbox\Batchchat\mute\%name%.txt" goto muted
- if not exist "%USERPROFILE%\Dropbox\Batchchat\mute\%name%.txt" goto send2
- :banned
- echo You have been banned.
- echo to appeal to this ban, type ~appeal.
- set /p appeal=Command:
- if appeal==~appeal goto ~banappeal
- :banappeal
- echo Welcome to the ban appeal page.
- echo ---------------------------------------
- set /p appmessageban=Appeal Message:
- echo Your ban appeal will be sent to the admins and put into consideration.
- echo You may exit your client, come back later and check.
- echo If you have been accepted, you will be unbanned.
- echo If not, this will repeat. Goodbye!
- echo > "%USERPROFILE%\Dropbox\Batchchat\newappeal.txt"
- if not exist "%USERPROFILE%\Dropbox\Batchchat\ban\appeals\%name%appeal.txt" echo -----> "%USERPROFILE%\Dropbox\Batchchat\ban\appeals\%name%appeal.txt"
- echo %name% WAS BANNED > "%USERPROFILE%\Dropbox\Batchchat\ban\appeals\%name%appeal.txt"
- echo %appmessageban% >> "%USERPROFILE%\Dropbox\Batchchat\ban\appeals\%name%appeal.txt"
- echo %name% >> "%USERPROFILE%\Dropbox\Batchchat\appeals.txt"
- pause
- exit
- :muted
- echo You have been muted.
- echo to appeal this mute, type ~appeal.
- echo to continue on to the normal client, type ~continue
- set /p appeal=Command:
- if appeal==~appeal goto ~muteappeal
- if appeal==~continue goto chat
- :~muteappeal
- echo Welcome to the mute appeal page.
- echo ---------------------------------------
- set /p appmessagemute=Appeal Message:
- echo Your mute appeal will be sent to the admins and put into consideration.
- echo You may continue to the normal client, but you will only be able to use commands.
- echo If you have been accepted, you will be unbanned.
- echo If not, this will repeat. Goodbye!
- echo > "%USERPROFILE%\Dropbox\Batchchat\newappeal.txt"
- if not exist "%USERPROFILE%\Dropbox\Batchchat\mute\appeals\%name%appeal.txt" echo ----- > "%USERPROFILE%\Dropbox\Batchchat\mute\appeals\%name%appeal.txt"
- echo %name% WAS MUTED > "%USERPROFILE%\Dropbox\Batchchat\mute\appeals\%name%appeal.txt"
- echo %appmessagemute% >> "%USERPROFILE%\Dropbox\Batchchat\mute\appeals\%name%appeal.txt"
- echo %name% >> "%USERPROFILE%\Dropbox\Batchchat\appeals.txt"
- goto chat
- :kicked
- echo You have been kicked.
- ping >nul
- exit
- :loginmsg
- echo [%rank%]%name% Has Logged In >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- goto chat
- :chat
- cls
- if exist "%USERPROFILE%\Dropbox\Batchchat\version.txt" type "%USERPROFILE%\Dropbox\Batchchat\version.txt"
- echo .
- echo Your Login Name: %name%
- echo Your NickName: %nick%
- echo Your Rank: %rank%
- echo Your Chatroom: %roomselect%
- if exist "%USERPROFILE%\Dropbox\BatchChat\private\%name%new.txt" echo Your Inbox: New Messages.
- if not exist "%USERPROFILE%\Dropbox\BatchChat\private\%name%new.txt" echo Your Inbox: No New Messages.
- if exist "%USERPROFILE%\Dropbox\BatchChat\Permissions\%rank%\~appeals.txt" set appdisplay=TRUE
- if exist "%USERPROFILE%\Dropbox\BatchChat\newappeal.txt" set appdisplay=Your Appeals Inbox: New Appeals.
- if not exist "%USERPROFILE%\Dropbox\BatchChat\newappeal.txt" set appdisplay=Your Appeals Inbox: No New Appeals.
- echo %appdisplay%
- echo ---------------------------------------
- set /p message=Message:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%message%.txt" goto %message%
- goto send
- :send
- goto rank2
- :send2
- echo [%rank%]%nick%: %message% >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- goto chat
- :~msg
- cls
- echo Welcome To Private Messaging.
- echo ---------------------------------------
- echo Your Friend list:
- dir %USERPROFILE%\Dropbox\Batchchat\FriendsList\%name%\ /b
- echo ---------------------------------------
- echo Your ID Is: %name%
- set /p pmwho=Who to Message:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%pmwho%.txt" goto chat
- goto sendmsg
- :sendmsg
- cls
- echo Welcome To Private Messaging.
- echo ---------------------------------------
- echo You are messaging: %pmwho%
- set /p pmwhat=What to Message:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%pmwhat%.txt" goto chat
- echo From %name%: %pmwhat% >> "%USERPROFILE%\Dropbox\BatchChat\private\%pmwho%.txt"
- echo > "%USERPROFILE%\Dropbox\BatchChat\private\%pmwho%new.txt"
- goto chat
- :~inbox
- cls
- if exist "%USERPROFILE%\Dropbox\BatchChat\private\%name%new.txt" del "%USERPROFILE%\Dropbox\BatchChat\private\%name%new.txt"
- IF EXIST "%USERPROFILE%\Dropbox\BatchChat\private\%name%.txt" type "%USERPROFILE%\Dropbox\BatchChat\private\%name%.txt"
- IF NOT EXIST "%USERPROFILE%\Dropbox\BatchChat\private\%name%.txt" echo No New Private Messages
- goto exit
- :~empty
- if exist "%USERPROFILE%\Dropbox\BatchChat\private\%name%.txt" del "%USERPROFILE%\Dropbox\BatchChat\private\%name%.txt"
- goto chat
- :~refresh
- goto chat
- :~kick
- cls
- echo Welcome to the Kick Page.
- echo ---------------------------------------
- set /p kickwho=Kick:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%kickwho%.txt" goto chat
- echo >> "%USERPROFILE%\Dropbox\BatchChat\kick\%kickwho%.txt"
- echo [%rank%]%nick% - Kicking %kickwho% >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- goto chat
- :~chat
- cls
- echo set name=%nick% > settings.bat
- if %roomselect%==room1 (start %USERPROFILE%\Dropbox\BatchChat\CHAT-BOX.bat)
- if %roomselect%==room2 (start %USERPROFILE%\Dropbox\BatchChat\CHAT-BOX2.bat)
- if %roomselect%==room3 (start %USERPROFILE%\Dropbox\BatchChat\CHAT-BOX3.bat)
- if %roomselect%==room4 (start %USERPROFILE%\Dropbox\BatchChat\CHAT-BOX4.bat)
- if %roomselect%==room5 (start %USERPROFILE%\Dropbox\BatchChat\CHAT-BOX5.bat)
- goto chat
- :~clear
- del "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- echo The Chat Log Was Cleared By [%rank%]%nick% >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- goto chat
- :~ban
- cls
- echo Welcome to the Ban Page.
- echo ---------------------------------------
- echo type the Name Of the User you wish to ban
- set /p banwho=Ban:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%banwho%.txt" goto chat
- echo >> "%USERPROFILE%\Dropbox\BatchChat\ban\%banwho%.txt"
- echo [%rank%]%nick% - Banning %banwho% >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- goto chat
- :~mute
- cls
- echo Welcome to the Mute Page.
- echo ---------------------------------------
- echo Type The Name Of The User you wish to Mute
- set /p mutewho=Mute:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%mutewho%.txt" goto chat
- echo >> "%USERPROFILE%\Dropbox\BatchChat\mute\%mutewho%.txt"
- echo [%rank%]%nick% - Muting %mutewho% >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- goto chat
- :~unban
- cls
- echo Welcome to the Unban Page.
- echo ---------------------------------------
- echo Type the Name of the User you wish to UnBan
- set /p unbanwho=UnBan:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%unbanwho%.txt" goto chat
- if exist "%USERPROFILE%\Dropbox\Batchchat\ban\appeals\%viewappeal%appeal.txt" del "%USERPROFILE%\Dropbox\Batchchat\ban\appeals\%viewappeal%appeal.txt"
- del "%USERPROFILE%\Dropbox\BatchChat\ban\%unbanwho%.txt"
- echo [%rank%]%nick% - UnBanning %unbanwho% >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- goto chat
- :~unmute
- cls
- echo Welcome to the Mute Page.
- echo ---------------------------------------
- echo Type the Name of the User you wish to UnMute
- set /p unmutewho=UnMute:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%unmutewho%.txt" goto chat
- if exist "%USERPROFILE%\Dropbox\Batchchat\mute\appeals\%viewappeal%appeal.txt" del "%USERPROFILE%\Dropbox\Batchchat\mute\appeals\%viewappeal%appeal.txt"
- if exist "%USERPROFILE%\Dropbox\BatchChat\mute\%unmutewho%.txt" del "%USERPROFILE%\Dropbox\BatchChat\mute\%unmutewho%.txt"
- echo [%rank%]%nick% - UnMuting %unmutewho% >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- goto chat
- :~topic
- cls
- echo Welcome to the Topic Page.
- echo ---------------------------------------
- echo Type what the New Topic is.
- set /p topic=Topic:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%topic%.txt" goto chat
- echo The Current Topic Is: %topic% > "%USERPROFILE%\Dropbox\BatchChat\topic.txt"
- echo [%rank%]%nick% - Changed the topic to: %topic% >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- goto chat
- :~nick
- cls
- echo Welcome to the Nickname Page.
- echo ---------------------------------------
- echo Type your new nickname
- set /p nick=Nickname:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%nick%.txt" goto chat
- echo [%rank%]%nick% - Changed their nickname. >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- goto chat
- :~clean
- echo del "%USERPROFILE%\Dropbox\BatchChat\* conflicted * *.txt" > "%USERPROFILE%\Dropbox\BatchChat\delete.bat"
- IF EXIST "%USERPROFILE%\Dropbox\BatchChat\delete.bat" call "%USERPROFILE%\Dropbox\BatchChat\delete.bat"
- echo del "%USERPROFILE%\Dropbox\BatchChat\* conflicted * *.txt" > "%USERPROFILE%\Dropbox\BatchChat\delete.bat"
- goto chat
- :~me
- cls
- echo Welcome to the Emote Page.
- echo ---------------------------------------
- echo Type your emote.
- set /p emote=Emote:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%emote%.txt" goto chat
- echo %name% %emote% >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- goto chat
- :~rank
- cls
- echo Welcome to the Ranking Page.
- echo ---------------------------------------
- echo Type the user you would like to change rank.
- set /p rankwho=User:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%rankwho%.txt" goto chat
- cls
- echo Welcome to the Ranking Page.
- echo ---------------------------------------
- echo Type the rank you would like %rankwho% to be.
- set /p rankname=Rank:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%rankname%.txt" goto chat
- echo %name%: Has changed the rank of %rankwho% to %rankname%. >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-ADMIN\%rankwho%.rank" del "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-ADMIN\%rankwho%.rank"
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-MOD\%rankwho%.rank" del "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-MOD\%rankwho%.rank"
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-FOREMAN\%rankwho%.rank" del "%USERPROFILE%\Dropbox\Batchchat\Permissions\GLOBAL-FOREMAN\%rankwho%.rank"
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\ADMIN\%rankwho%.rank" del "%USERPROFILE%\Dropbox\Batchchat\Permissions\ADMIN\%rankwho%.rank"
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\MOD\%rankwho%.rank" del "%USERPROFILE%\Dropbox\Batchchat\Permissions\MOD\%rankwho%.rank"
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\MEMBER\%rankwho%.rank" del "%USERPROFILE%\Dropbox\Batchchat\Permissions\MEMBER\%rankwho%.rank"
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\GUEST\%rankwho%.rank" del "%USERPROFILE%\Dropbox\Batchchat\Permissions\GUEST\%rankwho%.rank"
- echo > "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rankname%\%rankwho%.rank"
- goto chat
- :~permissions
- cls
- echo Welcome to the Permissions Interface.
- echo ~back will return to the main messaging screen.
- echo ~add will add a command to a rank.
- echo ~list will look at all the folders and permissions there are.
- echo ~move will move a command from a rank to another rank.
- echo ~perms will look at what rank has what permissions.
- echo ~delete will delete a certain command from a rank.
- echo Welcome to the Permissions Interface.
- echo ---------------------------------------
- set /p pe=Command:
- if exist "%USERPROFILE%\Dropbox\BatchChat\Permissions\%rank%\%pe%.txt" goto %pe%
- goto ~permissions
- :~move
- cls
- echo Welcome to the Permissions Moving Interface.
- echo ---------------------------------------
- echo What folder would you like to move FROM.
- set /p movefrom=Folder:
- cls
- echo Welcome to the Permissions Moving Interface.
- echo ---------------------------------------
- echo What command would you like to move.
- set /p movewhat=Command:
- cls
- echo Welcome to the Permissions Moving Interface.
- echo ---------------------------------------
- echo What folder would you like to move TO.
- set /p movewhere=Folder:
- if exist "%USERPROFILE%\Dropbox\BatchChat\Permissions\%movefrom%\%movewhat%.txt" del "%USERPROFILE%\Dropbox\BatchChat\Permissions\%movefrom%\%movewhat%.txt"
- if not exist "%USERPROFILE%\Dropbox\BatchChat\Permissions\%movefrom%\%movewhat%.txt" echo > "%USERPROFILE%\Dropbox\BatchChat\Permissions\%movewhere%\%movewhat%.txt"
- goto ~permissions
- :~back
- goto chat
- :~add
- cls
- echo Welcome to the Permissions Addition Interface.
- echo ---------------------------------------
- echo Please type what folder you would like to add a permission to.
- set /p addwhere=Folder:
- cls
- echo Welcome to the Permissions Addition Interface.
- echo ---------------------------------------
- echo Please type what command you would like to add.
- set /p addwhat=Permission:
- echo %name%: Has added the %addwhat% command to %addwhere%S. >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- echo > "%USERPROFILE%\Dropbox\BatchChat\Permissions\%addwhere%\%addwhat%.txt"
- goto ~permissions
- :~list
- cls
- echo Welcome to the Permissions List Interface.
- echo ~folders will look at all the ranks.
- echo ~commands will look at all the commands.
- echo ---------------------------------------
- echo Type what you would like to look at.
- set /p browse=Command:
- if exist "%USERPROFILE%\Dropbox\BatchChat\Permissions\%rank%\%browse%.txt" goto %browse%
- :~ranks
- echo The Current Folders are:
- echo GUEST
- echo MEMBER
- echo MOD
- echo FORUM-MOD
- echo GLOBAL-FOREMAN
- echo ADMIN
- echo FORUM-ADMIN
- echo GLOBAL-MOD
- echo GLOBAL-ADMIN
- goto permexit
- :~commands
- echo The Current Commands are:
- echo ~help
- echo ~chat
- echo ~clear
- echo ~topic
- echo ~nick
- echo ~kick
- echo ~ban
- echo ~mute
- echo ~unban
- echo ~unmute
- echo ~back
- echo ~clean
- echo ~me
- echo ~rank
- echo ~permissions
- echo ~changepass
- echo ~delete
- echo ~add
- echo ~list
- echo ~folders
- echo ~commands
- echo ~perms
- echo ~exit
- echo ~inbox
- echo ~msg
- echo ~empty
- echo ~refresh
- echo ~appeals
- echo ~reload
- echo ~roomview
- echo ~roomselect
- echo ~forums
- echo ~fiends
- goto permexit
- :~perms
- cls
- echo Welcome to the List of Permissions Interface.
- echo ---------------------------------------
- echo Type what folder would like to look at.
- set /p permwhere=Folder:
- cls
- dir "%USERPROFILE%\Dropbox\BatchChat\Permissions\%permwhere%\*.txt" /B
- goto permexit
- :permexit
- set /p permback=Message:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%permback%.txt" goto ~permissions
- echo type ~back to return to the main messaging menu.
- goto ~chat
- :~delete
- cls
- echo Welcome to the Permissions Deletion Interface.
- echo ---------------------------------------
- echo Please type what folder you would like to delete from.
- set /p delwhere=Folder:
- cls
- echo Welcome to the Permissions Deletion Interface.
- echo ---------------------------------------
- echo Please type what command you would like to delete from.
- set /p delwhat=Remove:
- echo %name%: Has removed the %pe% command from %delwhere%S. >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- del "%USERPROFILE%\Dropbox\BatchChat\Permissions\%delwhere%\%delwhat%.txt"
- goto ~permissions
- :~changepass
- echo Welcome to the Password Change Page.
- echo ---------------------------------------
- echo Please type what you would like to change your password to.
- set /p newpass=New Password:
- echo set realpass=%newpass% > "%USERPROFILE%\Dropbox\Batchchat\profiles\%name%.bat"
- goto chat
- :~exit
- echo %name% has left the chat. >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- exit
- :~appeals
- cls
- if exist "%USERPROFILE%\Dropbox\BatchChat\newappeal.txt" del "%USERPROFILE%\Dropbox\BatchChat\newappeal.txt"
- echo Welcome to the Appeals Page.
- echo ---------------------------------------
- dir "%USERPROFILE%\Dropbox\BatchChat\ban\appeals\*.txt" /B
- dir "%USERPROFILE%\Dropbox\BatchChat\mute\appeals\*.txt" /B
- echo Please type what appeal to look at. (Don't include the .txt)
- set /p viewappeal=Appeal select:
- if exist "%USERPROFILE%\Dropbox\Batchchat\ban\appeals\%viewappeal%appeal.txt" goto openappeal
- if exist "%USERPROFILE%\Dropbox\Batchchat\mute\appeals\%viewappeal%appeal.txt" goto openappeal
- if not exist "%USERPROFILE%\Dropbox\Batchchat\mute\appeals\%viewappeal%appeal.txt" goto ~appeals
- if not exist "%USERPROFILE%\Dropbox\Batchchat\ban\appeals\%viewappeal%appeal.txt" goto ~appeals
- goto ~appeals
- :openappeal
- cls
- type "%USERPROFILE%\Dropbox\Batchchat\mute\appeals\%viewappeal%appeal.txt"
- type "%USERPROFILE%\Dropbox\Batchchat\ban\appeals\%viewappeal%appeal.txt"
- echo ---------------------------------------
- echo Type ~accept to accept the appeal.
- echo Type ~deny to deny the appeal.
- set /p appchoice=Command:
- if %appchoice%==~appeals goto chat
- if %appchoice%==~accept goto acceptapp
- if %appchoice%==~deny goto chat
- goto chat
- :acceptapp
- cls
- echo You have accepted %viewappeal%'s appeal.
- echo [%rank%]%nick% - UnBanning %viewappeal% >> "%USERPROFILE%\Dropbox\BatchChat\%roomselect%.txt"
- if exist "%USERPROFILE%\Dropbox\Batchchat\ban\appeals\%viewappeal%appeal.txt" del "%USERPROFILE%\Dropbox\Batchchat\ban\appeals\%viewappeal%appeal.txt"
- if exist "%USERPROFILE%\Dropbox\Batchchat\mute\appeals\%viewappeal%appeal.txt" del "%USERPROFILE%\Dropbox\Batchchat\mute\appeals\%viewappeal%appeal.txt"
- if exist "%USERPROFILE%\Dropbox\Batchchat\ban\%viewappeal%.txt" del "%USERPROFILE%\Dropbox\Batchchat\ban\%viewappeal%.txt"
- if exist "%USERPROFILE%\Dropbox\Batchchat\mute\%viewappeal%.txt" del "%USERPROFILE%\Dropbox\Batchchat\mute\%viewappeal%.txt"
- goto exit
- :~reload
- cls
- call "BatchChat v%version%.bat"
- :~friends
- cls
- echo ----------------------------------
- echo Avaliable Commands:
- echo ~removefriend to add a friend.
- echo ~addfriend to remove a friend.
- echo ~back to return to chat.
- echo ----------------------------------
- echo Friends List:
- if not exist "%USERPROFILE%\Dropbox\BatchChat\FriendsList\%name%\" mkdir "%USERPROFILE%\Dropbox\BatchChat\FriendsList\%name%\"
- dir %USERPROFILE%\Dropbox\Batchchat\FriendsList\%name%\ /b
- echo ----------------------------------
- :friendsloop
- set /p friendsinput=Command:
- if %friendsinput%==~back (goto :chat)
- if %friendsinput%==~removefrind (goto :~fremove)
- if %friendsinput%==~addfriend (goto :~fadd)
- goto friendsloop
- :~fadd
- cls
- echo ----------------------------------
- echo Add a Friend.
- echo ----------------------------------
- set /p fradd=ID of the User:
- echo %fradd% >> "%USERPROFILE%\Dropbox\BatchChat\FriendsList\%name%\%fradd%"
- goto fconfirm
- :~fremove
- cls
- echo ----------------------------------
- echo Remove a Friend.
- echo ----------------------------------
- set /p fremove=ID of the user:
- if exist "%USERPROFILE%\Dropbox\BatchChat\FriendsList\%name%\%fremove%" del "%USERPROFILE%\Dropbox\BatchChat\FriendsList\%name%\%fremove%"
- goto fconfirm
- :fconfirm
- echo User Successfully Added/Removed
- pause
- goto ~friends
- :~roomview
- cls
- echo ----------------------------------
- echo Welcome to the Room Viewing Page
- echo ----------------------------------
- echo Room 1: room1
- echo Room 2: room2
- echo Room 3: room3
- echo Room 4: room4
- echo Room 5: room5
- echo ----------------------------------
- :roomviewing
- set /p roomview=Which room do you want to view:
- if %roomview% ==room1 (START CHAT-BOX.bat)
- if %roomview% ==room2 (START CHAT-BOX2.bat)
- if %roomview% ==room3 (START CHAT-BOX3.bat)
- if %roomview% ==room4 (START CHAT-BOX4.bat)
- if %roomview% ==room5 (START CHAT-BOX5.bat)
- if %roomview% ==~back (goto :chat)
- goto roomviewing
- :~roomselect
- cls
- echo ----------------------------------
- echo Welcome to the Room Selection Page
- echo ----------------------------------
- echo Room 1: room1
- echo Room 2: room2
- echo Room 3: room3
- echo Room 4: room4
- echo Room 5: room5
- echo ----------------------------------
- :rooms
- set /p roomselect=Which room do you want to talk in:
- if %roomselect% ==room1 (goto :loginmsg)
- if %roomselect% ==room2 (goto :loginmsg)
- if %roomselect% ==room3 (goto :loginmsg)
- if %roomselect% ==room4 (goto :loginmsg)
- if %roomselect% ==room5 (goto :loginmsg)
- goto ~rooms
- :~forums
- call "%USERPROFILE%\Dropbox\BatchChat\forumversion.bat"
- start %USERPROFILE%\Dropbox\BatchChat\Forums%forumversion%
- goto chat
- :~help
- cls
- echo Welcome to the 1/2 Help Page.
- echo ---------------------------------------
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~help.txt" echo ~help - Displays a full list of the commands.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~help.txt" echo ~help2 - Displays a second full list of commands.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~chat.txt" echo ~chat - Opens the chatbox.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~clear.txt" echo ~clear - Clears the chatbox.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~topic.txt" echo ~topic - Changes the topic in the Chatbox.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~nick.txt" echo ~nick - Changes your nickname.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~kick.txt" echo ~kick - Kicks a user.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~ban.txt" echo ~ban - Bans a user.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~mute.txt" echo ~mute - Mutes a user.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~unban.txt" echo ~unban - Unbans a user.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~unmute.txt" echo ~unmute - Unmutes a user.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~back.txt" echo ~back - Returns to the main messaging menu. (Only while in a command interface)
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~clean.txt" echo ~clean - Deletes conflicted copies.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~me.txt" echo ~me - Displays the typed sentence as an emote.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~rank.txt" echo ~rank - Ranks a user.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~permissions.txt" echo ~permissions - Opens permissions interface.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~changepass.txt" echo ~changepass - Changes your password.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~delete.txt" echo ~delete - Deletes a permission. -Permissions-
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~add.txt" echo ~add - Adds a permission. -Permissions-
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~list.txt" echo ~list - Lets you browse from a list of things. -Permissions-
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~ranks.txt" echo ~folders - Lets you look at all the current ranks. -List-
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~commands.txt" echo ~commands - Lets you look at all the current commands. -List-
- goto exit
- :~help2
- cls
- echo Welcome to the 2/2 Help Page.
- echo ---------------------------------------
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~perms.txt" echo ~perms - Shows the commands a certain rank has. -List-
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~exit.txt" echo ~exit - Exits the window.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~msg.txt" echo ~msg - Opens the messaging window.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~inbox.txt" echo ~inbox - Opens your inbox.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~empty.txt" echo ~empty - Empties your inbox.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~refresh.txt" echo ~refresh - Refreshes the client.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~appeals.txt" echo ~appeals - Opens the appeals interface.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~reload.txt" echo ~reload - Reloads the client.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~roomselect.txt" echo ~roomselect - Opens the Room Selection Page.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~roomview.txt" echo ~roomview - Opens the Room Viewing Page.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~forums.txt" echo ~forums - Opens the Forums.
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\~friends.txt" echo ~friends - Opens the Friends interface.
- goto exit
- :exit
- set /p back=Message:
- if exist "%USERPROFILE%\Dropbox\Batchchat\Permissions\%rank%\%back%.txt" goto chat
- echo type ~back to return to the main messaging menu.
- goto exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement