alias cpsp2 {
if (%cp.sp.cmd == /me) { /me $iif(%cp.sp.nick == 1,[Nick: $me $+ ],return) $iif(%cp.sp.server == 1,[Server: $scid($activecid).server $+ : $port $+ ],return) $iif(%cp.sp.servup == 1,[Server UpTime: $scid($activecid).uptime $+ ],return) $iif(%cp.sp.mircup == 1,[mIRC UpTime: $uptime(mirc,1) $+ ],return) $iif(%cp.sp.winup == 1,[Win $+ $os UpTime: $uptime(system,1) $+ ],return) $iif(%cp.sp.idle == 1,[Idle: $duration($scid($activecid).idle) $+ ],return) $iif(%cp.sp.timedate == 1,[Time&Date: $time ¤ $date $+ ],return) $iif(%cp.sp.dccs == 1,[DCC Gets: %cp.dcc.get.succ $+ / $+ %cp.dcc.get.tot $+ ] [DCC Sends: %cp.dcc.send.succ $+ / $+ %cp.dcc.send.tot $+ ],return) }
if (%cp.sp.cmd == /ame) { /ame $iif(%cp.sp.nick == 1,[Nick: $me $+ ],return) $iif(%cp.sp.server == 1,[Server: $scid($activecid).server $+ : $port $+ ],return) $iif(%cp.sp.servup == 1,[Server UpTime: $scid($activecid).uptime $+ ],return) $iif(%cp.sp.mircup == 1,[mIRC UpTime: $uptime(mirc,1) $+ ],return) $iif(%cp.sp.winup == 1,[Win $+ $os UpTime: $uptime(system,1) $+ ],return) $iif(%cp.sp.idle == 1,[Idle: $duration($scid($activecid).idle) $+ ],return) $iif(%cp.sp.timedate == 1,[Time&Date: $time ¤ $date $+ ],return) $iif(%cp.sp.dccs == 1,[DCC Gets: %cp.dcc.get.succ $+ / $+ %cp.dcc.get.tot $+ ] [DCC Sends: %cp.dcc.send.succ $+ / $+ %cp.dcc.send.tot $+ ],return) }
if (%cp.sp.cmd == /echo -s) { /echo -s $iif(%cp.sp.nick == 1,[Nick: $me $+ ],return) $iif(%cp.sp.server == 1,[Server: $scid($activecid).server $+ : $port $+ ],return) $iif(%cp.sp.servup == 1,[Server UpTime: $scid($activecid).uptime $+ ],return) $iif(%cp.sp.mircup == 1,[mIRC UpTime: $uptime(mirc,1) $+ ],return) $iif(%cp.sp.winup == 1,[Win $+ $os UpTime: $uptime(system,1) $+ ],return) $iif(%cp.sp.idle == 1,[Idle: $duration($scid($activecid).idle) $+ ],return) $iif(%cp.sp.timedate == 1,[Time&Date: $time ¤ $date $+ ],return) $iif(%cp.sp.dccs == 1,[DCC Gets: %cp.dcc.get.succ $+ / $+ %cp.dcc.get.tot $+ ] [DCC Sends: %cp.dcc.send.succ $+ / $+ %cp.dcc.send.tot $+ ],return) }
if (%cp.sp.cmd == /echo -a) { /echo -a $iif(%cp.sp.nick == 1,[Nick: $me $+ ],return) $iif(%cp.sp.server == 1,[Server: $scid($activecid).server $+ : $port $+ ],return) $iif(%cp.sp.servup == 1,[Server UpTime: $scid($activecid).uptime $+ ],return) $iif(%cp.sp.mircup == 1,[mIRC UpTime: $uptime(mirc,1) $+ ],return) $iif(%cp.sp.winup == 1,[Win $+ $os UpTime: $uptime(system,1) $+ ],return) $iif(%cp.sp.idle == 1,[Idle: $duration($scid($activecid).idle) $+ ],return) $iif(%cp.sp.timedate == 1,[Time&Date: $time ¤ $date $+ ],return) $iif(%cp.sp.dccs == 1,[DCC Gets: %cp.dcc.get.succ $+ / $+ %cp.dcc.get.tot $+ ] [DCC Sends: %cp.dcc.send.succ $+ / $+ %cp.dcc.send.tot $+ ],return) }
if (%cp.sp.cmd == /msg $active) { /msg $active $iif(%cp.sp.nick == 1,[Nick: $me $+ ],return) $iif(%cp.sp.server == 1,[Server: $scid($activecid).server $+ : $port $+ ],return) $iif(%cp.sp.servup == 1,[Server UpTime: $scid($activecid).uptime $+ ],return) $iif(%cp.sp.mircup == 1,[mIRC UpTime: $uptime(mirc,1) $+ ],return) $iif(%cp.sp.winup == 1,[Win $+ $os UpTime: $uptime(system,1) $+ ],return) $iif(%cp.sp.idle == 1,[Idle: $duration($scid($activecid).idle) $+ ],return) $iif(%cp.sp.timedate == 1,[Time&Date: $time ¤ $date $+ ],return) $iif(%cp.sp.dccs == 1,[DCC Gets: %cp.dcc.get.succ $+ / $+ %cp.dcc.get.tot $+ ] [DCC Sends: %cp.dcc.send.succ $+ / $+ %cp.dcc.send.tot $+ ],return) }
if (%cp.sp.cmd == /msga) {
if ($active == Status Window) { /echo -s $iif(%cp.sp.nick == 1,[Nick: $me $+ ],return) $iif(%cp.sp.server == 1,[Server: $scid($activecid).server $+ : $port $+ ],return) $iif(%cp.sp.servup == 1,[Server UpTime: $scid($activecid).uptime $+ ],return) $iif(%cp.sp.mircup == 1,[mIRC UpTime: $uptime(mirc,1) $+ ],return) $iif(%cp.sp.winup == 1,[Win $+ $os UpTime: $uptime(system,1) $+ ],return) $iif(%cp.sp.idle == 1,[Idle: $duration($scid($activecid).idle) $+ ],return) $iif(%cp.sp.timedate == 1,[Time&Date: $time ¤ $date $+ ],return) $iif(%cp.sp.dccs == 1,[DCC Gets: %cp.dcc.get.succ $+ / $+ %cp.dcc.get.tot $+ ] [DCC Sends: %cp.dcc.send.succ $+ / $+ %cp.dcc.send.tot $+ ],return) }
else { /msg $active $iif(%cp.sp.nick == 1,[Nick: $me $+ ],return) $iif(%cp.sp.server == 1,[Server: $scid($activecid).server $+ : $port $+ ],return) $iif(%cp.sp.servup == 1,[Server UpTime: $scid($activecid).uptime $+ ],return) $iif(%cp.sp.mircup == 1,[mIRC UpTime: $uptime(mirc,1) $+ ],return) $iif(%cp.sp.winup == 1,[Win $+ $os UpTime: $uptime(system,1) $+ ],return) $iif(%cp.sp.idle == 1,[Idle: $duration($scid($activecid).idle) $+ ],return) $iif(%cp.sp.timedate == 1,[Time&Date: $time ¤ $date $+ ],return) $iif(%cp.sp.dccs == 1,[DCC Gets: %cp.dcc.get.succ $+ / $+ %cp.dcc.get.tot $+ ] [DCC Sends: %cp.dcc.send.succ $+ / $+ %cp.dcc.send.tot $+ ],return) }
}
if (%cp.sp.cmd == /mea) {
if ($active == Status Window) { /echo -s $iif(%cp.sp.nick == 1,[Nick: $me $+ ],return) $iif(%cp.sp.server == 1,[Server: $scid($activecid).server $+ : $port $+ ],return) $iif(%cp.sp.servup == 1,[Server UpTime: $scid($activecid).uptime $+ ],return) $iif(%cp.sp.mircup == 1,[mIRC UpTime: $uptime(mirc,1) $+ ],return) $iif(%cp.sp.winup == 1,[Win $+ $os UpTime: $uptime(system,1) $+ ],return) $iif(%cp.sp.idle == 1,[Idle: $duration($scid($activecid).idle) $+ ],return) $iif(%cp.sp.timedate == 1,[Time&Date: $time ¤ $date $+ ],return) $iif(%cp.sp.dccs == 1,[DCC Gets: %cp.dcc.get.succ $+ / $+ %cp.dcc.get.tot $+ ] [DCC Sends: %cp.dcc.send.succ $+ / $+ %cp.dcc.send.tot $+ ],return) }
else { /me $iif(%cp.sp.nick == 1,[Nick: $me $+ ],return) $iif(%cp.sp.server == 1,[Server: $scid($activecid).server $+ : $port $+ ],return) $iif(%cp.sp.servup == 1,[Server UpTime: $scid($activecid).uptime $+ ],return) $iif(%cp.sp.mircup == 1,[mIRC UpTime: $uptime(mirc,1) $+ ],return) $iif(%cp.sp.winup == 1,[Win $+ $os UpTime: $uptime(system,1) $+ ],return) $iif(%cp.sp.idle == 1,[Idle: $duration($scid($activecid).idle) $+ ],return) $iif(%cp.sp.timedate == 1,[Time&Date: $time ¤ $date $+ ],return) $iif(%cp.sp.dccs == 1,[DCC Gets: %cp.dcc.get.succ $+ / $+ %cp.dcc.get.tot $+ ] [DCC Sends: %cp.dcc.send.succ $+ / $+ %cp.dcc.send.tot $+ ],return) }
}
if (%cp.sp.cmd == 10) {
/msg %cp.sp.10 $iif(%cp.sp.nick == 1,[Nick: $me $+ ],return) $iif(%cp.sp.server == 1,[Server: $scid($activecid).server $+ : $port $+ ],return) $iif(%cp.sp.servup == 1,[Server UpTime: $scid($activecid).uptime $+ ],return) $iif(%cp.sp.mircup == 1,[mIRC UpTime: $uptime(mirc,1) $+ ],return) $iif(%cp.sp.winup == 1,[Win $+ $os UpTime: $uptime(system,1) $+ ],return) $iif(%cp.sp.idle == 1,[Idle: $duration($scid($activecid).idle) $+ ],return) $iif(%cp.sp.timedate == 1,[Time&Date: $time ¤ $date $+ ],return) $iif(%cp.sp.dccs == 1,[DCC Gets: %cp.dcc.get.succ $+ / $+ %cp.dcc.get.tot $+ ] [DCC Sends: %cp.dcc.send.succ $+ / $+ %cp.dcc.send.tot $+ ],return)
}
}