mIRC Home    About    Download    Register    News    Help

Print Thread
#106492 31/12/04 02:00 AM
Joined: Dec 2002
Posts: 21
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Dec 2002
Posts: 21
Could we get $(...) expanded to work with the ON DIALOG event as well? I like to store the dialog name in a local alias as it gets called for several different functions besides just the dialog name (hashtable filename, etc).

#106493 31/12/04 02:49 PM
Joined: Dec 2002
Posts: 230
G
Fjord artisan
Offline
Fjord artisan
G
Joined: Dec 2002
Posts: 230
well you could use

on *:dialog:*:*:*:{
if ($dname == blabla) { ... }
}

#106494 01/01/05 11:05 PM
Joined: Dec 2002
Posts: 21
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Dec 2002
Posts: 21
Yeah, that's what i'm using now. But then the argument comes up that we could do that with ON TEXT as well.

#106495 01/01/05 11:27 PM
Joined: Dec 2002
Posts: 230
G
Fjord artisan
Offline
Fjord artisan
G
Joined: Dec 2002
Posts: 230
Sure, I just tried to come up with a temporary solution smile


Link Copied to Clipboard