Reset

By Spoofing on Aug 22, 2010

Reset all data

; Like PC reset button ;)

alias reset {
  !.timers off
  !.unsetall
  !.hfree -w *
  !.sockclose *
}

Comments

Sign in to comment.
Jonesy44   -  Aug 23, 2010

Fair enough, seems rather pointless. A seperate command when a * will do the job :)

 Respond  
Jethro   -  Aug 22, 2010

jonesy44, according to the help file:> To deactivate all timers type /timers off

 Respond  
Jonesy44   -  Aug 22, 2010

"timers off" -> should be -> "timer* off" no?

 Respond  
Jethro   -  Aug 22, 2010

I think this should apply to the on exit event instead...rather than enter /reset manually. But I reckon when you close mIRC, all the timers, hash tables, sockets should be off by design. Unless, of course, you have timers set for offline timer, hash tables saved...

This alias is deemed impractical, since some timers are not meant to be turned off to keep part of the code running as intended.

 Respond  
napa182   -  Aug 22, 2010

unsetall is never a good idea, unless you only have a few vars set.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.