Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Jane
« on: February 26, 2011, 07:22:21 am »

Thanks, the regedit works!
Posted by: morbid
« on: February 25, 2011, 04:39:55 pm »

Not working for me, morbid.

hm. maybe mirc overwrite this ini-key when exit. just check [about] and [user] section in your $mircini if you install mirc in portable mode, or HKEY_LOCAL_MACHINE\SOFTWARE\mIRC\LastRun in registry editor (Start -> Run -> regedit).



Or you can also just go to start then Run > Regedit > current_user > Software > Delete the mirc folder.
Posted by: Jane
« on: February 25, 2011, 01:15:38 pm »

Not working for me, morbid.
Posted by: morbid
« on: February 24, 2011, 07:32:56 pm »

Just a simple resetting of your trial sub. with mIRC I used it for the longest but then I paid for it.


FYI: You don't need this snippet if you have a paid version.[/i]


Code: [Select]
alias trial {
  if ($readini($mircini,about,portable) == yes) {
    remini $qt($mircini) user lastrun
  }
  else {
    comopen trial WScript.Shell
    comclose trial $com(trial,RegDelete,3,bstr,HKEY_CURRENT_USER\Software\mIRC\LastRun\)
  }
  echo -s Now you can restart mIRC
}
 

Type /trial
and then you will see this

Quote
* Opened Com 'trial' (WScript.Shell)
-
* Closed Com 'trial'
-
Now you can restart mIRC