Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 06-23-2006, 04:52 AM   #1 (permalink)
Forum Expert
 
otimpyre's Avatar
 
Join Date: Apr 2003
Location: Georgia
Age: 31
Posts: 392
Default [2.0] [Follow

[follow command Written By "tobyjug(Shango)"->

[Follow Command

Edited code
Code:
using System;
using System.Collections;
using Server;
using Server.Mobiles;
using Server.Gumps;
using Server.Targeting;
using Server.Network;

namespace Server.Commands
{
	public class Follow
	{
		public static Hashtable Collection = new Hashtable();
        
        public static void Initialize()
		{
			CommandSystem.Register( "Follow", AccessLevel.Counselor, new CommandEventHandler( Follow_OnCommand ) );
Description:
A way to follow players, or other staff, without having to use the .admin menu and keep on clicking Go To or other more inefficient ways of doing so. When you are following someone using the [follow command it moves you to their location every few seconds without you having to do anything. When you have chosen your target it pops up a small gump to show you the name of the person you are following and a button to cancel following them.

Installation:
Download the FollowCommand.zip below.
Unzip the Follow.cs into the Commands folder or any folder of your choosing in your Scripts directory.
Restart your server and you are ready to go.

Usage:
Type [follow in game (Counselor +) and target who you wish to follow.
If the player that you target has a higher accesslevel than you then you will not be able to follow them.
If you are following a staffmember with accesslevel equal to your own and they go invis then you will stop following them, unless you are in their Visibility List in which case you will continue to follow them.
If you or your target go offline then you will stop following them.
Attached Files
File Type: zip [follow.zip (1.9 KB, 114 views)
otimpyre is offline  
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5