mIRC Home    About    Download    Register    News    Help

Topic Options
#28047 - 04/06/03 05:41 AM User List
Rags Offline
Self-satisified door

Registered: 04/06/03
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.

Top
#28048 - 04/06/03 07:33 AM Re: User List
theRat Offline
Hoopy frood

Registered: 11/12/02
Posts: 774
/help access levels
_________________________
Code:
//if ( khaled isgod ) echo yes | else echo no

Top
#28049 - 04/06/03 07:48 AM Re: User List
Rags Offline
Self-satisified door

Registered: 04/06/03
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

Top
#28050 - 04/06/03 07:52 AM Re: User List
Rags Offline
Self-satisified door

Registered: 04/06/03
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.

Top
#28051 - 04/06/03 09:35 AM Re: User List
KingTomato Offline
Planetary brain

Registered: 04/01/03
Posts: 3012
Loc: New Hampshire, USA
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

Top
#28052 - 05/06/03 04:51 AM Re: User List
Othello Offline
Fjord artisan

Registered: 09/12/02
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....

Top
#28053 - 05/06/03 04:53 AM Re: User List
Othello Offline
Fjord artisan

Registered: 09/12/02
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....

Top
#28054 - 05/06/03 05:00 AM Re: User List
KingTomato Offline
Planetary brain

Registered: 04/01/03
Posts: 3012
Loc: New Hampshire, USA
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

Top