Thread: call admin
View Single Post
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 12-02-2006 , 17:10   Re: call admin
Reply With Quote #16

Look at this scripting someone made for TS2 connecting by typing /ts2


Code:
 
#include <amxmodx> 
#include <amxmisc>
new TSSERVER[256]="teamspeak://85.25.4.83:5090/?channel=wc3 No.1?password=?nickname=";
public plugin_init() {
 
    register_plugin("Connect 2 TS2","0.1","snipa");
    register_clcmd("say ts2","motd_ts2",0,"- Connect with the TS2-Server");
    register_clcmd("say /ts2","motd_ts2",0,"- Connect with the TS2-Server");
}
public motd_ts2(id)
{
    new URL[1024];
    new name[32];
    get_user_name(id, name, 31); 
    format(URL,1023,"<HTML><META HTTP-EQUIV=^"Refresh^" CONTENT=^"0; URL=%s%s^"><BODY bgcolor='black' text='#FFB000'><center><font style='font-family:verdana,tahoma;font-size:20'><br><br><br><br><br><br><br>Now you will be conneted with our TS2-Server...</font></center></BODY></HTML>",TSSERVER,name);
    show_motd(id,URL,"Team-Speak");
That proves it can auto start the program and send a messgage which would be good so like u can do amx_call "admin name" "message" or amx_call "message"

and a cvar like amx_cvar call_admin "0-5"

so like would say good idea and about the aim or xfire you can add aim, xfire, yahoo, msn, email

0.turn Plugin off
1. Aim
2. Yahoo
3.Msn
4.xfire
5.Email

you can add thing together like

amx_cvar call_admin "125" and it will send a email,im on aim, and im on yahoo

:0

But i dont know if any one is willing to take the time and make this plugin(I Hope Someone Will!)


Edit: ^ thats a good idea and i want to add to it, like u can have all that and have a .ini file called call.ini that has info for the messages like,

"admin steam id" "admin name" "yahoo" "aim" "email" xfire" "msn"
I will Upload a Example Now
Attached Files
File Type: ini Call.ini (240 Bytes, 123 views)

Last edited by Reaper2331; 12-02-2006 at 17:36.
Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331