Advertisement
intersys

Untitled

Jun 9th, 2012
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.98 KB | None | 0 0
  1. on *:text:!user*:*:{
  2.   if ($2 == add) {
  3.     if ($3 ison %Achan) && ($regex($4,/Admin|Owner/i)) && (!$readini(Users.ini,$5,user)) && ($qauth($3)) {
  4.       if ($3 !ison %Achan) { msg $nick $3 Must to be on the Channel: %AChan }
  5.       elseif (!$regex($4,/Admin|Owner/i)) { msg $nick You must write the level of the user be (Admin/Owner). }
  6.       elseif ($readini(Users.ini,$5,user)) { msg $nick The user $5 is already on the user list. }
  7.       elseif (!$qauth($nick)) { msg $nick The user $5 must to set //mode $me +x. }
  8.       elseif (6 > $len($6)) { msg $nick The user password must to be more then 6 letters. }
  9.     }  
  10.     else {
  11.       writeini -n Users.ini $5 Nick $3
  12.       writeini -n Users.ini $5 Level $4
  13.       writeini -n Users.ini $5 User $5
  14.       writeini -n Users.ini $5 Pass $6
  15.       writeini -n Users.ini $5 Host $qauth($3)
  16.       msg $nick User added successfully! with the details: User: $5 $+ , Password: $6 $+ , $+ Level: $4 $+ , QAccount: $qauth($3) $+ .
  17.     }
  18.   }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement