I play a game called Planetarion :P
and sometimes we get attacks on us :( the meanies
anyway to make life easier we use this script :
commands are in the !Rhelp
put in variables
%relay 1
%timer800 0
%timer810 0
%timer820 0
%chan #channel you are using the script in
on *:text:!Rcall *:#: {
if ( %timer800 == 0 || %timer800 == $nick ) {
/set %timer800 $nick
/timercall800 3 1 /notice $chan 13PM12 $nick 13with:10 $2-
/timerrep800 9 400 /timercall800 3 1 /notice $chan 13PM12 $nick 13with:10 $2-
/timerstoploop800 1 4000 /set %timer800 0
}
elseif ( %timer810 == 0 || %timer810 == $nick ) {
/set %timer810 $nick
/timercall810 3 1 /notice $chan 13PM12 $nick 13with:10 $2-
/timerrep810 9 400 /timercall810 3 1 /notice $chan 13PM12 $nick 13with:10 $2-
/timerstoploop810 1 4000 /set %timer810 0
}
elseif ( %timer820 == 0 || %timer3 == $nick ) {
/set %timer820 $nick
/timercall820 3 1 /notice $chan 13PM12 $nick 13with:10 $2-
/timerrep820 9 400 /timercall820 3 1 /notice $chan 13PM12 $nick 13with:10 $2-
/timerstoploop820 1 4000 /set %timer820 0
}
else /msg $nick 7Please wait for another DC to finnish with me!
}
on *:text:!Rstop*:#:{
if ( ( %timer800 == $2 ) || ( %timer800 == $nick ) ) {
/notice $chan 9No Open Defcalls right now! Please keep your fleets ready!!
/timerrep800 off
/timerstoploop800 off
/set %timer800 0
}
elseif ( ( %timer810 == $nick ) || ( %timer810 == $2 ) ) {
/notice $chan 9No Open Defcalls right now! Please keep your fleets ready!!
/timerrep810 off
/timerstoploop810 off
/set %timer810 0
}
elseif ( ( %timer820 == $nick ) || ( %timer820 == $2 ) ) {
/notice $chan 9No Open Defcalls right now! Please keep your fleets ready!!
/timerrep820 off
/timerstoploop820 off
/set %timer820 0
}
else { /msg $nick 7Invalid stop command }
}
on *:text:!Rhelp:#:{
/msg $chan List of commands:
/msg $chan !Rcall xxx : to start shouting what def you require
/msg $chan !Rstop : to stop your own defcall
/msg $chan !Rstop nick : to stop someone else his defcall
/msg $chan !Rrelay on : starts pasting pm's to relay in $chann
/msg $chan !Rrelay off : stops pasting pm's to relay in $chann
}
on *:text:!Rrelay on:#: {
/set %relay 1
/msg $chan Relay on
}
on *:text:!Rrelay off:#: {
/set %relay 0
/msg $chan Relay off
}
on *:text:*:?:{
if ( %relay == 1) {
/msg %chan 13Defcall reply from10 $nick :7 $1-
}
}