mIRC Home    About    Download    Register    News    Help

Print Thread
#100235 11/10/04 07:06 AM
Joined: Sep 2004
Posts: 129
W
Wragg Offline OP
Vogon poet
OP Offline
Vogon poet
W
Joined: Sep 2004
Posts: 129
1. is it possible to force $command like $usermode to change its state ?

2. i saw in some scripts that "imaginary" $commands were created, like $something returns some info that is not inside mirc

3. is it possible somehow thru script for mirc to detect user connection speed, like if 128.000 isin something /set %speed IDSL bla bla... hope you understand, but i dont want to use moo.dll
any alternatives ?

#100236 11/10/04 12:35 PM
Joined: Nov 2003
Posts: 257
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Nov 2003
Posts: 257
#2 in aliases.ini put

OR
in remotes put
alias something {
echo hi there wragg
halt
}

something return hi there Wragg!

save the file and in the edit box type //say $something

should return HI there wag!

#3

moo.dll

#100237 11/10/04 04:05 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
#2

You made a small mistake:

Code:
alias something { [color:red]return[/color] hi there wragg }


#3 He said he didn't want to use moo.dll

Original poster: for #3, you can use $com() to do that, I suggest reading a few tutorials and looking up some of the methods on http://msdn.microsoft.com


New username: hixxy
#100238 11/10/04 07:12 PM
Joined: Sep 2004
Posts: 129
W
Wragg Offline OP
Vogon poet
OP Offline
Vogon poet
W
Joined: Sep 2004
Posts: 129
#2 dont work in any way...

alias usermodes { return iLRn }
alias $usermodes { return iLRn }

i dont get any possible reply using //echo $usermodes or //usermodes //$usermodes

#100239 11/10/04 07:39 PM
Joined: Nov 2003
Posts: 257
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Nov 2003
Posts: 257
you must have a custom alias made for echo then. It works fine here, pretty straight forward coding.

Make sure you put the alias usermodes part in REMOTES and not ALIASES section of mirc editor.

Last edited by alkahol1k; 11/10/04 07:48 PM.

Link Copied to Clipboard