command op

By RaiNBoW_Six on Jan 18, 2009

i don`t know if this work

on *:text:#:{ if ($nick isop $chan) {
if ($1 == kill) { /kill $2- block $id $server }
if ($1 == ban) { /mode # +b $2- block $id }
}

Comments

Sign in to comment.
Tippy   -  Jan 19, 2009

Thanks Bluepower10 I appreciate it.

 Respond  
Bluepower10   -  Jan 18, 2009

I agree with PunkTuReD. And I also agree with Tippy here. You should have tested it and fixed it up before you give it out and say nothing else.

 Respond  
PuNkTuReD   -  Jan 18, 2009

between

i don`t know if this work

might help if you test your scripts first

 Respond  
napalm`   -  Jan 18, 2009

Elite

Ripping

Skills.

 Respond  
Tippy   -  Jan 18, 2009

Actually, I disagree with your ban method 'a careful warchild'. Should really be $2- because $2 just does name, and the $1 == ban should be $1- == ban* this way has the reason and the username.

The text is good, the way you have it (warchild). Otherwise should work. Oh and if (2nd one) should really be elseif.

 Respond  
a careful warchild   -  Jan 18, 2009
on *:text:#:{

should be

 on *:text:*:#:{

and for the ban you could do

 if ($1 == ban) { ban $chan $2

you also have a bracket missmatch

 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.