Triple FTP Timer — File Browser
TripleFTPTimerv1.0 / TripleFTPTimerv1.0 / 3timer.mrc
3timer.mrc — 3.24 KB — Download this file
; -----------------------------------------------------
; Peace and Protection Addon (by Kaptain999)
; -----------------------------------------------------
; ADDON: Triple FTP Timer v1.0
; -----------------------------------------------------
alias /trig /set %trig $?"What is the trigger for your FTP?"
alias /name /set %name $?"What is the name of you FTP?"
alias /setip /set %ip $?"What is your IP?"
alias /portset /set %port $?"What is the port"
alias /passset /set %pass $?"What is the password?"
alias /loginset /set %login $?"What is the Login name?"
alias ftp /timer800 0 400 /msg %chan 2--== %name FTP is up! Enter4 %trig 2for details ==-- | /msg %chan 2--== %name FTP is up! Enter4 %trig 2for details ==--
alias ftp2 /timer801 0 400 /msg %chan2 2--== %name FTP is up! Enter4 %trig 2for details ==-- | /msg %chan2 2--== %name FTP is up! Enter4 %trig 2for details ==--
alias ftp3 /timer802 0 400 /msg %chan3 2--== %name FTP is up! Enter4 %trig 2for details ==-- | /msg %chan3 2--== %name FTP is up! Enter4 %trig 2for details ==--
alias $true /
alias ftpoff { /timer800 off
/timer801 off
/timer802 off
/msg %chan 4 %name 15FTP is now going down 2--==3Timer P&P Addon by: Kaptain999==--
/msg %chan2 4 %name 15FTP is now going down 2--==3Timer P&P Addon by: Kaptain999==--
/msg %chan3 4 %name 15FTP is now going down 2--==3Timer P&P Addon by: Kaptain999==--
}
alias $false /
#on.notice on
on 1:TEXT:%trig:%chan, %chan2, %chan3:/notice $nick %name FTP is up at: 2ip:4 %ip 2port:4 %port 2login:4 %login 2pass: 4 %pass | /notice $nick NO HAMMERING Set your retries to at least 60 sec. You also 4must stay in $chan. 14If you do not obey any of these rules you will get BANNED from the FTP 5--==3Timer by Kaptain999==--
#on.notice end
#off.notice off
on 1:TEXT:%trig:#:/notice $nick I'm Sorry, but %name FTP is now down
#off.notice end
; menus
menu status,menubar {
3Timer
.Start Timer:/enable #on.notice | /disable #off.notice | /start
.Stop Timer:/disable #on.notice | /enable #off.notice | /ftpoff | /disable #resume.on
Config
..Change Login:/loginset
..Change Pass:/passset
..Change Name:/name
..Change Trigger:/trig
..Change Port:/portset
..Change IP:/setip
}
on 1:start:dispa 2You are using: 3Timer by: 4Kaptain999
alias start {
/set %chan $?"What channel would you like to advertise to?"
/ftp
$?!"Do you wish to advertise to two channels?"
if ($! == $false) { /set %chan2 0 | /set %chan3 0 | /askresume }
if ($! == $true) { /start2 }
}
alias start2 {
/set %chan2 $?"What is the 2nd channel you are going to advertise to?"
/ftp2
$?!"Do you want to advertise to three channels?"
if ($! == $false) { /set %chan3 0 | /askresume }
if ($! == $true) { /start3 }
}
alias start3 {
/set %chan3 $?"What is the 3rd channel to advertise to?"
/ftp3
/askresume
}
alias askresume {
$?!"Do you want resume to be enabled if you get disconnected?" if ($! == $true) { /echo Resume option is on | /enable #resume.on }
if ($! == $false) { /disable #resume.on }
/halt
}
#resume.on on
on 1:join:%chan: if ($nick == $me) { /ftp }
on 1:join:%chan2: if ($nick == $me) { /ftp2 }
on 1:join:%chan3: if ($nick == $me) { /ftp3 }
#resume.on end