This Plugin allows the clients on your server to connect on a specific TS2-Server by saying "/ts2" or "ts2"
You can add your TS2-Server by edit the 4. line ;)
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");
}
(snipa is my name *g and this is my 2. plugin ^^)