mIRC Home    About    Download    Register    News    Help

Print Thread
#182515 10/08/07 04:23 PM
Joined: Jul 2007
Posts: 4
T
tonyp Offline OP
Self-satisified door
OP Offline
Self-satisified door
T
Joined: Jul 2007
Posts: 4
I shall request some things for Andy because his english is not fine enough: [mine is neither :D]

1.) Sometimes mIRC seperates the color Code and the following number.
Seems to occur at special window sizes...

2.) You can't copy one single char. You need to mark more than one to copy.

Requests:
1.) Using N at $read(DATEI,w, *TEXT*) like in $hfind

2.) $alias -> returnes the current operating $alias [sth similar like $script]

3.) A /hsort command



Thank you, I hope I am in the right forum here.

Regards,
tonyp


I took a test in Existentialism. I left all the answers blank and got 100.
tonyp #182518 10/08/07 04:39 PM
Joined: Jul 2006
Posts: 4,153
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,153
2.) You can't copy one single char. You need to mark more than one to copy.
see https://forums.mirc.com/ubbthreads.php?ubb=showflat&Number=181613&page=1#Post181613

i agree for the three requests smile


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
tonyp #182537 10/08/07 10:09 PM
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
"control code bug": see https://forums.mirc.com/ubbthreads.php?ubb=showflat&Number=182423&page=1#Post182423

_____________________
Edit
wonder what "hsort" ought to mean.
A hash table is made of e.g.:
A (item) 3 (data)
C (item) 2 (data)
B (item) 1 (data)
D (item) 2 (data)
...


Now, if you want to sort this dataset, you need

- a frame to pin it
e.g. for sorting a dataset pinned down to a window or file, there is the /filter command (although I'd like to see some command to "loadbuf" hash tables to a @window without a scripted while loop > echo/aline smile )

- or a point of reference
e.g. a third parameter .ord, which could be a number N (?)

Where shall the sorted table be stored? In what format? Once sorted, how shall the Nth item be addressed? Hope I was able to depict my point... being no native speaker as well smile

Last edited by Horstl; 10/08/07 10:31 PM.
tonyp #182556 11/08/07 12:57 AM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
Hash tables are inherently unsorted. That is their nature.

-genius_at_work


Link Copied to Clipboard