AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Admin Check (https://forums.alliedmods.net/showthread.php?t=26993)

OneEyed 04-12-2006 19:54

Admin Check
 
1 Attachment(s)
Admin Check v1.51

Description:
When user types "/admin" in chat will display admins.
If user types "who" and "admin" in the same sentence will display admins.

CVAR:
amx_contactinfo "" - Displays contact info along with admins.

Requires: AMXX
Author: OneEyed

Other:
Open source code to edit color and default contact info.

Change Log:
v1.51
- Fixed to show multiple admins on several lines.

http://home.stx.rr.com/one3yed/admincheck2.jpg

nhdriver4 04-12-2006 22:04

Well done OneEyed.

[D]uMont 04-13-2006 00:06

Great job! :D My suggestion would be if there are no admins online, it would be nice if the head admins email popped up, or just some contact info. It would print "NO ADMINS ONLINE .. Contact Info - *blah*" Or even this could be a custom command that could be trigged only of the admin wanted to display their contact info.

Curryking 04-13-2006 06:04

Usefull, thanks!

Curry

DaSilva 04-13-2006 07:03

Thanks!

Lord_Destros 04-13-2006 16:08

can you make it work for amxx 1.01? (without strcat)

OneEyed 04-13-2006 16:16

I uploaded version 1.5.

I added a contact info cvar, amx_contactinfo

If no contact info given, won't print it.

Also, fixed it to work on amxx 1.01 to 1.71

Curryking 04-15-2006 19:22

1 Attachment(s)
If there are too many admins online, they aren't listet because the line is to short. You should make it so that a second line is used to list them. (screenshot attached)

And perhaps add the function that the admins are also listed if simply the word "admin" or "admins" are written in the chat (or teamsay).
f.e. "Admins online?", "is there an admin?" etc.

Curry

Lord_Destros 04-15-2006 20:26

or if you can't do that, you could just make it use an MOTD window......

OneEyed 04-17-2006 03:44

Updated plugin to v1.51

-Plugin now correctly displays admins on multiple lines when there is to many to list on one line.

I did some tests and it was working fine, if you find any more bugs let me know! Sorry for taking so long, I was on my easter break + moving to the other side of Texas =).

Quote:

Originally Posted by Curryking
And perhaps add the function that the admins are also listed if simply the word "admin" or "admins" are written in the chat (or teamsay).
f.e. "Admins online?", "is there an admin?" etc.
Curry

those can be used quite commonly even tho their not looking for an admin, but talking to one. cause i'd probably look for "admin" and "?" in the same sentence..


All times are GMT -4. The time now is 11:39.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.