AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   teamspeak on connect (https://forums.alliedmods.net/showthread.php?t=153242)

sparkey 03-20-2011 15:02

teamspeak on connect
 
Is it possible to make the client connect to a teamspeak server when calling the client_putinserver function?

Teamspeak for example supports URL handlers (teamspeak://) so i was thinking if i could use the motd in some sort of way.

Grateful for answers.

reinert 03-20-2011 15:29

Re: teamspeak on connect
 
<meta http-equiv="refresh" content="2;url=teamspeak://">

hope its useful ;P

sparkey 03-20-2011 16:06

Re: teamspeak on connect
 
Thanks for your answer.

Can i use that with the show_motd() function to run the url given?

sparkey 03-21-2011 13:52

Re: teamspeak on connect
 
Should this work? :)

PHP Code:

show_motd(id"<meta http-equiv='refresh' content='2;url=ventrilo://user@ip:port/?version=2.1.4'>"); 


fysiks 03-21-2011 21:16

Re: teamspeak on connect
 
Quote:

Originally Posted by sparkey (Post 1437146)
Should this work? :)

PHP Code:

show_motd(id"<meta http-equiv='refresh' content='2;url=ventrilo://user@ip:port/?version=2.1.4'>"); 


Did you try it?

If that doesn't work then use
PHP Code:

<html><head>"<meta http-equiv='refresh' content='2;url=ventrilo://user@ip:port/?version=2.1.4'></head></html> 


sparkey 03-22-2011 14:55

Re: teamspeak on connect
 
Thanks for your answer!

I have tried both but none seems to work :(

fysiks 03-22-2011 18:28

Re: teamspeak on connect
 
Quote:

Originally Posted by sparkey (Post 1437740)
Thanks for your answer!

I have tried both but none seems to work :(

I typoed. Move the " to the front. If that doesn't work then I can't help you (or even test because I don't like TeamSpeak.

sparkey 03-23-2011 08:52

Re: teamspeak on connect
 
Okay :( It's the same idea using any kind of application that support url startup.

Anyone got an idea?

bboygrun 03-24-2011 16:46

Re: teamspeak on connect
 
And if the players don't want to go on your teamspeak ? ... Let them choice if they want to join you on your teamspeak after their connections.

sparkey 03-24-2011 17:01

Re: teamspeak on connect
 
Quote:

Originally Posted by bboygrun (Post 1438802)
And if the players don't want to go on your teamspeak ? ... Let them choice if they want to join you on your teamspeak after their connections.

That was not the question.


All times are GMT -4. The time now is 14:40.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.