on *:text:!alist:#:{ /set %nick $nick | /set %chan $chan | /set %alist on | /cs access $chan list | /timer 1 2 /set %alist off } on *:text:!oplist:#:{ /set %nick $nick | /set %chan $chan | /set %alist on | /cs access $chan list | /timer 1 2 /set %alist off | /set %pwner op | /timer 1 2 /unset %pwner } on *:text:!hoplist:#:{ /set %nick $nick | /set %chan $chan | /set %alist on | /cs access $chan list | /timer 1 2 /set %alist off | /set %pwner hop | /timer 1 2 /unset %pwner } on *:text:!voicelist:#:{ /set %nick $nick | /set %chan $chan | /set %alist on | /cs access $chan list | /timer 1 2 /set %alist off | /set %pwner voice | /timer 1 2 /unset %pwner } on *:notice:*:*:{ if ($nick == chanserv) && (%alist == on) { if ($1-2 == Access denied) { /notice %nick I dont have te promission to open the access } if (%pwner == $null) { /set %nick2 $gettok($2-,-1,32) if ($gettok($2-,-2,32) >= 5) { /set %mode op } elseif ($gettok($2-,-2,32) == 4) { /set %mode Hop } elseif ($gettok($2-,-2,32) == 3) { /set %mode Voice } elseif ($gettok($2-,-2,32) <= 2) { /set %mode Regular } if ($1 isnum) { /notice %nick 4 $+ $gettok($2-,-1,32) 7-3 %mode 7-3 $gettok($2-,-2,32) } elseif ($1-2 == End of) { /set %alist off | /unset %pwner } else { halt } } if (%pwner == op) { /set %nick2 $gettok($2-,-1,32) if ($gettok($2-,-2,32) >= 5) { /set %mode op } elseif ($gettok($2-,-2,32) == 4) { halt } elseif ($gettok($2-,-2,32) == 3) { halt } elseif ($gettok($2-,-2,32) <= 2) { halt } if ($1 isnum) { /notice %nick 4 $+ $gettok($2-,-1,32) 7-3 %mode 7-3 $gettok($2-,-2,32) } elseif ($1-2 == End of) { /set %alist off | /unset %pwner } else { halt } } if (%pwner == hop) { /set %nick2 $gettok($2-,-1,32) if ($gettok($2-,-2,32) >= 5) { halt } elseif ($gettok($2-,-2,32) == 4) { /set %mode Hop } elseif ($gettok($2-,-2,32) == 3) { halt } elseif ($gettok($2-,-2,32) <= 2) { halt } if ($1 isnum) { /notice %nick 4 $+ $gettok($2-,-1,32) 7-3 %mode 7-3 $gettok($2-,-2,32) } elseif ($1-2 == End of) { /set %alist off | /unset %pwner } else { halt } } if (%pwner == voice) { /set %nick2 $gettok($2-,-1,32) if ($gettok($2-,-2,32) >= 5) { halt } elseif ($gettok($2-,-2,32) == 4) { halt } elseif ($gettok($2-,-2,32) == 3) { /set %mode Voice } elseif ($gettok($2-,-2,32) <= 2) { halt } if ($1 isnum) { /notice %nick 4 $+ $gettok($2-,-1,32) 7-3 %mode 7-3 $gettok($2-,-2,32) } elseif ($1-2 == End of) { /set %alist off | /unset %pwner } else { halt } } } }