shadow's room modes

By shadow221 on Oct 17, 2006

just copy and past the code in ur script remotes

on *:input:#: {
if ($$1 === +A) {    mode $chan +A Server/Net/Tech Admin only channel (Settable by Admins)  }
  if ($$1 === -A) {    mode $chan -A  }
  if ($$1 === +a) {    mode $chan +a $2 protect }
  if ($$1 === -a) {    mode $chan -a $2 deprotect }
  if ($$1 === +b) {    mode $chan +b $2 ban }
  if ($$1 === -b) {    mode $chan -b $2  }
  if ($$1 === +c) { mode $active +c no color }
  if ($$1 === -c) { mode $active -c color }
  if ($$1 === +C) { mode $active +C no ctcp in this chan }
  if ($$1 === -C) { mode $active -C ctcp if u want }
  if ($$1 === +e) { mode $chan +e $2 exept ban }
  if ($$1 === -e) {  mode $chan -e $2  }
  if ($$1 === +G) { mode $active +G bad words will be cencored }
  if ($$1 === -G) {  mode $active -G  }
  if ($$1 === +H) {    mode $chan +H H = No +I users may join(Settable by Admins)  }
  if ($$1 === -H) {    mode $chan -H  }
  if ($$1 === +h) {    mode $chan +h $2 halfop }
  if ($$1 === -h) {    mode $chan -h $2 dehalfop }
  if ($$1 === +i) {    mode $active +i invite only }
  if ($$1 === -i) {    mode $active -i no invite needed }
  if ($$1 === +K) {    mode $chan +K /KNOCK is not allowed  }
  if ($$1 === -K) {    mode $chan -K knock alowd }
  if ($$1 === +k) {    mode $chan +k $2 key }
  if ($$1 === -k) {    mode $chan -k no key }
  if ($$1 === +L) {    mode $active +L $2 L #chan2 = If +l is full, the next user will auto-join #chan2  }
  if ($$1 === -L) {    mode $active -L  }
  if ($$1 === +l) {    mode $active +l $2 limit users in room }
  if ($$1 === -l) {    mode $active -l  }
  if ($$1 === +M) {   mode $active +M A registered nickname (+r) is required to talk   }
  if ($$1 === -M) {   mode $active -M  }
  if ($$1 === +m) {   mode $active +m Moderated channel, Only users with mode +voh can speak. }
  if ($$1 === -m) {   mode $active -m  }
  if ($$1 === +n) {    mode $chan +n No messages from outside channel  }
  if ($$1 === -n) {    mode $chan -n  }
  if ($$1 === +N) {    mode $chan +N no nicknames change permited }
  if ($$1 === -N) {    mode $chan -N  }
  if ($$1 === +O) {    mode $chan +O IRC Operator only channel (Settable by IRCOps) }
  if ($$1 === -O) {    mode $chan -O  }
  if ($$1 === +o) {    mode $chan +o $2 op }
  if ($$1 === -o) {    mode $chan -o $2 deop }
  if ($$1 === +p) {    mode $chan +p private chan }
  if ($$1 === -p) {    mode $chan -p  }
  if ($$1 === +q) {    mode $chan +q $2 set chan owner }
  if ($$1 === -q) {    mode $chan -q unset chan owner }
  if ($$1 === +Q) {    mode $chan +Q No kicks able in channel unless by U:Lines  }
  if ($$1 === -Q) {    mode $chan -Q  }
  if ($$1 === +R) {    mode $chan +R only regd nicks can join  }
  if ($$1 === -R) {    mode $chan -R  }
  if ($$1 === +s) {    mode $chan +s secret chan  }
  if ($$1 === -s) {    mode $chan -s  }
  if ($$1 === +S) {    mode $chan +S Strip all incoming colors away  }
  if ($$1 === -S) {    mode $chan -S  }
  if ($$1 === +t) {    mode $chan +t only ops can set topic }
  if ($$1 === -t) {    mode $chan -t  }
  if ($$1 === +T) {    mode $chan +T No NOTICE's allowed in the channel  }
  if ($$1 === -T) {    mode $chan -T  }
  if ($$1 === +u) {    mode $chan +u Auditorium". Makes /NAMES and /WHO #channel only show Operators  }
  if ($$1 === -u) {    mode $chan -u  }
  if ($$1 === +U) {    mode $chan +U Strips formatting away (reverse, bolds, and underlines  }
  if ($$1 === -U) {    mode $chan -U  }
  if ($$1 === +v) {    mode $chan +v $2 voice }
  if ($$1 === -v) {    mode $chan -v $2 devoice }
  if ($$1 === +V) {    mode $chan +V no INVITES alowd  }
  if ($$1 === -V) {    mode $chan -V  }
  if ($$1 === +z) {    mode $chan +z Only Clients on a Secure Connection (SSL) can join.   }
  if ($$1 === -z) {    mode $chan -z  }
}

Comments

Sign in to comment.
Yoinx   -  Oct 18, 2006

Well undernet was just the server i was connected to. The same problems would occur on most nets.

 Respond  
shadow221   -  Oct 18, 2006

oh sorry but i didnt try them on undernet i am on p2p and all works fine didnt see any probs yet but yeah undernet is other then p2p i guess sorry about that

 Respond  
krimson   -  Oct 18, 2006

using \'$1 $2-\' is the same thing as using \'$1-\'. no point in separating them

 Respond  
Noutrious   -  Oct 18, 2006

if (+ isin $1) { .mode # $1 $2- }
This would make the snippet 10x shorter.. (this is an example, there should be checking for op etc.)

 Respond  
krimson   -  Oct 17, 2006

looks also matter. clean style of coding is prefered over the messy one. there are some problems with your snippet instead. have you ever tryed setting mode +A or +c? or any other mode you\'ve commented on? they will surley give you some trouble, as mirc will try to set all the modes after +. if you were looking for comments, drop them on a new line and prefix the whole text with \';\'.

another thing required would be a better description. only specifying \'just copy and past the code in ur script remotes\' is no good to anybody. you should post info about what the snippet does (for those who don\'t know MSL), for what network it was made and so on.

 Respond  
shadow221   -  Oct 17, 2006

the point is that it works not how it looks atleast thats my meaning i tryd them all and they work so no problem rite

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.