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

commands via say


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BeetleFart
SourceMod Donor
Join Date: Apr 2004
Old 11-15-2004 , 15:56   commands via say
Reply With Quote #1

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.
BeetleFart is offline
Sveach
Junior Member
Join Date: Nov 2004
Location: Lee's Summit, MO
Old 11-15-2004 , 16:39  
Reply With Quote #2

The only problem is that it reads logs, you need to make a plugin so the server triggers an event.
Sveach is offline
Send a message via AIM to Sveach Send a message via MSN to Sveach
BAILOPAN
Join Date: Jan 2004
Old 11-15-2004 , 17:07  
Reply With Quote #3

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
BAILOPAN is offline
BeetleFart
SourceMod Donor
Join Date: Apr 2004
Old 11-15-2004 , 18:35  
Reply With Quote #4

Quote:
Originally Posted by Sveach
The only problem is that it reads logs, you need to make a plugin so the server triggers an event.
Yeah, but until the SDK is released and sourcemod is up..
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
BeetleFart is offline
BAILOPAN
Join Date: Jan 2004
Old 11-15-2004 , 18:35  
Reply With Quote #5

trust me, after using admin through say, you NEVER use the console again ^^
BAILOPAN is offline
BeetleFart
SourceMod Donor
Join Date: Apr 2004
Old 11-15-2004 , 20:38  
Reply With Quote #6

Quote:
Originally Posted by BAILOPAN
trust me, after using admin through say, you NEVER use the console again ^^
Yeah after 3 days of doing it this way...Im spoiled now...
BeetleFart is offline
Dygear
SourceMod Donor
Join Date: Apr 2004
Location: Levittown, NY
Old 11-18-2004 , 20:30  
Reply With Quote #7

Quote:
Originally Posted by BAILOPAN
trust me, after using admin through say, you NEVER use the console again ^^
And BF1942RM (Battlefield 1942 Remote Manager) Steps in.

[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.
__________________
Dygear is offline
Send a message via AIM to Dygear Send a message via MSN to Dygear Send a message via Skype™ to Dygear
paegus
Senior Member
Join Date: Nov 2004
Location: Extreme low earth orbit
Old 12-02-2004 , 16:41  
Reply With Quote #8

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:
say: /sensitivity 6
say: /name ~怪異~lol~this~is~cool~
say: /kick bob being an arse
basically replacing the missing messagemode [whatever] commands

or just things like:
Quote:
say: /kick ebob being an arse
Admin has kicked joebobbriggs for being an arse.

say: /ban a
[BANer] Multiple matches:
1: James
2: Alex
3: Sara
...
#: ALL matching players.

slot2

[BANer] How long?
1: 5 minutes
2: 20 minutes
3: 1 hour
...
0: Forever

slot5

[BANer] Why?
1: because
2: hacking
3: disruptive
...

slot7

Admin has temp-banned Alex for being a bleeding twit.

[KICKer] Player joebobbriggs has reconnected.
[KICKer] Last kicked 15 seconds ago for being an ass.
[KICKer] Pervious kicks for spawn camping (2x), teamflashing, swearing, team damaging (4x) and being an arse...
or since i've never really seen the point in having a kick AND a ban command other than the fact that a ban by itself doesnt kick as well:

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:
say: /me trips on a defuse kit and breaks his ankle
** Paegus trips on a defuse kit and breaks his ankle **
__________________
Live and learn or die and teach by example.
Plugins Mine | Hidden:SourceMod
paegus is offline
Reply



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 17:05.


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