| |
|
| kggr001 - Thu May 17, 2012 6:58 am |
|
|
Hi iam new with scripting
I want 2 know how i can get this to work.
on *:TEXT:!revive *:#: {
if ($nick isop $chan) {
/msg $chan $nick , summons the eternal dragon and revive $2
unban # $2
} }
It doesnt unban the person.
How can i get this to work? |
|
|
|
| MoMy - Thu May 17, 2012 8:47 am |
|
|
Maybe because unban is a command chanserv ( Syntax: /msg chanserv unban channel).
In place of unban: mode # -b $2 |
|
|
|
| kggr001 - Thu May 17, 2012 11:51 am |
|
|
| I tried it but still it doesnt unban $2. |
|
|
|
| Lenooox - Thu May 17, 2012 12:11 pm |
|
|
on *:TEXT:!revive *:#: {
if ($nick isop $chan) {
/msg $chan $nick , summons the eternal dragon and revive $2
mode # -b $2
}
}
( MoMy Said ) |
|
|
|
| Jethro - Fri May 18, 2012 10:03 am |
|
|
| Suggestion: |
|
|
|