11.11.2008, 06:54
Control your server straight from IRC!
How to install (will explain step-by-step for who are new to it):
Download this plugin: http://forum.sa-mp.com/index.php?topic=22354.0.
Make a new folder in your server directory, and call it "plugins" and place what you downloaded inside.
Add a new line to your server .cfg called "plugins", and add "irc.dll" to it.
Next, download this filterscript (links at bottom of post), and place it in your filterscripts folder.
Add "iAdmin" to your filterscripts line in your server.cfg.
Now, inside your iAdmin.pwn you will find this:
Simply modify it to your own desires.
The admin commands (you need to be an op to use them) - all commands effect the players in the server, not the people in IRC...
Please report any bugs, I'm sure where will be some.
Download:
.pwn via Zezombia.com (recommended)
.rar via UploadFFS (.pwn)
.pwn via pastebin
No .amx's, for obvious reasons. Post in this topic for help, and please don't PM me (or e-mail me).
Credits:
How to install (will explain step-by-step for who are new to it):
Download this plugin: http://forum.sa-mp.com/index.php?topic=22354.0.
Make a new folder in your server directory, and call it "plugins" and place what you downloaded inside.
Add a new line to your server .cfg called "plugins", and add "irc.dll" to it.
Next, download this filterscript (links at bottom of post), and place it in your filterscripts folder.
Add "iAdmin" to your filterscripts line in your server.cfg.
Now, inside your iAdmin.pwn you will find this:
pawn Код:
#define EchoBot "iAdmin" //your bots name
#define EchoServer "irc.gamesurge.net" //irc hoster
#define EchoChan "#SA-FE" //server channel
#define EchoPort 6667 //this port is used by default
#define CmdChar '!' //used for commands, as in !ikick
The admin commands (you need to be an op to use them) - all commands effect the players in the server, not the people in IRC...
- ikick [id]
- crash [id]
- iban [id]
- rangeban [id]
- wire [id]
- unwire [id]
- ann [msg]
- getinfo [id]
- jail [id]
- unjail [id]
- getid [part of/name]
- gmx
- clearchat
- slap [id]
- freeze [id]
- unfreeze [id]
- tele [id] to an [id]
- eject [id]
- sethealth [id] [health]
- disarm [id]
- explode [id]
- givemoney [id] [money]
- setscore [id] [score]
- setname [id] [name]
- akill [id]
- giveweapon [id] [wepid] [ammo]
- players - made by Grove
Please report any bugs, I'm sure where will be some.
Download:
.pwn via Zezombia.com (recommended)
.rar via UploadFFS (.pwn)
.pwn via pastebin
No .amx's, for obvious reasons. Post in this topic for help, and please don't PM me (or e-mail me).
Credits:
- Admin created by Zezombia (Nov 11 200
- Jacob - IRC Plugin and Include
- Grove/Jay - Players command
- ThePro - Crash command help
- Xtreme - Jail cords (to lazy to get myself)
- Andre9977 - Basic help