Top

Variable/Txt/Ini/Hash Table Viewer & Editor


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  6.3
Scores Submitted  7
Date Added  Oct 06, 2007
Last Updated  Nov 05, 2007
Tags  .ini  .txt  dialog  editor  file  files  hash  hashtable  ini  remotes  table  txt  var  variable  viewer 

Introduction

Finally done rewriting it!

~*~FEATURES~*~

»Variables«
*View/Edit/Add/Unset Variables
*Clear All Variables

»Txt«
*View Txt Files in a listbox
*Open Txt's
*Rename Txt's
*Remove/Add Txt's

»Ini«
*View Ini's
*Add/Remove Ini's, topics, and items

»Hash Tables«
*View Hash Tables
*Add/Remove Hash Tables and Items
*Edit Data

Enjoy, put in remotes, type /file or right click and click the menu to start it up

Grab the Code

Comments

  (32)  RSS
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 6, 2007 3:59 pm
enjoy :D
Scakk
Comments: 219
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 6, 2007 4:12 pm
Perhaps add an option to adjust the data in the hash table itself.
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 6, 2007 4:15 pm
aight ill work on that right now
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 6, 2007 4:33 pm
done, you may now edit data from a hash table
tai
Comments: 18
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 7, 2007 4:54 pm
just some simple errors,

In your lists, you should use did -ra to clear current text in the list. what if I double-clicked?

Your edit button seems to not be locked in one tab. It gets in the way of other buttons or dialog items.

Else, it seems pretty nice. Nice job.
RubixCube
Comments: 51
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 7, 2007 9:54 pm
I can see a lot of effort gone into this. gj.
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 8, 2007 2:25 pm
ty, sorry bout the edit thing, it was a last minute addition to it, and i forgot to set it to a tab, but all set now ;)
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 8, 2007 2:28 pm
shoot I DELETED THE CODING >:O

if anyone saved the coding to mirc, PLEASE post it here...
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 8, 2007 2:29 pm
im so pissed off...
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 8, 2007 6:39 pm
i think im gonna write it again, i really liked that script...
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 8, 2007 9:03 pm
currently u can only view the txt\'s/varibales/ini\'s and hash tables

im almost done with editing variables, and im completely done with editing txt\'s, but i wanna add some more features to the txts

tomorrow, the script will definitely be done, im almost finished
Sephiroth1n6
Comments: 62
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 9, 2007 8:24 pm
very nice :O
10/10
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 9, 2007 9:27 pm
:) ty, little more work to be done, a couple buttons, and im all done rewriting it :P
Lindrian
Comments: 729
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 10, 2007 10:50 am
Alright.

Variable tab:

If i input anything in the editbox, a variable, it scrolls down in the list for it, but it does not select it nor does it update the fields showing what it contains, fix that.

When I add a variable, and remove the % i get an error saying I cant do that, I press OK and it returns $true, fix that aswell :p.
Also, u can simply do $iif($left(somehting,1) != %,% $+ something,something)

If no variable was selected and I tried to remove one;
* /unset: insufficient parameters (line 207, remote.ini)
Also, make it multisel so u are able to remove multiple items.
tip: $did($did,id,x)

I didnt quite understand what that \"set\" (disabled) button was supposed to do.. didnt get to test it as it was contantly disabled.

Hint: Use a index file and store the data, so u wont have to reload each time.

Text tab:

Once again, errors return $true
As I told you with the $iif about %, u can do the same with .txt

Ini tab:

I didn\'t look through this one too much, but it looked decent.

Hash tab:

When I removed an item, the list didnt update.
When I pressed add, nothing happend.

Edit button was always disabled.

All in all, pretty decent (But not the best) viewer ive seen.
Dialog needs allignment fixes, honestly, the dialog is pretty bad. Its too big, can be done smaller.
Also add a \"Clear\" function for all of your tabs.. It would be good.
To make this a good addon, make Index files and temporary store data, also learn how to use dll\'s and benefit them for your use, in your case id use MDX (DCX is too hard for u for now id say) and listfiles.

5/10 here.

Good luck.
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 10, 2007 2:25 pm
Quote:

When I add a variable, and remove the % i get an error saying I cant do that, I press OK and it returns $true, fix that aswell :p.

i tried putting a halt in it, and it still showd it in the status window :/
Quote:

If no variable was selected and I tried to remove one;
* /unset: insufficient parameters (line 207, remote.ini)
Also, make it multisel so u are able to remove multiple items.
tip: $did($did,id,x)

yea i forgot to disable remove after i clear em all
Quote:
I didnt quite understand what that \"set\" (disabled) button was supposed to do.. didnt get to test it as it was contantly disabled.

thats like one of the few things i havent coded yet, when u edit in it, its gonna enable set, when its blank, itll disable it. and u can only edit ;) ill have that soon
Quote:
Hint: Use a index file and store the data, so u wont have to reload each time.
umm whats an index file?
Quote:
When I removed an item, the list didnt update.
When I pressed add, nothing happend.

yea the intro says i gotta code a couple buttons in hash tab

thanks for ur feedback, once im finished coding the last few things, ill do a thorough test
Lindrian
Comments: 729
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 10, 2007 3:16 pm
Index file is a file on ur drive with all info temporary stored, so u wont have to reload it all the time, it\'s easier to use and faster.
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 10, 2007 4:30 pm
finally done rewriting it :P
Lindrian
Comments: 729
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 11, 2007 12:18 am
Basically, I had a file that were ~60k in KB, loading that in ur script lagged mirc out, which i knew it would in either way.
But if you would use a DLL, as listfiles ro whilefix, it woudnt take aslong, and with whilefix it woudnt even lag. Then save that into a text file, and load the text file into the script.
So next time then I press \"something.txt\" which is 60k kb, i takes 1 sec to load, as it\'s already \"pre-loaded\".

Then, u use that file as a source for deleting and adding items, and then u just copy that file over the one that wanted to be changed..
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 11, 2007 2:20 pm
ok thanks for the info lindrian, ill look into doing that, altough it may take a while, cuz ive never used dll\'s :P

»UPDATE«
*If the script is a .ini, you are not allowed to remove it, if u try, an error msg pops up
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 11, 2007 2:43 pm
i downloaded whilefix.dll :)
Quote:
Then save that into a text file, and load the text file into the script.

umm what do u mean by load it into the script?
Lindrian
Comments: 729
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 11, 2007 3:04 pm
Instead of using $findfile and loop each file each time u wanna view it, u just load the data from the index file...
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 11, 2007 3:13 pm
ah ok
Gummo
Comments: 107
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 13, 2007 9:33 am
When I went to edit the item data in a hash table but canceled it it erased my data, rather than leaving it.. Please fix. :)
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 13, 2007 9:40 am
yea, that was a problem i had, i have to find some way to fix it
Scakk
Comments: 219
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Oct 16, 2007 3:02 pm
When I try to open certain .txt files ( channels.txt for example ) it will not allow me to.
Scakk
Comments: 219
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Nov 5, 2007 9:22 am
This version you have now does not work for me since I do not have the .dll files.
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Nov 5, 2007 11:59 am
sorry didnt realize i put it there :P

took it out
Scakk
Comments: 219
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Nov 5, 2007 12:10 pm
Back to this problem now ..

When I try to open certain .txt files ( channels.txt for example ) it will not allow me to.

* /run: unable to open \'channels.txt\' (line 162, WaiterJohn)

The actual location for the file is channels\\channels.txt
Freckle
Comments: 36
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Nov 5, 2007 2:41 pm
He didn\'t let it support sub directories
^silk
Comments: 16
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Nov 5, 2007 3:04 pm
Could be solved by using $qt or $+(\",file,\")
Nikol4u
Comments: 4
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Mar 2, 2008 7:14 am
so !@#$ nice! 10/10
mountaindew
Comments: 1,539
 
mIRC Snippet:  Variable/Txt/Ini/Hash Table Viewer & Editor
Posted on Mar 2, 2008 12:17 pm
Thanks Nikol4u

Please Register or Login to start posting comments.
Bottom