mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2004
Posts: 1
I
ITC Offline OP
Mostly harmless
OP Offline
Mostly harmless
I
Joined: Jul 2004
Posts: 1
I want to get a code for handling the help-channel on my Server: It should support the following:(like a bot)
(The Channel is set to +m)
The User who joins first should get a notice like a greet, then he have to answer 3-5 Questions( like:Do you read the FAQ on our Webside ...) in a seperat privat window.
If the User answers the questions correctly the script should voice the user for a specified time (3 Minutes).
I would be grateful if somebody could post me a code for this.
Thanks alot!

Last edited by ITC; 17/10/04 12:23 AM.
Joined: Dec 2002
Posts: 7
D
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
D
Joined: Dec 2002
Posts: 7
you could do this any number of ways really...

on *:JOIN:#HelpChannel:{
//msg $nick Questionone
//set %awaitresponse <awaiting this response>
}
on *:TEXT:*:?:{
if (%awaitresponse != $null) {
if ($1- == %awaitreponse) {
//msg $nick Questiontwo
}
}
}

or do it with aliases if you dont want to stack the if's.

Joined: Apr 2003
Posts: 414
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 414
Also in order to escape the "target flood limit" you can use the CPRIVMSG command, but not all networks support that, for seeing if your network support that or not, on connect look at the status messages if that command is there.. You must see somethink like WHOX WALLCHOPS WALLVOICES USERIP CPRIVMSG CNOTICE SILENCE=15 MODES=6 MAXCHANNELS=20 MAXBANS=45

For ussing that command you must have op on the channel where the user join, the syntax is:
CPRIVMSG <nick> <channel> <text>
You can use in mIRC /cprivmsg nick #ChannelwhereYouAre op the message


mIRC Chm Help 6.16.0.3 Full Anchored!

Link Copied to Clipboard