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