Public paste
Undefined
By: Guest | Date: Jul 26 2009 20:31 | Format: None | Expires: never | Size: 2.73 KB | Hits: 816

  1. on *:join:#caelisto: {
  2.   %host = $address($nick,2)
  3.   %invite = #caelisto.txt
  4.   %check = $read(%invite, w, %host)
  5.   if (%check != $null) && ($nick !ison #caelisto.members) {
  6.     .invite $nick #caelisto.members
  7.     .msg $chan   3[Succes] 14Invite succesvol naar members kanaal! 14 dubbelklik op #caelisto.members om het kanaal te joinen 
  8.     !
  9.  
  10.   }
  11.   if ($nick ison #caelisto.members) {
  12.     .msg $chan   14 $nick , Je bent al op members kanaal!
  13.   }
  14. }
  15.  
  16. on *:text:!invite*:#caelisto: {
  17.   %host = $address($nick,2)
  18.   %invite = #caelisto.txt
  19.   %check = $read(%invite, w, %host)
  20.   if (%check != $null) && ($nick !ison #caelisto.members) {
  21.     .invite $nick #caelisto.members
  22.     .msg $chan   3[Succes] 14Invite succesvol naar members kanaal! 14 dubbelklik op #caelisto.members om het kanaal te joinen!
  23.   }
  24.   if (%check == $null) {
  25.     .msg $chan   4[ERROR] 14Helaas, jij kan deze optie niet gebruiken.
  26.   }
  27.   if ($nick ison #caelisto.members) {
  28.     .msg $chan   14 $nick , Je bent al op members kanaal!
  29.   }
  30. }
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37. on *:text:!add*:#caelisto: {
  38.   %host = $address($2,2)
  39.   %invite = #caelisto.txt
  40.   %check = $read(%invite, w, %host)
  41.   if (%check == $null) && (*!*@ !isin $2) && ($nick isop $chan) && ($2 ison $chan) {
  42.     .write #caelisto.txt %host
  43.     .notice $2 Je staat nu in het systeem, Typ !invite om in het kanaal te komen
  44.     .msg $chan   3[Succes]14 $2 is toegevoegd! | /msg $chan 14Typ nu:4 !invite
  45.   }
  46.   if (%check2 == $null) && (*!*@ isin $2) && ($nick isop $chan) {
  47.     write #caelisto.txt $2
  48.     .msg $chan   3 $2  7staan nu in de gebruikerslijst!
  49.   }
  50.   if ($nick !isop $chan) {
  51.     .msg $chan   3Je bent  3 geen   7@ Operator!
  52.   }
  53.   elseif (%check != $null) {
  54.     .msg $chan   3 $2  7 Staat  al in de gebruikerslijst!
  55.   }
  56.   elseif ($2 !ison $chan) {
  57.     .msg $chan   3 $2  7Is  niet  in dit kanaal!
  58.   }
  59. }
  60.  
  61.  
  62.  
  63.  
  64. on *:text:!remove*:#caelisto,#caelisto.members: {
  65.   %host = $address($2,2)
  66.   %invite = #caelisto.txt
  67.   %check = $read(%invite, w, %host)
  68.   if (%check != $null) && (*!*@ !isin $2) && ($nick isop $chan) && ($2 ison $chan) {
  69.     write -ds $+ %host #caelisto.txt
  70.     .msg $chan   3 $2  7Is nu  verwijderd  uit de gebruikerslijst!
  71.   }
  72.   if ($2 ison #caelisto.members) {
  73.     .kick #caelisto.members $2   8Je toegang hier is  6 verwijderd !
  74.   }
  75.   if (%check == $null) && (*!*@ isin $2) && ($nick isop $chan) {
  76.     .write -ds $+ $2 #caelisto.txt
  77.     .msg $chan   14$2 verwijderd!!
  78.   }
  79.   elseif ($nick !isop $chan) {
  80.     .msg $chan   3Je bent  7 geen   3@ Operator!
  81.   }
  82.   elseif (%check == $null) {
  83.     .msg $chan   3 $2  7Staat  niet  in de gebruikerslijst!
  84.   }
  85.   elseif ($2 !ison $chan) {
  86.     .msg $chan   3 $2  7Is  niet  in dit kanaal!
  87.   }
  88. }