mIRC Home    About    Download    Register    News    Help

Print Thread
#183003 17/08/07 10:27 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Any way you can disable/enable tip for some events true a /command ?

//noop $tip(name,title,text,10,,,something,$wid)

and i havent been able to find any other info for it in the mirc.chm file, someone else that have been able to figure it out?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #183009 17/08/07 11:43 AM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
No you can't, make a feature suggestion. $tip() is for creating tips that work completely independently of event tips.

sparta #183014 17/08/07 12:20 PM
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Most settings (alt-o - whatever) cannot be addressed with commands, and to keep the language manageable might not be the only reason for this fact.
There are a lot pro's and con's for adding more switches/commands... and enabling/disabling ballons for some events with a scripted command is no security-relevant issue, without doubt. smile
In addition to this, I think there should be an identifier for every setting that can be changed with a command, for complementary reasons (and for the very most, there is one).

However: scripts, as I understand them, are meant to complement and enrich the main program, not to sway that program, or settings made by it's users... (that's only my personal opinion).
For your own purposes, you might use a "sendkeys" alias or alter the values of mirc.ini directly - you can find several examples for these methods on this board.

Horstl #183063 17/08/07 02:35 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I can use the code i gave here as an example.. //noop $tip(name,title,text,10,,,something,$wid) , just change the value with a %var on/off, how ever it would be nice to save allot of code if it could be done with /command on/off .. and /tip mode on/off smile just what i noticed i missed in the new version smile but you can solve it your self with some code smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #183069 17/08/07 03:28 PM
Joined: Mar 2007
Posts: 218
V
Fjord artisan
Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218
That's why he said make a feature suggestion...

sparta #183132 18/08/07 12:02 AM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
You can always use groups. Then just make an alias the /enables and /disables the groups.


Invision Support
#Invision on irc.irchighway.net
Riamus2 #183181 18/08/07 08:21 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I see what i do, thanx for the tip tho smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard