mIRC Home    About    Download    Register    News    Help

Print Thread
User List #28047 04/06/03 04:41 AM
Joined: Jun 2003
Posts: 3
R
Rags Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Jun 2003
Posts: 3
I'm looking for a simple user list script. I just wanna be able to do: .adduser or .deluser and .users for listing purposes. That's about all I want, nothign fancy. If you know where I can get a script like this or can help me code one real quick, please let me know. Thank You.

Re: User List #28048 04/06/03 06:33 AM
Joined: Dec 2002
Posts: 774
T
theRat Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
/help access levels


Code:
//if ( khaled isgod ) echo yes | else echo no
Re: User List #28049 04/06/03 06:48 AM
Joined: Jun 2003
Posts: 3
R
Rags Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Jun 2003
Posts: 3
the Search does'nt bring up what I want. Well if anyone can help me with this and has time to help a newb script something he probably should'nt even be scripting, let me know. Drop me an email at Ragnark0@hotmail.com or message me on aim: PorkChopRag

Re: User List #28050 04/06/03 06:52 AM
Joined: Jun 2003
Posts: 3
R
Rags Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Jun 2003
Posts: 3
Search brings up User Lists but not what I want. Also a Shitlist is'nt what i want either.

!adduser Person
!deluser Person
!users listall

that's it...all the search brings up is all this fancy crap that I dont want or need.

Re: User List #28051 04/06/03 08:35 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
on 1:TEXT:!adduser: *:#: {
if ($level($$2) == $null) {
/auser $iif($3 == $null, 10, $3) $$2
/msg $chan User $2 added at level: $iif($3 == $null, 10, $3)
}
else /msg $chan User $2 already exists at level: $level($2)
}

on 1:TEXT:!remuser *:#: {
if ($level($$2) != $null) {
/ruser $$2
/msg $chan User $2 removed.
}
else /msg $chan User $2 is not in the user list.
}

on 1:TEXT:!listusers:#: {
/msg $chan Current user list:
/set -u0 %i 1
while (%i <= $ulist(*, 10, 0)) {
/msg $chan User: $ulist(*, 10, %i) Level: $level($ulist(*, 10, %i))
/inc -u0 %i
}
}


-KingTomato
Re: User List #28052 05/06/03 03:51 AM
Joined: Dec 2002
Posts: 417
O
Othello Offline
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
This is the easyest way to add and delete and clear a user level 10. Copy this to your nicklist
Now any script you set to be triggered at level 10 will be triggered by the nick!user@host


ADD User
..Add $$1 : { .guser 10 $$1 5 }
..-
..Remove $$1 : { .ruser 10 $$1 5 }
..-
..Clear All Auto +V: { .rlevel 10 }




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
Re: User List #28053 05/06/03 03:53 AM
Joined: Dec 2002
Posts: 417
O
Othello Offline
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
grin one too many .


ADD User
.Add $$1 : { .guser 10 $$1 5 }
.-
.Remove $$1 : { .ruser 10 $$1 5 }
.-
.Clear All Auto +V: { .rlevel 10 }




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
Re: User List #28054 05/06/03 04:00 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Quote:

I just wanna be able to do: .adduser or .deluser and .users for listing purposes.

that signifies bot script to be--i.e. they don't want to have to be on the mirc script thats running it.


-KingTomato