mIRC Home    About    Download    Register    News    Help

Print Thread
O
onesikgypo
onesikgypo
O
hi,

was just wondering say i had a hash table and i had done

/hadd -m testing /msg /msg

how would i retrieve (the item or the value) to the editbox of $active

Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
Use $hget(table,item) to return the data

/help $hget

O
onesikgypo
onesikgypo
O
so a simple $hget(testing,/msg) would send it to txt box?

Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
I think so. I've never tried to store a command in a hash table. Usually just use the table for storing data (ie: names, addresses, etc.)

Joined: Oct 2005
Posts: 1,671
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,671
Look here:

/help /editbox

-genius_at_work

O
onesikgypo
onesikgypo
O
thnx genius_at_work, wuz what i was lookin for, heh when i typed it in the serarch jus came up with what it is

N
NeUtRoN_StaR
NeUtRoN_StaR
N
which should be something to the effect of
editbox $active $hget(table,item)

O
onesikgypo
onesikgypo
O
dont need to specify $active, can just use the -a switch

N
NeUtRoN_StaR
NeUtRoN_StaR
N
its all relative


Link Copied to Clipboard