Sponsored Links




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


Recent Posts
!aop and chanserv
by usr_local
Today at 07:08 PM
Access list
by usr_local
Today at 06:26 PM
How do I identify on Rooms app for iPhone?
by rickasdf
Today at 01:54 AM
my favorite channels on WR
by rickasdf
Today at 01:52 AM
Rules for Voiced (+v) users in #Chris
by GrimReaper
Yesterday at 12:52 PM
Script Bots. Need One?
by Rockbuddy
10/10/08 09:16 PM
Kick and ban ustream spammers
by Rockbuddy
10/07/08 04:21 PM
Commands
by Rockbuddy
10/07/08 04:09 PM
Topic setter's username is appended to topic
by rickasdf
10/06/08 12:55 AM
Kat
by RyanBecker
10/04/08 01:16 PM
Whos wants to help make a bot?
by RyanBecker
10/04/08 09:01 AM
Notifier Tip Script
by Firebucket
10/04/08 01:31 AM
Recent Pics
The Uplink game with IRC!
My Windows Desktop
My Mac Desktop
Who's Online
0 Registered (), 3 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
usrbingeek 454
Kat 246
iPhone 106
Phil 90
Freekie 82
techman224 73
CCMike 67
Justin 66
tengrrl 53
wirelesspacket 52
Terms Of Use
Use of this community signifies your agreement to the Terms Of Service and Conditions of Use.