Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(2 Kb)
Download
Updated: 05-31-08 01:53 AM
Addon for:
Peek!.
Pictures
File Info
Updated:05-31-08 01:53 AM
Created:unknown
Downloads:1,150
Favorites:0
MD5:
Peek Alias!
Version: 1.0
by: VagrantEsha [More]
Peek Alias, so you don't have to.

Note: This is a sister-mod to Peek, so if you don't use that then you won't need this.

What is it, then?

You might have gotten tired of trying to get loads of information via Peek at once due to having to type a lot, or perhaps you've noticed that sending text has a character-amount limitation and you can't do a huge information grab in one line. Peek Alias exists so that one word can be bound to a bunch of Peek calls.

How do I use it?

Here's a basic example. One of the included aliases is weapon, you'd use it like this:

/peekalias weapon

This would return the following in guild-chat:

<Peek> Mainhand: [Weapon]
<Peek> Offhand: [Weapon]
<Peek> Ranged: [Weapon]

It goes to guild because the default designated channel in the weapon alias is guild, but you can change that if you like:

/peekalias weapon party

This outputs to party. And:

/peekalias weapon whisper playername

This whispers playername with the requests.

If the default channel is whisper (instead of guild, which it is with weapon) then you can simply override the person who the request is whispered to with:

/peekalias somealias playername

Now let's move onto adding aliases...

Here's a basic example of adding an alias:

/peekalias add rings whisper Bob fingera fingerb

This adds the alias 'rings', and when rings is called, it'll whisper Bob the request for the links of his two rings. So you'd get that information if you typed:

/peekalias rings

You'd also be able to whisper someone other than Bob, by doing:

/peekalias rings Notbob

And as above you could sidestep whispers altogether and siphon the requests into another location:

/peekalias rings party
/peekalias rings guild

You might be wondering at this point if there're ways in which you can delete and list aliases? There are indeed.

/peekalias list
/peekalias remove aliasname

You can also get help by just using the /peekalias command with no arguments, or by typing:

/peekalias help

Anything else I should know?

There are a few pre-defined aliases already included, check the list out in-game to find out what they are.

If you use Peek Alias then you might want to make use of the feature in Peek that allows you to hide your own output from sight. Peek is merely an alias system after all, and it channels one alias into a number of Peek requests (going in three at a time). It's been setup though so that if your own Peek output isn't showing, you won't see the requests from Peek Alias either.

If you have any questions at all about how the system works, please feel free to leave a comment and ask, I'm always happy to help!
1.0: I feel this mod has reached a milestone, in that it's achieved a level of stability to the point where (despite my efforts to break it) I haven't seen any bugs in quite some time. This milestone also implies that I'm unable to think of any relevant features to add at this time without bloating out this mod, and there's nothing left to do that wouldn't be superfluous. Thus, this mod will likely be left untouched until a new feature is desired, or until a new Warcraft patch breaks it (if that happens). As of now, this mod should be considered stable.

revision310508: Initial release.
Post A Reply Comment Options
Unread 05-31-08, 04:45 AM  
VagrantEsha
Token Werewolf Fan
 
VagrantEsha's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 239
Uploads: 41
Why combine it?

At the moment, Peek Alias is using zero more code than it would if it were combined, and any coder who looks at the code can tell you that. The only thing it means is another folder in your base Addons directory.

What I could do is allow it to be embeddable. For example, Cartographer does this. If you look in your Cartographer folder, you'll see items like Cartographer_InstanceNotes and so on, these items can be dragged out into the main folder, but they can be embedded too. I can make PeekAlias so that it'll run if it's placed inside of the Peek folder instead of in the base Addons folder. Would that suffice?

Really though, it has to continue being standalone because not everyone will want that much extra functionality rolled into the main mod. The thing is, this isn't just a small addition of a couple of lines of code like blacklisting was, this is actually a sizable thing, big enough to be a mod in its own right, and therefore a plugin.

So making it an embeddable is the best I can do. If I roll this into Peek itself, it's just going to be bloat, because possibly 1 in 10 Peek users are going to end up using aliases.

Plus, with the setup this way... it means that a guild leader can have PeekAlias, and the guild members can have Peek, so the two can work independent of each other.

I'm seeing lots of reasons to keep things as they are... and none to combie them, really. Why do you want them combined?
VagrantEsha is offline Report comment to moderator  
Reply With Quote
Unread 05-31-08, 04:05 AM  
BlackIrish
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
combine this into your current project and you will really be onto something here am eagerly waiting for it
BlackIrish is offline Report comment to moderator  
Reply With Quote
Unread 05-31-08, 01:55 AM  
VagrantEsha
Token Werewolf Fan
 
VagrantEsha's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 239
Uploads: 41
So here's Peek Alias, for those that wanted it, let me know how it works!

I also forgot to mention in the description that the following slash commands will work too, not just /peekalias:

/pa
/peeka
VagrantEsha is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: