S
Sephy
Guest
[site command
Plz Im trying to do the [site command to launch the web site. Now i don´t know how can I continue this... plz help me.
Plz Im trying to do the [site command to launch the web site. Now i don´t know how can I continue this... plz help me.
Code:
using System;
using Server.Commands;
namespace Server.Scripts.Commands
{
public class Site
{
public static void Initialize()
{
Server.Commands.Register( "site", AccessLevel.Player, new CommandEventHandler( Site_OnCommand ) );
}
public static void Site_OnCommand( CommandEventArgs e )
{
from.LaunchBrowser( "http://www.google.com.br" );