VrS (Variant realities Script) — File Browser
VrSVariantrealitiesScriptv2.0 / VrSVariantrealitiesScriptv2.0 / VrS / System / Core / base.mrc
base.mrc — 1.41 KB — Download this file
on *:start: {
unsetall
if ($version < 6.0) {
vBin init
showmirc -r
!window -x "Status Window"
echo -s Sorry, but this version of VrS requires mIRC 6.0 or later.
echo -s Please download mIRC 6.0 or later from 12www.mirc.com.
return
}
;Core startup level 0
.signal start.0
;Startup for pre-user level 1 - things to be done after core startup, but before
;the user is logged in.
.signal start.1
;User level startup will be triggered by the vUser module, level 2.
}
on *:exit: {
;Final close events before vReg shuts down and all non-core scripts are unloaded.
.signal -n exit.1
;vReg will be shut down in this event
.signal -n exit.0
}
on *:signal:start.0: {
Core.SplashWin Starting up...
mkpath $+($mircdir,Settings)
mkpath $+($mircdir,Docs)
hmake HVar 50
vBin init
vConsole
window -h "Status Window"
remini mirc.ini logging
remini mirc.ini background
;clear Status Window
vecho VrS $+ $vrs(release) $vrs(version)
vReg.LoadAll
vReg G Users CurrentUser
if ($isalias(vMI.Servers)) {
Core.SplashWin Building server list...
vMI.Servers -r
}
.timerTimer -o 0 1 .signal -n Timer
}
on *:signal:start.1: {
if ($vModule.List(0) < 1) { vEcho No modules are loaded. Read the documentation on how to load modules. }
}
on *:signal:start.2: { Core.Titlebar }
on *:signal:exit.0: {
vReg.SaveAll
}