Forum

> > CS2D > Scripts > I need a specific administration script
Forums overviewCS2D overview Scripts overviewLog in to reply

English I need a specific administration script

21 replies
Page
To the start Previous 1 2 Next To the start

old I need a specific administration script

LeProdigy
User Off Offline

Quote
Hey guys.
I need a script
That allows the administrator to:

Kick
Ban
Restart round
Change Map

I cannot find anything that is simple and doesnt have loads of commands or adds color
Just limited to those 4 maybe 5-6 more
But not like tlex and stuff

old Re: I need a specific administration script

Yates
Reviewer Off Offline

Quote
user omg has written
u can do all of those using rcon...using a script would actually make it harder to do

So you are saying opening the console to enter the RCon and then type the ban/kick/etc command is easier than just saying !ban id?

Are you mad?
edited 1×, last 16.12.12 07:09:05 pm

old Re: I need a specific administration script

Jynxxx
User Off Offline

Quote
user sheeL has written
user LeProdigy has written
Hey guys.
I need a script
That allows the administrator to:

Kick
Ban
Restart round
Change Map

I cannot find anything that is simple and doesnt have loads of commands or adds color
Just limited to those 4 maybe 5-6 more
But not like tlex and stuff


http://www.unrealsoftware.de/files_show.php?file=11132
or
http://unrealsoftware.de/files_cat.php?cat=15&lan=2&f=admin&o=0&d=1


Please do not suggest that ugly "admin script".

old script

sheeL
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
addhook("say","commands")
function commands(id,txt)
local p = totable(txt)
local cmd = tostring(p[1])
local pl = tonumber(p[2])
for _, k in ipairs(admins) do
      if player(id,"usgn") == k then
		if cmd == "@kick" then
    	   parse("kick "..pl)
			return 1
  	         elseif cmd == "@ban" then
				parse("banip "..pl)
				return 1
			      elseif cmd == "@changemap" then
				 txt = string.sub(txt,11)
				 parse("map "..txt)
				 return 1
       		    elseif cmd =="@restart" then
     			 parse("restart")
   			   return 1
                       end
               end
       end
end
edited 6×, last 16.12.12 07:43:13 pm

old Re: I need a specific administration script

Yates
Reviewer Off Offline

Quote
user Hador has written
@user Yates: so, typing "!ban [id]" is shorter than "/ban [id]"?

The person wants this script for a dust server, which probably indicates it is dedicated so he would first need to type in the RCon, and if not done, the person could already leave. A command is easier but yes it takes a little work to create it.

user Hador has written
A script would definately be more work and probably achieve the same result.

Isn't it the point to achieve the same result? Hurr..
To the start Previous 1 2 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview