Mirc script redigeres
det er et Cw-script hvor du kan indtaste en cw og dine members kan adde sig til cw'en. Men jeg mangler en 6on6. er der nogle der kan tilføje det til scriptet???on *:TEXT:!add cw:%priv:{
if (%cw == 1on1) {
if (%player1 !== $null) {
notice $nick Team is full for this cw. Sry.
halt
}
if (%player1 == $null) {
set %player1 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
}
if (%cw == 2on2) {
if (%player1 == $nick) || (%player2 == $nick) {
notice $nick You are already added to this cw.
halt
}
if (%player1 !== $null) && (%player2 !== $null) {
notice $nick Team is full for this cw. Sry.
halt
}
if (%player1 == $null) {
set %player1 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
if (%player1 !== $null) {
set %player2 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
}
if (%cw == 3on3) {
if (%player1 == $nick) || (%player2 == $nick) || (%player3 == $nick) {
notice $nick You are already added to this cw.
halt
}
if (%player1 !== $null) && (%player2 !== $null) && (%player3 !== $null) {
notice $nick Team is full for this cw. Sry.
halt
}
if (%player1 == $null) {
set %player1 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
if (%player1 !== $null) && (%player2 == $null) {
set %player2 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
if (%player1 !== $null) && (%player2 !== $null) {
set %player3 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
}
if (%cw == 4on4) {
if (%player1 == $nick) || (%player2 == $nick) || (%player3 == $nick) || (%player4 == $nick) {
notice $nick You are already added to this cw.
halt
}
if (%player1 !== $null) && (%player2 !== $null) && (%player3 !== $null) && (%player4 !== $null) {
notice $nick Team is full for this cw. Sry.
halt
}
if (%player1 == $null) {
set %player1 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
if (%player1 !== $null) && (%player2 == $null) {
set %player2 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
if (%player1 !== $null) && (%player2 !== $null) && (%player3 == $null) {
set %player3 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
if (%player1 !== $null) && (%player2 !== $null) && (%player3 !== $null) && (%player4 == $null) {
set %player4 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
}
if (%cw == 5on5) {
if (%player1 == $nick) || (%player2 == $nick) || (%player3 == $nick) || (%player4 == $nick) || (%player5 == $nick) {
notice $nick You are already added to this cw.
halt
}
if (%player1 !== $null) && (%player2 !== $null) && (%player3 !== $null) && (%player4 !== $null) && (%player5 !== $null) {
notice $nick Team is full for this cw. Sry.
halt
}
if (%player1 == $null) {
set %player1 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
if (%player1 !== $null) && (%player2 == $null) {
set %player2 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
if (%player1 !== $null) && (%player2 !== $null) && (%player3 == $null) {
set %player3 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
if (%player1 !== $null) && (%player2 !== $null) && (%player3 !== $null) && (%player4 == $null) {
set %player4 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
if (%player1 !== $null) && (%player2 !== $null) && (%player3 !== $null) && (%player4 !== $null) && (%player5 == $null) {
set %player5 $nick
notice $nick You are now added to play in the next cw. Use "!remove cw" to remove your self.
halt
}
}
}
on 10:TEXT:!end-cw:%priv:{
if (%cw == $null) {
notice $nick No cw is set.
halt
}
if (%cw !== $null) {
if (%cw == 1on1) {
unset %cw
unset %player1
notice $nick Cw is now unset. Use "!set-cw <?on?>" to set again.
halt
}
if (%cw == 2on2) {
unset %cw
unset %player1
unset %player2
notice $nick Cw is now unset. Use "!set-cw <?on?>" to set again.
halt
}
if (%cw == 3on3) {
unset %cw
unset %player1
unset %player2
unset %player3
notice $nick Cw is now unset. Use "!set-cw <?on?>" to set again.
halt
}
if (%cw == 4on4) {
unset %cw
unset %player1
unset %player2
unset %player3
unset %player4
notice $nick Cw is now unset. Use "!set-cw <?on?>" to set again.
halt
}
if (%cw == 5on5) {
unset %cw
unset %player1
unset %player2
unset %player3
unset %player4
unset %player5
notice $nick Cw is now unset. Use "!set-cw <?on?>" to set again.
halt
}
}
}
on 10:TEXT:!set-cw*:%priv:{
if (%cw !== $null) {
notice $nick There is already a cw set. Use "!end-cw" to end it.
halt
}
if ($2 == 1on1) {
set %cw $2
set %player1
notice $nick Next cw is now a $2
halt
}
if ($2 == 2on2) {
set %cw $2
set %player1
set %player2
notice $nick Next cw is now a $2
halt
}
if ($2 == 3on3) {
set %cw $2
set %player1
set %player2
set %player3
notice $nick Next cw is now a $2
halt
}
if ($2 == 4on4) {
set %cw $2
set %player1
set %player2
set %player3
set %player4
notice $nick Next cw is now a $2
halt
}
if ($2 == 5on5) {
set %cw $2
set %player1
set %player2
set %player3
set %player4
set %player5
notice $nick Next cw is now a $2
halt
}
}
on *:TEXT:!remove cw:%priv:{
if (%cw == 1on1) {
if (%player1 !== $nick) {
notice $nick You are not added to this cw. Use "!add cw" to add your self.
halt
}
if (%player1 == $nick) {
set %player1
notice $nick You are now removede from this cw.
halt
}
}
if (%cw == 2on2) {
if (%player1 == $nick) {
set %player1
notice $nick You are now removede from this cw.
halt
}
if (%player2 == $nick) {
set %player2
notice $nick You are now removede from this cw.
halt
}
if (%player1 !== $nick) || (%player2 !== $nick) {
notice $nick You are not added to this cw. Use "!add cw" to add your self.
halt
}
}
if (%cw == 3on3) {
if (%player1 == $nick) {
set %player1
notice $nick You are now removede from this cw.
halt
}
if (%player2 == $nick) {
set %player2
notice $nick You are now removede from this cw.
halt
}
if (%player3 == $nick) {
set %player3
notice $nick You are now removede from this cw.
halt
}
if (%player1 !== $nick) || (%player2 !== $nick) || (%player3 !== $nick) {
notice $nick You are not added to this cw. Use "!add cw" to add your self.
halt
}
}
if (%cw == 4on4) {
if (%player1 == $nick) {
set %player1
notice $nick You are now removede from this cw.
halt
}
if (%player2 == $nick) {
set %player2
notice $nick You are now removede from this cw.
halt
}
if (%player3 == $nick) {
set %player3
notice $nick You are now removede from this cw.
halt
}
if (%player4 == $nick) {
set %player4
notice $nick You are now removede from this cw.
halt
}
if (%player1 !== $nick) || (%player2 !== $nick) || (%player3 !== $nick) || (%player4 !== $nick) {
notice $nick You are not added to this cw. Use "!add cw" to add your self.
halt
}
}
if (%cw == 5on5) {
if (%player1 == $nick) {
set %player1
notice $nick You are now removede from this cw.
halt
}
if (%player2 == $nick) {
set %player2
notice $nick You are now removede from this cw.
halt
}
if (%player3 == $nick) {
set %player3
notice $nick You are now removede from this cw.
halt
}
if (%player4 == $nick) {
set %player4
notice $nick You are now removede from this cw.
halt
}
if (%player5 == $nick) {
set %player5
notice $nick You are now removede from this cw.
halt
}
if (%player1 !== $nick) || (%player2 !== $nick) || (%player3 !== $nick) || (%player4 !== $nick) || (%player5 !== $nick) {
notice $nick You are not added to this cw. Use "!add cw" to add your self.
halt
}
}
}
on *:TEXT:!players:%priv:{
if (%cw == 1on1) {
timer 1 1 notice $nick Player: %player1
halt
}
if (%cw == 2on2) {
timer 1 1 notice $nick Player: %player1
timer 1 2 notice $nick Player: %player2
halt
}
if (%cw == 3on3) {
timer 1 1 notice $nick Player: %player1
timer 1 2 notice $nick Player: %player2
timer 1 3 notice $nick Player: %player3
halt
}
if (%cw == 4on4) {
timer 1 1 notice $nick Player: %player1
timer 1 2 notice $nick Player: %player2
timer 1 3 notice $nick Player: %player3
timer 1 4 notice $nick Player: %player4
halt
}
if (%cw == 5on5) {
timer 1 1 notice $nick Player: %player1
timer 1 2 notice $nick Player: %player2
timer 1 3 notice $nick Player: %player3
timer 1 4 notice $nick Player: %player4
timer 1 5 notice $nick Player: %player5
halt
}
}
on 10:TEXT:!set-priv:#:{
set %priv $chan
notice $nick $chan is now set as priv.
}
on 10:TEXT:!cmd:%priv:{
timer 1 1 notice $nick Cw script commands
timer 1 2 notice $nick !set-cw <?on?>
timer 1 3 notice $nick !end-cw
timer 1 4 notice $nick !add cw
timer 1 5 notice $nick !remove cw
timer 1 6 notice $nick !players
timer 1 7 notice $nick !set-priv
}
Der gives 200 point ;D
//Kraller