commands via say
This will be one plugin that I will do...
To do the admin commands I want to hit y for say and enter @kick blahblahblah... I have made a program that gets the logs from my Source server and reads each line and if an admin does a say @kick or @ban etc it will execute the command. NO MORE RCON Commands, no having to get the full persons name etc, Uniquely partial names work. The only down side is its a windows EXE that has to run on my old computer using my bandwidth etc, but is sure is such a convenience. @restart to do a 5 second mp_restartgame command so we can get a good pistol round. It works great and Now I guess Im getting spoiled because when source mod is done I think I will make a plugin that will handlesay the text and execute the appropiate commands. |
The only problem is that it reads logs, you need to make a plugin so the server triggers an event.
|
I made a plugin like this for AMX Mod and I have full intention of porting it over. Commands were parsed according to a nice little syntax, like:
$ slap /* 50 would slap everyone for 50 damage |
Quote:
this is working fine for me.. But after getting used to @kick and @restart etc it will be difficult to going back to dropping the console and amx_kick blahblah |
trust me, after using admin through say, you NEVER use the console again ^^
|
Quote:
|
Quote:
[GNY|SO] Dygear : !Kick BAIL SERVER : BAILOPAN KICKED, ADMIN DECISION. or [GNY|SO] Dygear : !Kick BAIL TK SERVER : BAILOPAN KICKED, Team Killing. or [GNY|SO] Dygear : !Kick BAIL VK SERVER : BAILOPAN KICKED, Destroying friendly vehicles. The list goes on. |
hmm i gave up admining before that was fully realised.
is it just going to be if the say line starts with a certain character then it equates to a console command? or just a list of specifically registered says? things like: Quote:
or just things like: Quote:
kick <player> [time] [reason] time: 0 = player can reconnect instantly (aka your basic kick). # = cannot rejoin for this many minutes * = kicked forever. aka perma-ban err.. but i digress dont forget the builtdefault IRC actions... Quote:
|
| All times are GMT -4. The time now is 04:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.