Kevin5475845 Admin
Number of posts : 443 Age : 31
Character sheet HP: (100/100)
| Subject: My command generator so far Sat Jun 09, 2007 1:42 am | |
| ok here is my command generator so far just put this in a text file and save as <whatever>.bat <whatever> = can be anything you want ok here is the code - Code:
-
@ECHO off title Kevin5475845 Command Maker SET /p Name=name of Command: ECHO.else if (command.equalsIgnoreCase("%Name%")) { >> "command.txt" :start cls ECHO.1. add item ECHO.2. SET boolean true/false ECHO.3. teleto x and y ECHO.4. End Command(run last) ECHO.5. Sendmessage ECHO.6. Start Gfx ECHO.7. Emote ECHO.8. Message To All ECHO.9. addskillXp ECHO.A. Delete Item ECHO.B. Text Player Will Say choice /c:123456789ab /n IF ERRORLEVEL 11 goto 11 IF ERRORLEVEL 10 goto 10 IF ERRORLEVEL 9 goto 9 IF ERRORLEVEL 8 goto 8 IF ERRORLEVEL 7 goto 7 IF ERRORLEVEL 6 goto 6 IF ERRORLEVEL 5 goto 5 IF ERRORLEVEL 4 goto 4 IF ERRORLEVEL 3 goto 3 IF ERRORLEVEL 2 goto 2 IF ERRORLEVEL 1 goto 1 goto start
:1 cls SET /p item=Item Id: SET /p itemammount=Item ammount: ECHO. addItem(%item%, %itemammount%); >> "command.txt" goto start :2 cls SET /p boolean=Boolean Name: SET /p boolean_on=Gonna be true/false: ECHO. %boolean% = %boolean_on%; >> "command.txt" goto start
:3 cls SET /p telex=X: SET /p teley=Y: ECHO. teleportToX = %telex%; >> "command.txt" ECHO. teleportToY = %teley%; >> "command.txt" goto start
:4 if %usedtxt4%==yes echo.string4UpdateRequired = true; >> "command.txt" ECHO. } >> "command.txt" ECHO. >> "command.txt" goto exit
:5 cls SET /p message=Message: ECHO. sendMessage("%message%"); >> "command.txt" goto start
:6 cls set /p gfx=Gfx Id: echo. stillgfx(%gfx%, absY, absX); >> "command.txt" goto start
:7 cls set /p emote=Emote Id: echo. startAnimation(%emote%); >> "command.txt" goto start
:8 cls set /p message=MessageToall: echo. PlayerHandler.messageToAll = "%message%"; >> "command.txt" goto start
:9 cls set /p skillid=Skill ID: set /p skillxp=Skill XP: echo. addSkillXP(%skillid%, %skillxp%); >> "command.txt" goto start
:10 cls set /p itemid=Item ID: set /p itemammount=Item Ammount: echo. deleteItem(%itemid%, getItemSlot(%itemid%), %itemammount%); >> "command.txt" goto start
:11 cls set /p message=What Will Player Say: echo.txt4 = "%message%"; >> "command.txt" set usedtxt4=yes goto start
:exit
you may need this if it can't find choice.exe http://www.box.net/shared/v2b0eac7ya | |
|
Gibraldi Admin
Number of posts : 335
| Subject: Re: My command generator so far Sat Jun 09, 2007 9:19 am | |
| | |
|
Kevin5475845 Admin
Number of posts : 443 Age : 31
Character sheet HP: (100/100)
| Subject: Re: My command generator so far Sat Jun 09, 2007 11:03 am | |
| if you are lazy on coding commands for kevinscape.. or any other server | |
|
Kevin5475845 Admin
Number of posts : 443 Age : 31
Character sheet HP: (100/100)
| Subject: Re: My command generator so far Sat Jun 09, 2007 11:04 am | |
| and its written in batch language | |
|
Gibraldi Admin
Number of posts : 335
| Subject: Re: My command generator so far Sat Jun 09, 2007 12:04 pm | |
| hmm, I'll never make my own server, so... | |
|
slump40 Moderator
Number of posts : 83 Age : 30
| Subject: Re: My command generator so far Mon Jun 18, 2007 9:47 am | |
| i want to make a server but dont got acces to router and hamachi messes up my computer so yea.. | |
|
Gibraldi Admin
Number of posts : 335
| Subject: Re: My command generator so far Tue Jun 19, 2007 8:56 am | |
| seems like we are dependent on kevinscape(which I can't play right now, cause my pc crashed...) | |
|
Sponsored content
| Subject: Re: My command generator so far | |
| |
|