mIRC Home    About    Download    Register    News    Help

Print Thread
scripting help pls :) #181188 19/07/07 02:35 PM
Joined: Jul 2007
Posts: 9
J
JOCKz Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Jul 2007
Posts: 9
hey guys,

well i need a little help, atm our site is having problems with sign-ups etc and the only way new users can access the site is through manual activation.

I was wondering if someone could code up a script which would PM joining members after about one minute, and not PM anyone that either has op status or voice.

the PM should read something like - need activation, pm username.

And i need help coding msg that will display in the main chan, with !activate and !confirmed as triggers to the messages

!activate = Activating <user> ...
!confirmed = <user> activation complete, please login !!

sorry guys, forogot to say thanks in advance smile

Last edited by JOCKz; 19/07/07 02:35 PM.
Re: scripting help pls :) [Re: JOCKz] #181204 19/07/07 09:43 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
This can be done easily enough, however, most scripting forums frown or refuse to help with scripts like this due to the fact that they can be used in an abusive manner.

Re: scripting help pls :) [Re: JOCKz] #181208 20/07/07 03:12 AM
Joined: Jan 2004
Posts: 1,409
maroon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 1,409
instead of sending private queries, why not just put the messages into the channel's topic?

Re: scripting help pls :) [Re: RusselB] #181211 20/07/07 04:58 AM
Joined: Jul 2007
Posts: 9
J
JOCKz Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Jul 2007
Posts: 9
Originally Posted By: RusselB
This can be done easily enough, however, most scripting forums frown or refuse to help with scripts like this due to the fact that they can be used in an abusive manner.

i was thinking the exact same thing last night, so iv decided to do what maroon suggested ...

Originally Posted By: maroon
instead of sending private queries, why not just put the messages into the channel's topic?

(the topic is updated regulary, but some users are idling in the chan waiting for help)

but in a diffrent manner, a script that would post a msg in the main chan, after i type a cmd like !assist ? and the msg should read, "anyone need help ?"

and this too pls
Quote:
And i need help coding msg that will display in the main chan, with !activate and !confirmed as triggers to the messages

!activate = Activating <user> ...
!confirmed = <user> activation complete, please login !!

Re: scripting help pls :) [Re: JOCKz] #181212 20/07/07 05:16 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
We still need more details regarding just what is supposed to happen when the !activate and !confirmed commands are used.
ie: Who can use use them, what kind of information is checked to see if they are confirmed or not.

The more details you can give when wanting a script (although technically you should try to write the script yourself first, then show us what you have and we can try to repair/improve it).

Re: scripting help pls :) [Re: RusselB] #181214 20/07/07 07:06 AM
Joined: Jul 2007
Posts: 9
J
JOCKz Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Jul 2007
Posts: 9
sorry about that, the script is use by me and the cmds shouldnt be accessable by anyone else. I would like to learn to script so please point me were to start. I'v never done any irc scripting but im willing to learn. Googling now smile

please post links you think would be useful, since google isnt always right or outdated guides (thx)

so ..

!assist = msg from me into the chan "need help ?"
!activate = me msg'n in the chan "Activating <user> ..."
!confirmed = msg chan "<user> activation complete, please login !!"

Re: scripting help pls :) [Re: JOCKz] #181280 20/07/07 10:18 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Regarding learning how to script, the scripter's bible is also known as the help file.

Additionally there are little scripts (also known as snippets) available on many sites such as Hawkee or mIRC Scripts.org

Re: scripting help pls :) [Re: RusselB] #181465 24/07/07 05:52 AM
Joined: Jul 2007
Posts: 9
J
JOCKz Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Jul 2007
Posts: 9
RusselB for all the help. I havent been able to access the pc due to heavy work loads, so i am sorry for the late reply.

Would it be possible for someone to send me the help file via a web host ? Im looking through the snippet sites RusselB posted while i have the time of day. I will post back as soon as iv attempted and see how i can improve with the advice given smile

Thank you all

Re: scripting help pls :) [Re: JOCKz] #181466 24/07/07 06:02 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
The mIRC help file is included in the mIRC installation file.

If you don't have that file, then you can download it from here

To my knowledge, the official help file isn't available separately.

Re: scripting help pls :) [Re: JOCKz] #181468 24/07/07 06:51 AM
Joined: Jan 2004
Posts: 509
L
LostShadow Offline
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
Maybe I'll tell you a bit about English netiquette.

Topic: scripting help pls smile

First off, it's "please," not "pls." Putting a smiling emoticon means you are happy you request help which is actually irrelevant (but also subjective).

Here's a couple of examples of scripts you can base on.

on *:text:hi:#:/msg $chan Hi $nick
on *:text:help*:#:/msg $chan Someone needs help..
on *:text:pm me:#:/msg $nick I pm'd you...
on @*:text:bad word:#:/kick $chan $nick You said bad word..
on *:text:kick him*:#: if ($nick isreg $chan) { msg $chan Sorry, only ops can request kicks. }

Now go ahead and make your own code based off the above code and then paste your code if you need help.

Re: scripting help pls :) [Re: LostShadow] #181491 24/07/07 05:35 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Quote:

First off, it's "please," not "pls." Putting a smiling emoticon means you are happy you request help which is actually irrelevant (but also subjective).


How is any of this relevant?

Pls is an abbreviation if I want to create a thread "please help with this lol, it's a mess"

Would I put "please help with this laugh out loud, it's a mess?" You're correct, of course I wouldn't.

Re: scripting help pls :) [Re: SladeKraven] #181502 24/07/07 08:33 PM
Joined: Jan 2004
Posts: 509
L
LostShadow Offline
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
Originally Posted By: SladeKraven
Quote:

First off, it's "please," not "pls." Putting a smiling emoticon means you are happy you request help which is actually irrelevant (but also subjective).


How is any of this relevant?


False question - it isn't.

Originally Posted By: SladeKraven
Pls is an abbreviation if I want to create a thread "please help with this lol, it's a mess"

Would I put "please help with this laugh out loud, it's a mess?" You're correct, of course I wouldn't.


scripting help pls smile --> Scripting help please.

Re: scripting help pls :) [Re: LostShadow] #181505 24/07/07 08:40 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
hu carz? as lng as its understndble its not dat imprtant

Re: scripting help pls :) [Re: LostShadow] #181508 24/07/07 08:57 PM
Joined: Dec 2002
Posts: 2,021
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,021
i uredontosd waht he mnaet smile