Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
24
Scripts/Scripts-master/Commands/UOGatewayVote.cs
Normal file
24
Scripts/Scripts-master/Commands/UOGatewayVote.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user