mIRC Home    About    Download    Register    News    Help

Print Thread
#208577 24/01/09 03:18 AM
Joined: Nov 2008
Posts: 17
V
VictriX Offline OP
Pikka bird
OP Offline
Pikka bird
V
Joined: Nov 2008
Posts: 17
hi there,
can anyone here make me a lil code about !active.

!active is use to know how many days you're active in the channel and is use to count also the days.
example:

Day 1, (Jan 23 2009)

Code:
<Nick> !active
-Bot- Thank you! This is your first time to participate in our PROMO.
-Bot- You have 14 days left to be active and get your AUTO OP.
-Bot- We required all the person to be active in 15 days for you able to have Auto OP in this channel.



Day 2, (Jan 24 2009)
Code:
<Nick> !active
-Bot- Thank you! You're active since Jan 23, 2009.
-Bot- You have 13 days left to be active and get your AUTO OP.
-Bot- We required all the person to be active in 15 days for you able to have Auto OP in this channel.


and if the person reach the required days which is "15 Days", the person can now get his/her OP.

Day 15 <-- Last Day to get AUTO OP.
Code:
<Nick> !active
-Bot- At last! You can now rejoin to channel to use your OP.
-Bot- Thank you for participating in our PROMO.
-Bot- Enjoy Chatting Nick!.

Code:
* Nick has left #testchannel
* Nick has joined #testchannel
* Bot sets mode: +o Nick


TAKE NOTE: The person can only perform this command ONES.
In other word, people will have to do this command EVERYDAY.

If the person type the !active command twice.
the bot will notice the person something like:

Code:
-Bot- Sorry, You can only perform this command ONES.
-Bot- You can do this command tomorrow.


If the person wants to know how many days they've got.
they will type !ias <-- stands for "Im Active Since"
the purpose of this command is to know how many days they have done.

example:

Nick started typing !active since Jan 23 2009.. And now the day is Jan 30 2009 then Nick type !ias in the channel.
The bot will notice Nick something like:
Code:
-Bot- You are active since Jan 23 2009.


------------------

That's all.. Sorry for the long post,
thats my way to express or tell the detail of my request.

Thank you.
any response will be much appreciated.

Joined: Nov 2008
Posts: 17
V
VictriX Offline OP
Pikka bird
OP Offline
Pikka bird
V
Joined: Nov 2008
Posts: 17
anyone here who wants to grant my request ?

Joined: Jan 2009
Posts: 1
H
Mostly harmless
Offline
Mostly harmless
H
Joined: Jan 2009
Posts: 1
I'll make you a script.., give me a few mins.

Be nice if I could know your channel name...?

Last edited by Helock; 26/01/09 10:05 PM.
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
This was already answered in the Hawkee forums at http://www.hawkee.com/phpBB2/viewtopic.php?p=89426&highlight=active#89426


Link Copied to Clipboard