Files
abysmal-isle/Scripts/Scripts-master/Commands/UOGatewayVote.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

25 lines
650 B
C#

using System;
using Server.Items;
using Server.Commands;
namespace Server.Commands
{
public class UOGatewayVote
{
string URL;
public static void Initialize()
{
CommandSystem.Register("Vote", AccessLevel.Player, new CommandEventHandler(UOGatewayVote_OnCommand));
}
[Usage("Vote")]
public static void UOGatewayVote_OnCommand(CommandEventArgs e)
{
string URL = "https://www.uogateway.com/shard.php?id=1246&act=vote";
Mobile from = e.Mobile;
from.SendMessage("Thank you for voteing");
from.LaunchBrowser(URL);
}
}
}