mIRC Homepage
Posted By: Chibi Auto-Voicinng when !voice - 13/08/04 05:38 PM
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
Posted By: Zyzzyx26 Re: Auto-Voicinng when !voice - 13/08/04 05:43 PM
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
Posted By: Chibi Re: Auto-Voicinng when !voice - 13/08/04 05:52 PM
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*
Posted By: FiberOPtics Re: Auto-Voicinng when !voice - 13/08/04 06:11 PM
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
Posted By: Chibi Re: Auto-Voicinng when !voice - 13/08/04 06:17 PM
She ^.~ grin
Posted By: FiberOPtics Re: Auto-Voicinng when !voice - 13/08/04 06:49 PM
My apologies grin
Posted By: whatsthedillio Re: Auto-Voicinng when !voice - 13/08/04 07:49 PM

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

Posted By: Zyzzyx26 Re: Auto-Voicinng when !voice - 13/08/04 11:11 PM
Ohhh.. i get it now smile ty
Posted By: Chibi Re: Auto-Voicinng when !voice - 14/08/04 01:37 AM
thank you so much whatsthedilio ^^ *chu* grin
© mIRC Discussion Forums