Official Soldat Forums

Server Talk => Scripting Releases => Topic started by: freestyler on July 25, 2008, 03:19:05 am

Title: AdminList 0.1e
Post by: freestyler on July 25, 2008, 03:19:05 am
Script Name: AdminList
Script Description: A simple script which shows list of online admins when a player says !onlineadmins.
Original Author: fri
Core Version: 2.6.3
Code: http://nopaste.org/p/aApV5zvmz

Uses KeYDoN's xsplit (http://forums.soldat.pl/index.php?topic=12742.0).

(http://oko.im/files/adminlistv2.png)

Notes:
- make sure your remote.txt file doesn't have whitespaces at the end of the lines
- /recompile clears all variables, so admins logged through /adminlog won't be shown on the list (I don't think there's a way to fix it since EnEsCe said it's impossible to implement GetPlayerStat(ID, 'Admin')).
Title: Re: AdminList 0.1d
Post by: iDante on July 25, 2008, 02:33:01 pm
usually !admin calls an admin to the server... possibly change the command to like... !onlineadmins?
Title: Re: AdminList 0.1d
Post by: Irlandec on July 25, 2008, 02:45:45 pm
Quote
...possibly change the command to like... !onlineadmins?

Fully agreed
Title: Re: AdminList 0.1d
Post by: freestyler on July 25, 2008, 04:15:11 pm
It's just a few characters, everyone can change it as they want...
Title: Re: AdminList 0.1d
Post by: jrgp on July 25, 2008, 04:24:53 pm
It's just a few characters, everyone can change it as they want...
You should make the default !onlineadmins so people who don't know anything about the inner workings of scripts don't have to go digging through your maze of uncommented code.
Title: Re: AdminList 0.1e
Post by: freestyler on July 25, 2008, 06:22:09 pm
okay, first post updated.
Title: Re: AdminList 0.1e
Post by: DorkeyDear on July 25, 2008, 09:01:26 pm
You can have /adminlog modify the remote admins txt file to fix the /recompile bug.