mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2004
Posts: 237
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
When should i use what? Which uses the less ram, which is faster, such things. I'm using %vars for everything right now, but I dunno what I should use.

Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
I keep a file called hash.ini where every hashtable is saved on exit and loaded on start, I only ever use global variables if I need to store a single value.


New username: hixxy
Joined: Aug 2004
Posts: 237
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
should I create a routine to save the hash table say every 3 minutes in case mIRC crashes? ( mIRC doesn't crash, but when I write an infinite loop I need to make it crash smile )

Joined: Aug 2004
Posts: 237
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
?

Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
It's up to you, I don't bother because my tables are updated and saved regularly.


New username: hixxy
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
mirc does crash on some rare occasions, but you don't have to crash/end-task it yourself when you're stuck in an infinite loop. Just hit Ctrl+Break; the running script is halted and mirc unfreezes.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Aug 2004
Posts: 237
L
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Aug 2004
Posts: 237
nice solution, thanks smile

Joined: Feb 2005
Posts: 43
M
Ameglian cow
Offline
Ameglian cow
M
Joined: Feb 2005
Posts: 43
hmm i never knew that.. would save me a lot of pointless restarting of mIRC smile


Check out http://kalsiddon.com for games, videos & more! Good for when your bored in work or school!

Link Copied to Clipboard