Top

Hash table aliases

Please Register to submit score.
Average Score  4.7
Scores Submitted  3
Date Added  Sep 28, 2007
Last Updated  Sep 30, 2007
Tags  edit  hash  move  table 

Introduction

/hedit or $hedit

A simple alias that edits the data of a specified item in a hash table through hadd and hdel. You must specify all the required parameters otherwise the snippet will not work. See the comments below for more information.

/hmove

Simple alias that copies a hash table into a new one through a really simple method. It stores all the item from the first hash table into a temporary txt file. Then it reads the text file and converts the data from the txt file into the new hash table.

/hpaste

Simple alias that does the same as /hmove but keeps the first table.

Grab the Code

Comments

  (9)  RSS
Olliegod
Comments: 77
 
mIRC Snippet:  Hash table aliases
Posted on Sep 29, 2007 2:00 am
The hmove alias could be much simpler.
Check the help file for /hsave and /hload
Saeed
Comments: 31
 
mIRC Snippet:  Hash table aliases
Posted on Sep 29, 2007 7:17 am
Interesting idea, I have not really covered those too. I'll see what I can do Olliegod.
Saeed
Comments: 31
 
mIRC Snippet:  Hash table aliases
Posted on Sep 29, 2007 7:17 am
* two
RusselB
Comments: 85
 
mIRC Snippet:  Hash table aliases
Posted on Sep 29, 2007 10:57 am
Your /hedit is identical in format and usage to that of /hadd
Saeed
Comments: 31
 
mIRC Snippet:  Hash table aliases
Posted on Sep 29, 2007 11:29 am
Indeed, but the purpose and actions /hedit takes is much simpler to use then using hdel and hadd. If I don't specify this specific format, it won't really edit. I could make the format of /hedit a little different somehow if you would like but right now that is quite necessary. Anything I can improve on in this snippet to make it worth more than a 3.0?
RubixCube
Comments: 53
 
mIRC Snippet:  Hash table aliases
Posted on Sep 29, 2007 5:38 pm
Pros:

- The /hedit is really convenient instead of using hadd and hdel.
- The /hmove is really useful for me as well in case I want to rename a hash table, I can copy all of the data.


Cons:

- /hedit can easily be done in a different method such as hload and hsave. I find it irritable to get the remove echo every time.
- The /hpaste is completely useless. It's basically /hmove but keeping the first hash table, you might as well include that in the /hmove alias instead of creating an entire new alias and wasting space.

If you included a hash view and(or) editor that would be fantastic. I'm sorry but right now, these aren't too worthy of a high score. My rating: 5.5/10-5.9/10

- RubixCube
Akishoot
Comments: 135
 
mIRC Snippet:  Hash table aliases
Posted on Sep 29, 2007 6:24 pm
I like users that can't rate/give tips like him. ^ XD
Akishoot
Comments: 135
 
mIRC Snippet:  Hash table aliases
Posted on Sep 29, 2007 6:24 pm
*can - Silly keyboard
RubixCube
Comments: 53
 
mIRC Snippet:  Hash table aliases
Posted on Sep 29, 2007 6:30 pm
Lol, it's too bad I have to wait seven days until I can rate. Then I could actually submit my scores without having to give the user an idea of my rating.

Please Register or Login to start posting comments.
Bottom