All pastes #992817 Raw Edit

!away and !back script

public text v1 · immutable
#992817 ·published 2008-04-22 03:40 UTC
rendered paste body
;This script was originaly used on a server with many main channels originaly. but you may edit 
;it to add more or less.

;############################ HalfOp ###########################################

on *:text:away:#Staff:{ cs dehalfop #channel_here $nick | cs voice #channel_here $nick | cs dehalfop #channel_here $nick | cs voice #channel_here $nick | cs dehalfop #channel_here $nick | cs voice #channel_here $nick | cs dehalfop #channel_here $nick | cs voice #channel_here $nick | msg #Staff 11,1 $nick has been marked as away  }

on *:text:back:#Staff:{ cs devoice #channel_here $nick | cs halfop #channel_here $nick | cs devoice #channel_here $nick | cs halfop #channel_here $nick | cs devoice #channel_here $nick | cs halfop #channel_here $nick | cs devoice #channel_here $nick | cs op #channel_here $nick | msg #Staff 11,1 $nick has been marked as back  }

;############################ Op ###############################################

on *:text:@away:#Staff:{ cs deop #channel_here $nick | cs voice #channel_here $nick | cs deop #channel_here $nick | cs voice #channel_here $nick | cs op #channel_here $nick | cs voice #channel_here $nick | cs deop #channel_here $nick | cs voice #channel_here $nick | msg #Staff 11,1 $nick has been marked as away  }

on *:text:@back:#Staff:{ cs devoice #channel_here $nick | cs op #channel_here $nick | cs devoice #channel_here $nick | cs op #channel_here $nick | cs devoice #channel_here $nick | cs op #channel_here $nick | cs devoice #channel_here $nick | cs op #channel_here $nick | msg #Staff 11,1 $nick has been marked as back  }

;############################ Protected ########################################

on *:text:&away:#Staff:{ cs deprotect #channel_here $nick | cs deop #channel_here $nick | cs voice #channel_here $nick | cs deprotect #channel_here $nick | cs deop #channel_here $nick | cs voice #channel_here $nick | cs deprotect #channel_here $nick | cs deop #channel_here $nick | cs voice #channel_here $nick | cs deprotect #channel_here $nick | cs deop #channel_here $nick | cs voice #channel_here $nick | msg #Staff 11,1 $nick has been marked as away  }

on *:text:&back:#Staff:{ cs devoice #channel_here $nick | cs op #channel_here $nick | cs protect #channel_here $nick | cs devoice #channel_here $nick | cs op #channel_here $nick | cs protect #channel_here $nick | cs devoice #channel_here $nick | cs op #channel_here $nick | cs protect #channel_here $nick | cs devoice #channel_here $nick | cs op #channel_here $nick | cs protect #channel_here $nick | msg #Staff 11,1 $nick has been marked as back  }

;############################ Owner ############################################

on *:text:~away:#Admins:{ mode #channel_here -qo+v $nick $nick $nick | mode #channel_here -qo+v $nick $nick $nick | mode #channel_here -qo+v $nick $nick $nick | mode #channel_here -qo+v $nick $nick $nick | msg #Admins 11,1 $nick has been marked as away  }

on *:text:~back:#Admins:{ mode #channel_here -v+qo $nick $nick $nick | mode #channel_here -v+qo $nick $nick $nick | mode #channel_here -v+qo $nick $nick $nick | mode #channel_here -v+qo $nick $nick $nick | msg #Admins 11,1 $nick has been marked as back  }