mIRC Home    About    Download    Register    News    Help

Print Thread
#94042 13/08/04 05:38 PM
Joined: Aug 2004
Posts: 4
C
Chibi Offline OP
Self-satisified door
OP Offline
Self-satisified door
C
Joined: Aug 2004
Posts: 4
Hi, I've searched the board, to see if i could find any help with it, and since im not really a scripting person....i was wondering if someoen would help me with a script..i hope its not too complicated..just a little something like..err.. When a user joins a channel, and they type !voice or !voiceme *either of the two* i !list <user> *and not the whole channel..o.o..anyone? ^^ thnx a lot in advance frown

Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
I don't know what you meant by the !list <user> one. What do you want it to do?

Here's the !voice & !voiceme code:
Code:
on @*:TEXT:*:[color:red]#[/color]: if ($1 == !voice) || ($1 == !voiceme) { mode # +v $nick }
You can change the # for a channel name. Eg. #home
Put that code into your remotes (Alt+R)

Hope it helps smile


"All we are saying is give peace a chance" -- John Lennon
Joined: Aug 2004
Posts: 4
C
Chibi Offline OP
Self-satisified door
OP Offline
Self-satisified door
C
Joined: Aug 2004
Posts: 4
oh, sorry..what i meant is this: i want it to list the user, themselves *as opposed to the whole channel !list user v.s. !list* and if they have an fserv running, to voice them..otherwise, dont do anything..well yeah..*kick em with a warning..but i dont really need that now..the kick part anyways..heh*

Last edited by Chibi; 13/08/04 06:00 PM.
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
I think he wants a script that does the following:

User x hosts a file server, and wants to be voiced.
User x types !voice(me)
Chibi's script checks if user x is actually a file server or a faker, by doing !list x
If user x's file server add pops up, chibi's script should voice him.

I'm not 100% sure, but I think that some of those file serving scripts support something like !list <nick> and it will notice the requester with the file trading add.

Greets


Gone.
Joined: Aug 2004
Posts: 4
C
Chibi Offline OP
Self-satisified door
OP Offline
Self-satisified door
C
Joined: Aug 2004
Posts: 4
She ^.~ grin

Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
My apologies grin


Gone.
Joined: Jun 2004
Posts: 291
W
Fjord artisan
Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291

Code:
;this Does The List nick
on *:TEXT:!voiceme*:#channel:{
msg #channel !list $nick } }
;the below voices on notices
on *:NOTICE:*trigg*:?: { if ($nick ison #) &amp;&amp; ($nick isreg #) { /mode # +v $nick } }
on *:NOTICE:*F*Serve*Active*:?: { if ($nick ison #) &amp;&amp; ($nick isreg #) { /mode # +v $nick } }
on *:NOTICE:*File*Server*Online*:?: { if ($nick ison #) &amp;&amp; ($nick isreg #) { /mode # +v $nick } }
on *:NOTICE:*F*ile*S*erver*O*nline*:?: { if ($nick ison #) &amp;&amp; ($nick isreg #) { /mode # +v $nick } }
on *:NOTICE:File*Server*Online*:?: { if ($nick ison #) &amp;&amp; ($nick isreg #) { /mode # +v $nick } }
on *:NOTICE:*XDCC Active*:?: { if ($nick ison #) &amp;&amp; ($nick isreg #) { /mode # +v $nick } }
on *:NOTICE:*TDCC*trigg*send*:?: { if ($nick ison #) &amp;&amp; ($nick isreg #) { /mode # +v $nick } }
on *:NOTICE:*FTP*Serv*:?: { if ($nick ison #) &amp;&amp; ($nick isreg #) { /mode # +v $nick } }
on *:NOTICE:*ftp*online*address*:?: { if ($nick ison #) &amp;&amp; ($nick isreg #) { /mode # +v $nick } }
on *:NOTICE:*ftp*active*address*:?: { if ($nick ison #) &amp;&amp; ($nick isreg #) { /mode # +v $nick } }
;i think this should work ok 
;if u change all the # to your channel


Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Ohhh.. i get it now smile ty


"All we are saying is give peace a chance" -- John Lennon
Joined: Aug 2004
Posts: 4
C
Chibi Offline OP
Self-satisified door
OP Offline
Self-satisified door
C
Joined: Aug 2004
Posts: 4
thank you so much whatsthedilio ^^ *chu* grin


Link Copied to Clipboard