PDA

View Full Version : ummm a Poo list


wuaffiliate
01-07-2001, 04:31
u know what u mean :)

i have a few people (Coolman, BIGWILL, and a few othe llamas) on irc who are an anoyance.

i want a scipt that bans them on any channel i have ops on.

like say:
im chatting in #wildbots and Coolman enters i want him to be kick banned on the spot. u know of an addon scipt capable of this?

many thanx

Bad-Co
01-07-2001, 22:03
Use a remote ( ALT R )


on 1:JOIN:#CHAN NAME: {
if ( $nick == Bad-Co ) {
/Set %Bad-Co $address($nick,3)
/mode #CHAN NAME +b %bad-co }
}



You'll have to change the underlined commands

but it'll ban on join and set a varible to remember the address ;)

Godin
01-07-2001, 22:08
ahh, you wanna moo style flist ;) damn those things are cruel ;)

Deathwish2000
01-07-2001, 22:34
Yep, damn nasty those flufflists (yes i did actually write fluff and not ****)

wuaffiliate
02-07-2001, 22:59
on 1:JOIN:#wuaffiliate: {
if ( $nick == Coolman ) {
/Set Coolman $address($nick,3)
/mode #wuaffiliate +b Coolman }
}

wuaffiliate
02-07-2001, 23:01
on 1:JOIN:#wuaffiliate: {
if ( $nick == Coolman ) {
/Set Coolman $address($nick,3)
/mode #wuaffiliate +b Coolman }
}


like this? it doesnt seem to be working what did i do wrong :cry:

Bad-Co
03-07-2001, 18:17
on 1:JOIN:#wuaffiliate: {
if ( $nick == Coolman || $address($nick,4) == %Coolman ){
/Set %Coolman $address($nick,4)
/mode #wuaffiliate +b %Coolman }
}


varibles start with a %

added the address ban aswell, but you'll have to test it

[Edited by Bad-Co on 03-07-2001 at 06:23 PM]

wuaffiliate
03-07-2001, 22:13
thanx0rs.
/me invites coolman to #wuaffiliate

wuaffiliate
13-07-2001, 07:24
well i d/led a pooplist ;) and it didnt work so me and a m8 ENO worked on it and it works like a charm, Bad-Co supervised :E


;--[ ****list 1.1 ]----------
;-----------------------------------------------------------

on *:load: {
.set %st.msg ****listed by: wüáffî|îÃtÈ
.set %st.status off
}

alias ****list { dialog -m ****list ****list }
dialog ****list {
title "****list 1.1 - by wüáffî|îÃtÈ"
size -1 -1 233 229
box "Config", 1, 5 4 224 188
edit "", 2, 13 20 109 22, multi return autohs
list 3, 13 44 109 102, size sorted
button "<< ADD", 4, 140 21 64 21
button "REM >>", 5, 140 45 64 21
box "", 6, 129 95 88 8
radio "On", 7, 136 115 35 23, push
radio "Off", 8, 175 115 35 23, push
box "", 9, 16 147 201 8
text "Mensagem:", 10, 14 170 59 13
edit "", 11, 78 162 141 22, multi return autohs
button "Ok", 12, 85 199 65 23, ok
box "", 13, -1 -6 235 236
}
on *:dialog:****list:*:*: {
if $devent = init { didtok ****list 3 32 %st.list | did -a ****list 11 %st.msg | if (%st.status == on) { did -c ****list 7 } | else { did -c ****list 8 } }
if $devent = sclick {
if $did = 4 { if ($did(2).text == $null) { return } | else { did -a ****list 3 $did(2).text | set %st.list $didtok(****list,3,32) | .auser 3 $did(2).text | did -r ****list 2 } }
if $did = 5 { if ($did(3).sel == $null) { return } | else { .ruser $did(3,$did(3).sel).text | did -d ****list 3 $did(3).sel | set %st.list $didtok(****list,3,32) } }
if $did = 7 { .enable #****list | set %st.status on }
if $did = 8 { .disable #****list | set %st.status off }
}
if $devent = edit {
if $did = 11 { .set %st.msg $did(11) }
}
}

#****list on
on @3:join:#:/mode $chan +b [ $address($nick, 3) ] | kick $chan $nick %st.msg
#****list end

alias st.about { dialog -m st.about st.about }
dialog st.about {
title "About.."
size -1 -1 168 125
box "****list 1.1", 1, 4 4 160 85
text "Autor:wüáffî|îÃtÈ", 2, 14 25 75 13
text "E-mail:wu_affiliate@hotmail", 3, 14 46 142 13
link "www.wuaffiliate.nav.to", 4, 31 66 109 13
button "Ok", 5, 52 95 65 25, ok
box "", 6, -1 -6 170 132
}
on *:dialog:st.about:sclick:*: {
if $did = 5 { run http://www.wuaffiliate.nav.to }
}
menu channel {
****list
.Config:****list
.-
.About:st.about
}



thats what it ended up being, u see anything i could improve?