All pastes #285207 Raw Edit

Narf's Cw script mod

public text v1 · immutable
#285207 ·published 2006-12-19 17:54 UTC
rendered paste body

on *:TEXT:!setcw*:#rscw:{
  if ($chan == #rspc) { HALT }
  if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) {
    { set %cwtime $ctime }
    { set %cworld $2- }
    { set %cwnick $nick }
  { msg $chan 4 Castlewars World Updated by: [12 $nick 4], Team set $3 %team } }
}

on *:text:!cw:#rscw:{
  if ($chan == #rspc) { HALT }
  { inc %cwcount 1 }
  //set %tk $rand(1,10) 
  if (%tk == 1) { notice $nick 13,4Castlewars World is: %cworld Team $3 %team -[0 Set by:  %cwnick $+ 4] ,14 Used:[ %cwcount times.] }
  if (%tk == 2) { notice $nick  Castlewars World is: %cworld Team $3 %team -[8 Set by:  %cwnick $+ 4] ,0 Used:[ %cwcount times.] }
  if (%tk == 3) { notice $nick 2,7 Castlewars World is: %cworld Team $3 %team -[8 Set by:  %cwnick $+ 4] ,0 Used:[ %cwcount times. ] }
  if (%tk == 4)  { notice $nick 4 Castlewars World is: %cworld Team $3 %team -[9 Set by:  %cwnick $+ 4] ,1 Used:[ %cwcount times. 4] }
  if (%tk == 5)  { notice $nick 13,9 Castlewars World is: %cworld Team $3 %team -[7 Set by:  %cwnick $+ 7] ,11 Used:[ %cwcount times.  ] }
  if (%tk == 6)  { notice $nick 9,4 Castlewars World is: %cworld Team $3 %team -[0 Set by:  %cwnick $+ 0] ,9Used:[ %cwcount times.] }
  if (%tk == 7)  { notice $nick 11,12 Castlewars World is: %cworld Team $3 %team -[4 Set by:  %cwnick $+ ] ,8Used:[ %cwcount times.] } 
  if (%tk == 8)  { notice $nick 12,11 Castlewars World is: %cworld Team $3 %team -[7 Set by:  %cwnick $+ ] ,9Used:[ %cwcount times.] }
  if (%tk == 9)  { notice $nick 13,7 Castlewars World is: %cworld Team $3 %team -[4 Set by:  %cwnick $+ ] ,8Used:[ %cwcount times.] }
  if (%tk == 10) { notice $nick 7,10 Castlewars World is: %cworld Team $3 %team -[1 Set by:  %cwnick $+ ] ,5Used:[ %cwcount times.] }}
  }
}
on *:text:!cww:#rscw:{
  if ($chan == #rspc) { HALT }
  { inc %cwcount 1 }
  //set %tk $rand(1,10) 
  if (%tk == 1) { notice $nick 13,4Castlewars World is: %cworld Team $3 %team -[0 Set by:  %cwnick $+ 4] ,14 Used:[ %cwcount times.] }
  if (%tk == 2) { notice $nick  Castlewars World is: %cworld Team $3 %team -[8 Set by:  %cwnick $+ 4] ,0 Used:[ %cwcount times.] }
  if (%tk == 3) { notice $nick 2,7 Castlewars World is: %cworld Team $3 %team -[8 Set by:  %cwnick $+ 4] ,0 Used:[ %cwcount times. ] }
  if (%tk == 4)  { notice $nick 4 Castlewars World is: %cworld Team $3 %team -[9 Set by:  %cwnick $+ 4] ,1 Used:[ %cwcount times. 4] }
  if (%tk == 5)  { notice $nick 13,9 Castlewars World is: %cworld Team $3 %team -[7 Set by:  %cwnick $+ 7] ,11 Used:[ %cwcount times.  ] }
  if (%tk == 6)  { notice $nick 9,4 Castlewars World is: %cworld Team $3 %team -[0 Set by:  %cwnick $+ 0] ,9Used:[ %cwcount times.] }
  if (%tk == 7)  { notice $nick 11,12 Castlewars World is: %cworld Team $3 %team -[4 Set by:  %cwnick $+ ] ,8Used:[ %cwcount times.] } 
  if (%tk == 8)  { notice $nick 12,11 Castlewars World is: %cworld Team $3 %team -[7 Set by:  %cwnick $+ ] ,9Used:[ %cwcount times.] }
  if (%tk == 9)  { notice $nick 13,7 Castlewars World is: %cworld Team $3 %team -[4 Set by:  %cwnick $+ ] ,8Used:[ %cwcount times.] }
  if (%tk == 10) { notice $nick 7,10 Castlewars World is: %cworld Team $3 %team -[1 Set by:  %cwnick $+ ] ,5Used:[ %cwcount times.] }}
  }