• Home
  • Servers
  • Chat
  • Channels
  • Commands
  • Forum
  • FAQ
  • Software
  • Quotes
Topic Options
Rate This Topic
#1486 - 03/31/08 10:29 PM Silence User
boredcollegekid Offline
newbie

Registered: 12/19/07
Posts: 48
Loc: Tulsa, OK
Heres a little code I finally decided to stick on here. This alias will:

1.Mute the user
2.Prevent them from changing their nick
3.Notice them that they have been banned
4.remove any access they have
4.unban after 5 minutes
5.Adds the silence command to the nicklist popup

Code:
alias silence {
  /mode $chan +bb ~q: $+ $address($1, 2) ~n: $+ $address($1, 2) 
  /mode $chan -ohv $$1 $$1 $$1 
  /timer 1 3 /notice $$1 You have been silenced for the next five (5) minutes. Please use this time to think about your actions 
  /timer 1 300 /mode $chan -bb ~q: $+ $address($1, 2) ~n: $+ $address($1, 2) 
}
menu nicklist {
  silence:/silence $1
}


Place into Remotes in the scripts editor. Edit as you see fit.
_________________________

Top
Sponsored Links
Sponsored Links
Member
*****

Registered: 27/08/04
Posts: 10136
Loc: Mountain View, CA
Top


Moderator:  Jeff, mandy, usrbingeek