-
Notifications
You must be signed in to change notification settings - Fork 6
DOFIRST
Sven edited this page May 13, 2017
·
1 revision
SCRIPT\DOFIRST.INI
When PnP is run for the first time, it exits and start mirc.exe with the -i param and the file dofirst.ini
Of importance in dofirst.ini is only the [script] section which does the following:
- Removes [dragdrop] from mirc.ini
- Sets dragdrop for n0 (No Key) to:
/_dragdrop n $1 $2-
- Sets dragdrop for s0 (Shift Key) to:
/_dragdrop s $1 $2-
- Sets mouse doubleclick for status window to:
/_doubleclick 1 - -
- Sets mouse doubleclick for query window to:
/_doubleclick 2 $active $1
- Sets mouse doubleclick for channel window to:
/_doubleclick 3 # #
- Sets mouse doubleclick for nicklist window to:
/_doubleclick 4 # $1
- Sets mouse doubleclick for notify window to:
/_doubleclick 5 + $1
- Sets mouse doubleclick for message window to:
/_doubleclick 2 $active $1
- Turn on the 27th token in n5= under [options] in mirc.ini (File Initialization Warning)
- Sets quit message to
$quit
; Runs first-time setup if first time or an upgrade from a version that didn't have _dragdrop
if (($hget(pnp.startup,firsttime)) || ((_dragdrop !isin $readini($mircini,n,dragdrop,n0)) && ($readini($scriptdir $+ dofirst.ini,n,todo,done) != 1))) {
if ($hget(pnp.startup,firsttime)) writeini config\profiles.ini startup runwizard 1
writeini script\dofirst.ini todo done 1
writeini script\dofirst.ini todo mirc $mircexe
writeini script\dofirst.ini todo file $mircini
saveini
flushini " $+ $mircini $+ "
writeini script\dofirst.ini todo mtime $file($mircini).mtime
run -n $mircexe -i" $+ $scriptdir $+ dofirst.ini"
exit
halt
}
The mechanism used by pai to detect if mirc.ini is ready for writing to doesn't seem to be working on an SSD. Needs confirmation and possibly further looking into.
- DLGTEXT.DAT
- MISCMENU.DAT
- MSGDEFS.DAT
- NETWFEAT.DAT
- PUNISH.DAT
- PUNISH2.DAT
- QUIKHELP.DAT
- SERVFEAT.DAT
- SNOTICE.DAT
- WALLOP.DAT
- DOFIRST.INI
- TRANSUP.INI
- EVENTS.MTP