Raised This Month: $12 Target: $400
 3% 

Admin Check


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Statistical        Approver:   Brad (55)
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 04-12-2006 , 19:54   Admin Check
Reply With Quote #1

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.

Attached Files
File Type: sma Get Plugin or Get Source (admin_check.sma - 169939 views - 1.8 KB)
__________________
OneEyed is offline
nhdriver4
Senior Member
Join Date: Nov 2005
Old 04-12-2006 , 22:04  
Reply With Quote #2

Well done OneEyed.
__________________
nhdriver4 is offline
Send a message via AIM to nhdriver4
[D]uMont
Junior Member
Join Date: Apr 2006
Location: A-Town
Old 04-13-2006 , 00:06  
Reply With Quote #3

Great job! 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.
[D]uMont is offline
Curryking
Veteran Member
Join Date: Jun 2004
Location: 51.22°N / 6.77°E
Old 04-13-2006 , 06:04  
Reply With Quote #4

Usefull, thanks!

Curry
__________________
Full speed - no brakes!
Curryking is offline
DaSilva
Senior Member
Join Date: Oct 2005
Location: Germany
Old 04-13-2006 , 07:03  
Reply With Quote #5

Thanks!
__________________
Please remember: English is NOT my native language!
DaSilva is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 04-13-2006 , 16:08  
Reply With Quote #6

can you make it work for amxx 1.01? (without strcat)
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 04-13-2006 , 16:16  
Reply With Quote #7

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
__________________
OneEyed is offline
Curryking
Veteran Member
Join Date: Jun 2004
Location: 51.22°N / 6.77°E
Old 04-15-2006 , 19:22  
Reply With Quote #8

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
Attached Images
File Type: jpg admins.jpg (295.4 KB, 9893 views)
__________________
Full speed - no brakes!
Curryking is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 04-15-2006 , 20:26  
Reply With Quote #9

or if you can't do that, you could just make it use an MOTD window......
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 04-17-2006 , 03:44  
Reply With Quote #10

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..
__________________
OneEyed is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:52.


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