Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
hash tables
Forums
Active Threads
Search
Who's Online
Help
Print Thread
hash tables
#
61019
19/11/03
12:59 AM
Joined:
Jul 2003
Posts: 39
X
Xanadu
OP
Ameglian cow
OP
Xanadu
Ameglian cow
X
Joined:
Jul 2003
Posts: 39
Is it possible to make and use more than one hash table in one remote script?
I have an on *:load: { commands that should make more than one table but it only runs the first line, then stops
Thanks
Copy Link to Clipboard
Re: hash tables
#
61020
19/11/03
01:26 AM
Joined:
Dec 2002
Posts: 1,893
O
Online
Hoopy frood
Online
Hoopy frood
O
Joined:
Dec 2002
Posts: 1,893
You should be able to create almost as many tables as you want. It sounds like you have an error in the script.
Copy Link to Clipboard
Re: hash tables
#
61021
19/11/03
01:31 AM
Joined:
Nov 2003
Posts: 67
Buenos Aires, Argentina
C
Canario
Babel fish
Canario
Babel fish
C
Joined:
Nov 2003
Posts: 67
Buenos Aires, Argentina
Yes is posibly, if only run the first line surely the code finds an error and stop. Use flag -s to detects error.
Copy Link to Clipboard
Re: hash tables
#
61022
19/11/03
02:31 AM
Joined:
Jul 2003
Posts: 39
X
Xanadu
OP
Ameglian cow
OP
Xanadu
Ameglian cow
X
Joined:
Jul 2003
Posts: 39
I dunno why the hmake command was not just making them, but I added an if() check to see if the table alread existed and it started to work.
Thanks
Copy Link to Clipboard
Re: hash tables
#
61023
19/11/03
02:35 AM
Joined:
Dec 2002
Posts: 1,893
O
Online
Hoopy frood
Online
Hoopy frood
O
Joined:
Dec 2002
Posts: 1,893
Yea /hmake fails (and halts the script) if you try to create a table that already exists.
Copy Link to Clipboard
Re: hash tables
#
61024
19/11/03
02:59 AM
Joined:
Jul 2003
Posts: 39
X
Xanadu
OP
Ameglian cow
OP
Xanadu
Ameglian cow
X
Joined:
Jul 2003
Posts: 39
ok, anyone know why /hsave -nou would save a blank line for every entry in the hash table without saving the info?
NOTE: the items in the hash table were added using the -uN switch
Thanks
Copy Link to Clipboard
Re: hash tables
#
61025
19/11/03
01:04 PM
Joined:
Dec 2002
Posts: 1,893
O
Online
Hoopy frood
Online
Hoopy frood
O
Joined:
Dec 2002
Posts: 1,893
Why do you use -n? it tells /hsave to save "data only".
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
View Profile
Private Message
Follow User
Forum Posts
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