Autoserver commands plz help!
Moderator: Forum Moderators
Autoserver commands plz help!
Hi i've been using turbosliders for a few years now and i started to get interested in autoservers and made a really good one but i went to read the autoserver readme.txt and it says how to make ur own commands and stuff for autoservers u know like using windows command script.cmd and batch file.bat but i do not understand how to make commands what r the varibles? i don't understand how to mke autoserver scripts can somebody plz help me? 
This is an example of a .bat file (you can create it using notepad).
custom.bat
You can easily launch external script for stat parsing and so on.
For example, I created a PHP script for useful things (I can run those commands when I'm hosting, using the sliders.ini configuration CustomCmd custom.bat):
/adminmsg /cmd searchip <ip> (searches for the specified <ip>)
/adminmsg /cmd searchnick <nick> (searches for the specified <nick>)
/adminmsg /cmd ipwhois <ip> (displays the country linked to that <ip>)
/adminmsg /cmd clock (displays the current date)
/adminmsg /cmd reverse <string> (displays <string> reversed)
/adminmsg /cmd clearsrc (deletes temporary source file)
custom.bat
Code: Select all
C:/wamp/php/php.exe serverscript.phpFor example, I created a PHP script for useful things (I can run those commands when I'm hosting, using the sliders.ini configuration CustomCmd custom.bat):
/adminmsg /cmd searchip <ip> (searches for the specified <ip>)
/adminmsg /cmd searchnick <nick> (searches for the specified <nick>)
/adminmsg /cmd ipwhois <ip> (displays the country linked to that <ip>)
/adminmsg /cmd clock (displays the current date)
/adminmsg /cmd reverse <string> (displays <string> reversed)
/adminmsg /cmd clearsrc (deletes temporary source file)
Did you ever read my answer? You need to create the bat file, and inside it you can call the interpreter and your own scripts.CJ_Moto7 wrote:ummmm ok but what do u mean? how can turbosliders understand your own programing language? i'm sorry but i just don't get it
OT: after the first warn you posted again some useless topics. Speedway mod is already advertised here at the forum, so please use the search function. And actually, this has to be considered the second warn, so please don't post like that or you get a ban.
umm i'm not a noob but i don't know how to make php scripts if u can could u plz show me how or an example? and about the speed way sry about that cause i went and saw the speedway topic and u just sed its at can'tremember.eu and i went there and it did nothing so maybe could u send me the link here? or post the link in that speedway topic plzdede wrote:For example, I created a PHP script for useful things
Last edited by CJMoto7 on Fri Dec 05, 2008 6:23 am, edited 1 time in total.
search.php -> Forum search function, should be used before posting anything. The speedway topic has a link for direct download, so read ALL posts.
http://www.google.it -> This is a little website where you get immediate answer to your problems. Try writing "php script help plz". You will get 101.000 answers. But since it might be too hard to read them, I did that for you and I found http://www.php.net which is a website dedicated to php.
http://www.google.it -> This is a little website where you get immediate answer to your problems. Try writing "php script help plz". You will get 101.000 answers. But since it might be too hard to read them, I did that for you and I found http://www.php.net which is a website dedicated to php.
AnswerCJ_Moto7 wrote:ok dede i have made an exellent custom.bat file and i use it alot and have also made a .php file but how do u associate it with the custom.bat file? and furthermore how do u associate it with Turbo Sliders? because it will make my autoserver come alive big time so plz?
OT: Anyway, stop using this forum as a chat, and posting 10 messages in a row. I removed your "Community User Level", because it seems like you want to get it as high as possible (don't even complain about this decision).
Most of your posts got deleted because they were stupid questions about already discussed (& solved) topics. This post by you is a good example, since I clearly showed you how to do in the second post.
Two warns via PM didn't work, so let's see if this works. This is the last warn, after you get a ban.
could u send me a link to download ur script please? i would like what u have made and will help me in making mine tnxdede wrote:This is an example of a .bat file (you can create it using notepad).
custom.batYou can easily launch external script for stat parsing and so on.Code: Select all
C:/wamp/php/php.exe serverscript.php
For example, I created a PHP script for useful things (I can run those commands when I'm hosting, using the sliders.ini configuration CustomCmd custom.bat):
/adminmsg /cmd searchip <ip> (searches for the specified <ip>)
/adminmsg /cmd searchnick <nick> (searches for the specified <nick>)
/adminmsg /cmd ipwhois <ip> (displays the country linked to that <ip>)
/adminmsg /cmd clock (displays the current date)
/adminmsg /cmd reverse <string> (displays <string> reversed)
/adminmsg /cmd clearsrc (deletes temporary source file)


