Advertisement
glacier_rat

Exie control

Dec 10th, 2012
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. on *:Text:*:#: {
  2. if ($address($nick,2) == %newahost) || ($address($nick,2) == %newhost) {
  3. if ($1 == .add) || ($1 == .del) || ($1 == .list) {
  4. chanserv access $chan $remove($1,.) $2-
  5. }
  6. if ($1 == .add) && ($$3 isnum) {
  7. $iif($3 > 2, mode $chan $iif($3 == 3,+v-hao) $iif($3 == 4,+h-vao) $iif($3 isnum 5-9,+o-ahv) $iif($3 > 9,+oa-hv) $str($2 $+ $chr(32),5))
  8. }
  9. if ($left($1,1) == +) || ($left($1,1) == -) {
  10. var %a $regex($remove($1,-,+),/./g)
  11. $iif($remove($1,-,+) isalpha,mode $chan $eval($1-,2) $str($2 $chr(32),%a))
  12. }
  13. }
  14. }
  15.  
  16. 2nd script use /up
  17.  
  18. alias up {
  19. set %newhost $address(Mr_exie,2)
  20. set %newahost $address([ds]vlad,2)
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement