Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
read item/value from hash table and put in editbox
Forums
Active Threads
Search
Who's Online
Help
Print Thread
read item/value from hash table and put in editbox
#
139618
17/01/06
01:36 AM
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
Copy Link to Clipboard
Re: read item/value from hash table and put in editbox
#
139619
17/01/06
01:53 AM
Joined:
Aug 2004
Posts: 7,168
Ontario, Canada
R
RusselB
Hoopy frood
RusselB
Hoopy frood
R
Joined:
Aug 2004
Posts: 7,168
Ontario, Canada
Use $hget(table,item) to return the data
/help $hget
Copy Link to Clipboard
Re: read item/value from hash table and put in editbox
#
139620
17/01/06
01:56 AM
O
onesikgypo
onesikgypo
O
so a simple $hget(testing,/msg) would send it to txt box?
Copy Link to Clipboard
Re: read item/value from hash table and put in editbox
#
139621
17/01/06
03:14 AM
Joined:
Aug 2004
Posts: 7,168
Ontario, Canada
R
RusselB
Hoopy frood
RusselB
Hoopy frood
R
Joined:
Aug 2004
Posts: 7,168
Ontario, Canada
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.)
Copy Link to Clipboard
Re: read item/value from hash table and put in editbox
#
139622
17/01/06
03:16 AM
Joined:
Oct 2005
Posts: 1,671
G
genius_at_work
Hoopy frood
genius_at_work
Hoopy frood
G
Joined:
Oct 2005
Posts: 1,671
Look here:
/help /editbox
-genius_at_work
Copy Link to Clipboard
Re: read item/value from hash table and put in editbox
#
139623
17/01/06
04:06 AM
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
Copy Link to Clipboard
Re: read item/value from hash table and put in editbox
#
139624
17/01/06
05:08 AM
N
NeUtRoN_StaR
NeUtRoN_StaR
N
which should be something to the effect of
editbox $active $hget(table,item)
Copy Link to Clipboard
Re: read item/value from hash table and put in editbox
#
139625
17/01/06
05:39 AM
O
onesikgypo
onesikgypo
O
dont need to specify $active, can just use the -a switch
Copy Link to Clipboard
Re: read item/value from hash table and put in editbox
#
139626
17/01/06
06:15 AM
N
NeUtRoN_StaR
NeUtRoN_StaR
N
its all relative
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage