EventScripts Forums
Mattie's EventScripts and Source Forums
Mattie recommends...
Premier Sponsor:Platinum Sponsor:
 
Script Categories
addon (49) admin (269) admins (14) advert (15) adverts (19) afk (15) alerts (12) ammo (23) anti (15) auth (16) automatic (12) awp (23) ban (18) ba_jail (17) bhop (19) block (19) bomb (40) bonus (23) bot (24) bot-management (19) bots (17) bunnyhop (11) Buy (21) cash (65) chat (57) cheat (11) clan (16) classes (22) color (21) colors (18) command (20) commands (18) config (22) connect (42) CS:S (16) css (2507) Damage (35) database (11) dead (15) death (19) deathmatch (70) deathrun (12) disconnect (18) Dissolve (11) dm (20) dod:s (11) dods (389) easy (17) effects (120) English (15) entity (21) es_tools (12) Eventscript (12) flashbang (25) français (99) french (36) fun (288) funny (16) Gabeee (11) gameplay (174) give (16) gravity (11) grenade (25) grenades (29) gun (14) GunGame (26) GunGame5 (11) guns (17) Hack (15) headshot (32) health (55) hegrenade (13) hl2dm (332) HP (13) info (48) information (16) jail (26) jailbreak (11) join (23) jump (12) kick (23) kill (44) kills (22) knife (57) leveling (36) management (14) mani (15) map (25) map-management (27) maps (15) match (17) menu (106) message (20) messaging (52) mod (109) model (14) models (32) money (42) motd (13) music (29) mute (18) nades (18) name (13) noblock (35) player (40) player-management (31) player-tracking (28) popup (56) props (23) protection (27) punishment (50) python (63) quake (18) radio (21) random (36) rank (35) rates (16) rcon (13) realism (21) respawn (61) restrict (36) round (20) rpg (24) rules (42) say (11) scout (19) Script (20) script-helper (25) scriptpack (33) sdk (151) server (44) server-tools (42) shop (12) silly (31) simple (27) skins (25) slay (13) soccer (11) sound (45) sounds (92) spawn (63) speed (25) statistics (13) stats (48) STEAMID (23) Superhero (13) surf (31) Team (25) team-balance (14) teleport (12) text (14) TF2 (143) time (17) timer (14) tools (15) tracers (17) triggers (11) uedi (18) uses_auth (18) utility (11) vip (12) vote (36) voting (22) war (20) wcs (24) wcs:Python (32) weapon (77) weapons (114) web (14) welcome (12) zm (24) zombie (90) zombiemod (51) zombies (11)
Script Authors
*XYZ*SaYnt (12) .:MiB:. (11) .eMko* (6) 101satoon101 (10) 3R10N (24) 4u571n91 (5) 7355608 (9) Absolute (8) Ace Rimmer (40) adminc (5) Adz (8) AgathaKnuppelkuh (8) aidden (8) ajax (5) ak_47 (6) Al3c Tr3v3lyan (6) allstareng (5) ashbash1987 (9) ATAMAH (7) aznone (5) B00M (5) BackRaw (41) BFH_RedBull (8) bigfabi (7) Bioko (7) Blade (10) bladesback (13) bobdole (11) bodzsar1 (8) bonbon (36) Brainsucker (30) cagemonkey (8) carbon-14 (10) CaskioUTF (5) cbirou (15) ChaCaLz2psy4 (5) CharlesT (5) Chrisber (5) chrismrulz (9) Chun (6) cladiron (10) clipz934 (8) Colster (21) Cookieman8 (7) craziest (10) DanielB (19) Darkness123 (8) Dave (9) dbozan99 (7) deathx9 (5) Deathyy (16) dhack (16) Di[M]aN (12) DoCky (27) Don (15) dordtcore (8) DragonFreddo (8) Drassil (5) Einlanzers (42) EmbouT (10) emilplov (7) Errant (10) Eun (6) Fantole (9) Franc1sco (9) freddukes (18) Frequency (6) Fulmine (5) GAMEREN2 (8) german9114 (13) GODJonez (38) GoodfellaDeal (5) Hansi (6) HitThePipe (7) HOLLDIDAY (9) Icetouch (6) ichthys (25) infamous1 (9) Jeff91 (45) JoeyT2006 (30) Juba_PornBorn (12) jxl180 (10) KDBFame (6) L'In20Cible (7) Largo Usagi (10) Lobe (11) loKkdoKk (7) lolo-le-haricot (7) LosNir (5) Lumpi@Work (9) M4rc3L-XCN (7) macshot (6) Matth (6) Mattie (20) MBchrono (15) McFly (20) Medda (5) Memphis-84 (10) Messiah93 (12) Mickyy (5) micmacx (6) Mitchell (5) Mordavolt (7) MrScriptaz (5) mryoung (6) Nicolous (26) ojii (31) Omega_K2 (8) Owned|Myself (8) P3N (7) pand3mic (5) parsimba (5) Pascal257 (9) PatPeter (7) PDrop (10) Phaedrus (18) PhantOm Fury (7) phoenix131 (9) pinkyyy -.- (5) pitbull0993 (7) randomknifer (9) Ratzee (6) ReaCtioN2oo9 (6) Rennnyyy (17) revolutionfighters (6) RideGuy (12) Rio (9) Roeliekt (6) runamagic (13) sandking220 (6) Sarcasm_Poisoning (10) saRs| Johnny-5 (13) Schubaal (10) sea212 (5) sega74rus (7) sgt.angel (6) sicilia (5) sicman_adrian (22) skillz92 (7) sn4k3 (18) snake38 (10) sonicsight (7) spoonman184 (8) stabby (22) stas (22) Strontium Dog (30) SumGuy14 (25) SuperDave (45) surfteam (5) TaCo (5) TanaToS (17) Tealk (6) teowow (16) TheCheeTaH (20) TheDonFather (5) theresthatguy (6) Tiny Tod (7) Totyahun (9) uedi (38) Undead (25) usernamesaretaken (15) Warren (13) westham (6) WhiteAvenger (7) Wonder (14) X-Mania (5) XE_ManUp (13) xfalcon61 (5) zSweetXz (5) [Cs]Lord_Inferno2 (11) [NATO]Hunter (28) ||Wolf|| (10)
Search

Post new topic Reply to topic
Go to page 1, 2, 3, 4, 5 ... 8  Next
Author Message
User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 4265
Location:
Michigan
 
New postPosted: 2006-07-10, 5:23 pm 
   Post subject: EasyAdmin

EasyAdmin v2.1

Requirements:
Eventscripts 1.1

Install:
1. Put es_easyadmin.txt into cstrike/addons/eventscripts/easyadmin/
2. Put es_ea_admins_db.txt into cstrike/addons/eventscripts/easyadmin/
3. Put es_ea_maps_db.txt into cstrike/addons/eventscripts/easyadmin/
4. Put es_ea_configs_db.txt into cstrike/addons/eventscripts/easyadmin/
5. Put es_ea_downloadlist_db.txt into cstrike/addons/eventscripts/easyadmin/
6. Put es_ea_soundlist_db.txt into cstrike/addons/eventscripts/easyadmin/
7. Put es_ea_adminmenu_db.txt into cstrike/addons/eventscripts/easyadmin/
8. Put config.cfg into cstrike/addons/eventscripts/easyadmin/
9. Put this in autoexec.cfg
Code:
es_load easyadmin


Features:
Adds a bunch of commands and admins that can use them via player say or console.

Configuration:
1. Edit es_ea_admins_db.txt to include the admins you want. Set them to "1" to allow use of commands. Set to "2" (or higher) to allow use ea_rcon
2. Edit es_ea_maps_db.txt to include the maps you want (Remember to surround them in quotes and end them with two brackets "{}")
3. Edit es_ea_configs_db.txt to include the config files you want to load for ea_config
4. Edit es_ea_downloadlist_db.txt to include any files you want users to be forced to download
5. Edit es_ea_soundlist_db.txt to include any sounds you would like to be able to play with ea_playsound (You don't need custom sounds to be in downloadlist aswell)
6. Edit es_ea_adminmenu_db.txt to include the layout and actions of your menu
7. Edit config.cfg to include any custom commands you want to add or to remove unwanted commands. There are also variables you can edit in there.

Server Commands:
Quote:
ea <command> <param1> <param2> <param3> <param4> <param5> - Standard format of ea commands (run from server)
ea addcmd <command-name> <parameters-required> <admin-level-required> <target-required> - Add a custom command
ea delcmd <command-name> - Remove a custom command
ea burn <target> - Burn the target
ea slay <target> - Slay the target
ea noclip <target> <1/0> - Set to 1 to give noclip to target. 0 to deny
ea shake <target> - Shake the target's screen
ea kick <target> [message] - Kick the target with optional message
ea ban <target> <time> [message] - Ban the target with optional message
ea map <map-name> - Change the map to specified map
ea drug <target> <1/0> - Set to 1 to drug target. 0 to undrug.
ea slap <target> [damage] - Slap the target with optional damage
ea give <target> <entity> - Give the target specified entity
ea setammo <target> <slot/weapon> <amount> - Set target's ammo of specified slot or weapon to specified amount
ea giveammo <target> <slot/weapon> <amount> - Give target more ammo of specified slot or weapon
ea takeammo <target> <slot/weapon> <amount> - Take from target ammo of specified slot or weapon
ea setteam <target> <team#> - Change the target's team
ea sethealth <target> <amount> - Set the target's health to specified amount
ea givehealth <target> <amount> - Give target specified amount of health
ea takehealth <target> <amount> - Take specified amount of health from target
ea setcash <target> <amount> - Set the target's cash to specified amount
ea givecash <target> <amount> - Give target specified amount of cash
ea takecash <target> <amount> - Take specified amount of cash from target
ea setarmor <target> <amount> - Set the target's armor to specified amount
ea givearmor <target> <amount> - Give target specified amount of armor
ea takearmor <target> <amount> - Take specified amount of armor from target
ea setpoints <target> <amount> - Set the target's points to specified amount
ea givepoints <target> <amount> - Give target specified amount of points
ea takepoints <target> <amount> - Take specified amount of points from target
ea setspeed <target> <amount> - Set the target's speed to specified amount
ea givespeed <target> <amount> - Give target specified amount of speed
ea takespeed <target> <amount> - Take specified amount of speed from target
ea setviewangle <target> <pitch> <yaw> [roll] - Set target's view to specified angle
ea setviewplayer <target> <target2> - Set the target's view to specified player
ea setviewcoord <target> <x> <y> <z> - Set the target's view to specified coordinate
ea getviewangle <target> <return-pitch> <return-yaw> - Get the target's current view angle
ea getviewcoord <target> <return-x> <return-y> <return-z> - Get the target's current view coordinates
ea getviewplayer <target> <return-userid> - Check to see if target is looking at a player
ea physpush <target> <x-power> <y-power> <z-power> - Push target
ea physpushto <target> <x> <y> <z> <power> - Push target to location
ea blind <target> <1/0> - Blind target if set to 1. Unblind if 0
ea freeze <target> <1/0> - Freeze target if set to 1. Unfreeze if 0
ea teleport <target> <x> <y> <z> - Teleport target to specified coordinate
ea color <target> <red> <green> <blue> [alpha] - Set target's color
ea rcon <action> - Run rcon command
ea csay <message> - Display a center message
ea say <message> - Display a message
ea priv <target> <message> - Privately message target
ea cexec <target> <action> - Force a command on target
ea sexec <target> <action> - Force a server command on target
ea menu <target> <menu-text> - Display a menu to target
ea rr - Restart game 3 times
ea config <config-name> - Run specified config file
ea addadmin <target> <admin-level> - Add an admin
ea deladmin <target> <admin-level> - Delete an admin
ea stripplayer <target> [with-suit] - Remove all weapons/items from player with option to remove armor aswell
ea dropweapon <target> [slot/weapon] - Force player to drop all weapons with option to remove a single weapon or slot
ea getarmor <target> <return-amount> - Retrieve target's armor
ea gethealth <target> <return-amount> - Retrieve target's health
ea getpoints <target> <return-amount> - Retrieve target's points
ea getammo <target> <return-amount> <slot/weapon> - Retrieve target's ammo
ea isbomber <target> <return-var> - See if target has the bomb
ea getweapon <target> <return-var> <slot/weapon> - See if target has specified weapon or a weapon in specified slot
ea dropc4 - Force the bomb-carrier to drop the c4
ea god <target> <1/0> - If set to 1 give target god-mode. If set to 0 deny it.
ea setclip <target> <slot/weapon> <amount> - Set target's clip to specified amount
ea giveclip <target> <slot/weapon> <amount> - Give target more clip ammo
ea takeclip <target> <slot/weapon> <amount> - Take clip ammo from target
ea getclip <target> <return-amount> <slot/weapon> - Retrieve target's clip ammo
ea setgrav <target> <amount> - Set target's gravity
ea restrict <weapon-name/all/knife-only> - Restrict specified weapon
ea unrestrict <weapon-name/all> - Unrestrict specified weapon
ea recall <target> <spawn#> - Teleport target back to specified spawn
ea playsound <sound-name> - Play specified sound to all players
ea effect <effect-name> <x> <y> <z> <life> - Create an effect at specified coordinates (blood,dust,spark,splash,explosion,glow,tesla)
ea votercon <question> <action> - Trigger an rcon vote
ea listplayers <target> <menu-name> <identifier> - Display a menu of players to target
ea admin - Display the admin menu
ea banip <target> <time> [message] - Ban the target's IP with optional message
es listmaps <target> <menu-name> - Display a menu of maps to target


Variables:
Quote:
ea_managemaps //Let EasyAdmin manage your mapcycle
ea_randomcycle //Use a random map cycle
ea_silentadmin //Don't display admin activity
ea_adminsteamid //Display SteamID in admin action
ea_adminip //Use IPs for admin lookup


Client Commands:
Simply stick an "ea_" before the command
Example:
Quote:
ea burn 6

Becomes:
Quote:
ea_burn 6


Says Commands:
Stick a percent sign (%) before the command
Example:
Quote:
ea burn 6

Becomes:
Quote:
%burn 6


Note:
Quote:
<target> can be anything that foreach player currently supports


Happy gaming,
Einlanzers

_________________
Image


Last edited by Einlanzers on 2007-01-07, 12:10 pm, edited 21 times in total.




User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 4265
Location:
Michigan
 
New postPosted: 2006-07-10, 5:23 pm 

How Tos:
How to add your own command:
Let's assume you want to add the "gimp" command (which will simply make the player say "I'm a gimp")
1. Add this line to config.cfg (in cstrike/addons/eventscripts/easyadmin/):
Code:
ea addcmd gimp 1 1 1

The syntax for "addcmd" is:
Quote:
ea addcmd <command-name> <parameters-required> <admin-level-required> <target-required>

So for our command: It's name will be "gimp", it requires 1 parameter (the target), it requires an admin-level of 1, and it does require a target.
2. Add the block into es_easyadmin.txt (in cstrike/addons/eventscripts/easyadmin/):
Code:
block gimp
{
   //ea gimp <target>
   es_sexec server_var(ea_userid) say I'm a gimp
}

The command returns server_var(ea_userid) as the person specified as the "target"
So basically this forces whoever you specify as the target to say "I'm a gimp"
3. Use the command:.
Now there are really 3 ways to use it:
a. From the server. You can run it from the server console by using:
Quote:
ea gimp <target>

b. Client command. You can run it from you client's console by using:
Quote:
ea_gimp <target>

c. Say command. You can type it in chat by using:
Quote:
%gimp <target>


How to customize your menu:
Let's take a look at es_ea_adminmenu_db.txt:
Code:
"ea_adminmenu"
{
   "Player Management"
   {
      "Slap"   "ea listplayers %userid slap #all"
      "Slay"   "ea listplayers %userid slay #all"
      "Burn"   "ea listplayers %userid burn #all"
      "Kick"   "ea listplayers %userid kick #all"
      "Ban"   "ea listplayers %userid ban #all"      
   }
   "Map Management"
   {
      "Go To Next Map"   "ea gotonextmap"
      "Set Next Map"      "ea listmaps %userid setnext"
      "Go To Map"      "ea listmaps %userid goto"
   }
}

Basically the "Keys" appear as selections off the main menu.
Then if you choose that "Key" it's "SubKeys" (or KeyValueNames) are listed.
Then if you select a "Subkey" that action is taken.
So let's say you type ea_admin in console then you hit 1 (for Player Management) then you hit 2 (for Slay) then it lists all players on the server and you choose who you want to "slay".
So if you wanted to add a command...let's say "Slap Terrorists" under player management simply do:
Code:
"ea_adminmenu"
{
   "Player Management"
   {
      "Slap"   "ea listplayers %userid slap #all"
      [color=red]"Slap Terrorists"   "ea slap #t 0"[/color]
      "Slay"   "ea listplayers %userid slay #all"
      "Burn"   "ea listplayers %userid burn #all"
      "Kick"   "ea listplayers %userid kick #all"
      "Ban"   "ea listplayers %userid ban #all"      
   }
   "Map Management"
   {
      "Go To Next Map"   "ea gotonextmap"
      "Set Next Map"      "ea listmaps %userid setnext"
      "Go To Map"      "ea listmaps %userid goto"
   }
}


Happy scripting,
Einlanzers

_________________
Image


Last edited by Einlanzers on 2007-01-07, 12:14 pm, edited 10 times in total.

User avatar
Newbie
Profile

Posts: 55
 
New postPosted: 2006-07-10, 5:57 pm 

Well, im not removing mani from my server just yet =P but nice use of 1.1 for sure man, good work.

_________________
Image


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 3479
Location:
Calgary, Waterloo, Ottawa
 
New postPosted: 2006-07-10, 6:08 pm 

A little greedy with the commands Einz! tut tut lol

_________________
Image
Image


User avatar
Helper
Profile

Posts: 203
 
New postPosted: 2006-07-10, 7:04 pm 

Nice work and sounds easy to use gonna download and test!

_________________
Image


User avatar
Historian
Historian
Profile

Posts: 2542
Location:
Under your rug
 
New postPosted: 2006-07-10, 10:24 pm 

Nice work eins, in a couple updates this could be better than mani =D
That would be huge to make a replacement plugin for mani from pure eventscripts

_________________
Image


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 4265
Location:
Michigan
 
New postPosted: 2006-07-13, 11:26 am 

EasyAdmin v0.2b

Updates:
1. New commands:
Quote:
ea_timeleft - ea_timeleft - Displays timeleft
ea_thetime - ea_thetime - Display current time
ea_gotonextmap - ea_gotonextmap - End current map
ea_setnextmap - ea_setnextmap <map> - Set nextmap to specified map
ea_giveammo - ea_giveammo <userid> <amount> - Give specified user specified amount of ammo
ea_csay - ea_csay <text> - Centermsg text
ea_say - ea_say <text> - Say text
ea_priv - ea_priv <userid> <text> - Private message user
ea_cexec - ea_cexec <userid> <command> - Force user to execute command client-side
ea_sexec - ea_sexec <userid> <command> - Force user to execute command server-side

2. I changed around ea_overlay and ea_blind so they're user specific (before they affected everyone)
3. Added map-cycle support (With variable for nextmap ea_nextmap)
4. Added errors when admins/non-admins enter commands without the proper parameters/targets client-side

Cheers,
Einlanzers

_________________
Image


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 3519
Location:
Germany
 
New postPosted: 2006-07-13, 1:28 pm 

Great work Ein! Now I can remove Mani from my Server :) Great!

But, I also have some feature requests:

ea_rr - ea_rr - Restarts the round 3 times
ea_msay - ea_msay <userid> <text> - Sens a menu message to the player

Would it be possible to make every command work like Mani's, with target = userid / username / steamid / #<filter>.

It would be easy to impliment this with my foreach from the corelib.

If you provide a single user ( userid / username / steamid ) to it, it will run the command on this user and if you provide a #filter, it will run the command on every user that matches the filter.

Greets
Hunter

Edit: I found a typo in the script:
Code:
block Arguments3
{
   es_xsetinfo ea_command 0
   es_xsetinfo ea_count 0
   es_xsetinfo ea_target 0
   es_xsetinfo ea_param 0
   es_xsetinfo ea_param2 0
   es_xsetinfo ea_param3 0
   es_xsetinfo ea_param4 0
   es_token ea_count event_var(commandstring) 0
   es_token ea_target event_var(commandstring) 1
   es_token ea_param event_var(commandstring) 2
   es_token ea_param2 event_var(commandstring) 3
   es_token ea_param3 event_var(commandstring) 4
   es_token ea_param4 event_var(commandstrin[color=red]g) 5[/color]
   if (server_var(ea_temp) notlessthan server_var(ea_perm)) do
   {
      esnq event_var(command) event_var(commandstring)
   }
   else do
   {
      es_tell event_var(userid) #green event_var(command) : You do not have proper permissions
   }
}

_________________
Image
Released scripts - eXtensible Admin


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 3519
Location:
Germany
 
New postPosted: 2006-07-13, 2:38 pm 

Me again ;)

I have a good idea for clanwars.

ea_config - ea_config <name> - Loads a specified config file

The Configs should be setup in a keygroup like:

Code:
"EA_Configs"
{
   "1on1"
   {
      "file"      "warcfg/esl1on1.cfg"
   }
}

_________________
Image
Released scripts - eXtensible Admin


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2006-07-13, 2:44 pm 

Nice one!

Suggestion: Add partial name input instead of (or as well as) userid.

Most commands need to be done quickly and not waste time getting the player's userid before actioning.

I have done this in my "ace_info" script if you need any help on how to do that.

However, I'm sure you can do it easily.

:-)

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 3519
Location:
Germany
 
New postPosted: 2006-07-13, 3:24 pm 

foreach can do this very easy ;)

It can handle filters and user info, like part. playername and steamid.

Greets
Hunter

_________________
Image
Released scripts - eXtensible Admin


User avatar
Site Administrator
Site Administrator
Profile

Posts: 7438
Location:
At Work
 
New postPosted: 2006-07-13, 3:43 pm 

Ein, I take it you didn't like my beta suggestion of making a big command (e.g. "ea") that can handle all the permutations for your addon? (Rather than dozens of es_regcmds?)

E.g.:
Code:
ea csay "This is my message."


I really do prefer fewer console commands rather than lots and lots more-- and that's less registering you have to do. (I recommend this because I worry that Valve doesn't have a very efficient 'command-lookup' function for their console commands.)

This is all very cool, though. I would truly love it if you made a very pluggable architecture so people could build upon it adding admin support modules.
-Mattie


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 4265
Location:
Michigan
 
New postPosted: 2006-07-13, 9:32 pm 

Guys! It supports everything (not just userids). It will only resolve to 1 though. Sorry I didn't post this.

I will consider all requests/ideas.

_________________
Image


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 4265
Location:
Michigan
 
New postPosted: 2006-07-18, 1:01 am 

EasyAdmin v1.0

Updates:
1. New commands:
Quote:
ea_setpoints - ea_setpoints <userid> <points> - Set specified player's kills
ea_setammo - ea_setammo <userid> <amount> - Set specified player's ammo
ea_takeammo - ea_takeammo <userid> <amount> - Take specified player's ammo
ea_setviewangle - ea_setviewangle <userid> <pitch> <yaw> [roll] - Set specified player's view to an angle
ea_setviewcoord - ea_setviewcoord <userid> <x> <y> <z> - Set specified player's view to a coordinate
ea_setviewplayer - ea_setviewplayer <userid> <userid2> - Set specified player's view to a player
ea_getviewangle - ea_getviewangle <userid> <pitch-var> <yaw-var> - Get specified player's view to an angle
ea_getviewcoord - ea_getviewcoord <userid> <x-var> <y-var> <z-var> - Get specified player's view to a coordinate
ea_getviewplayer - ea_getviewplayer <userid> <userid-var> - Get specified player's view to a player
ea_physpush - ea_physpush <userid> <x> <y> <z> - Push specified player x-units y-units z-units
ea_physpushto - ea_physpushto <userid> <x> <y> <z> [force] - Push specified player to a coordinate with specified force
ea_config - ea_config <config> - Execute a config pre-defined in EA_Configs
ea_rr - ea_rr - Restart round 3 times
ea_menu - ea_menu <userid> <message> - Display menu to user (Don't use quotes).

2. Added more error-checking to:
Quote:
ea_rcon - ea_rcon <command> - Use rcon command. Need permission. (see configuration)
ea_csay - ea_csay <text> - Centermsg text
ea_say - ea_say <text> - Say text
ea_priv - ea_priv <userid> <text> - Private message user
ea_cexec - ea_cexec <userid> <command> - Force user to execute command client-side
ea_sexec - ea_sexec <userid> <command> - Force user to execute command server-side


Have fun,
Einlanzers

_________________
Image


Last edited by Einlanzers on 2006-07-18, 2:37 pm, edited 2 times in total.

User avatar
Site Administrator
Site Administrator
Profile

Posts: 7438
Location:
At Work
 
New postPosted: 2006-07-18, 8:00 am 

:shock:

Wow. Nice, Eins. I'm going to have to toy with this.


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 4265
Location:
Michigan
 
New postPosted: 2006-07-18, 3:24 pm 

( :-o )

_________________
Image


Last edited by Einlanzers on 2006-07-30, 12:40 am, edited 1 time in total.

User avatar
Historian
Historian
Profile

Posts: 2542
Location:
Under your rug
 
New postPosted: 2006-07-18, 4:13 pm 

I am soon going to completely replace mani with this.
I don't really even use mani anyway, because es has opened up so many more possibilities with es_fire/es_give and es_*playerprop.

But this should possibly be put into the eventscripts download link, so when people install it, they'll have a replacement for mani :D

P.S I do think it would be better to make 1 "ea" command for all, because people who install wouldn't be able to make much more command's without problems like Mattie said


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 3519
Location:
Germany
 
New postPosted: 2006-07-19, 10:50 am 

ea_kick and ea_ban aren't working, here is the reason ;)

Code:
{
   es_xsetinfo ea_error 0
   es_xsetinfo ea_args 1
   es_xdoblock EasyAdmin/Arguments
   if (server_var(ea_error) equalto "0") do
   {
      if (server_var(ea_param) notequalto "0") do
      {
         [color=red]es[/color] kickid server_var(ea_userid) server_var(ea_param)
      }
      if (server_var(ea_param) equalto "0") do
      {
         [color=red]es[/color] kickid server_var(ea_userid) "EasyAdmin: You were kicked!"
      }
   }
}

block Ban
{
   es_xsetinfo ea_error 0
   es_xsetinfo ea_args 1
   es_xdoblock EasyAdmin/Arguments
   if (server_var(ea_error) equalto "0") do
   {
      if (server_var(ea_param) equalto "0") then es_xsetinfo ea_param 0
      if (server_var(ea_param2) notequalto "0") do
      {
         [color=red]es[/color] banid server_var(ea_param) server_var(ea_userid)
         [color=red]es[/color] kickid server_var(ea_userid) server_var(ea_param2)
      }
      if (server_var(ea_param2) equalto "0") do
      {
         [color=red]es[/color] banid server_var(ea_param) server_var(ea_userid)
         [color=red]es[/color] kickid server_var(ea_userid) "EasyAdmin: You were banned!"
      }
   }
}

_________________
Image
Released scripts - eXtensible Admin


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 136 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group