mIRC Home    About    Download    Register    News    Help

Print Thread
#70947 10/02/04 02:42 PM
Joined: Oct 2003
Posts: 64
E
Exlax Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Oct 2003
Posts: 64
#mycode on
and here goes my code
#mycode end

And I know you use that so you can /enable mycode and /disable mycode. How do you make it so it STARTS disabled

Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
on *:start: disable #mygroup

?


Code:
//if ( khaled isgod ) echo yes | else echo no
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
isnt it

#mycode off
and here goes my code
#mycode end

Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
That's the same, only the prevuious command makes sure the group starts disabled whenever the program is restarted. Yours only does so the first time the script is installed. If you have it enabled when you quit mIRC, it will be enabled when you start it again too unless you use the on START event as provided.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius

Link Copied to Clipboard