mIRC Home    About    Download    Register    News    Help

Print Thread
#126576 01/08/05 06:27 PM
Joined: Jul 2005
Posts: 51
P
Babel fish
OP Offline
Babel fish
P
Joined: Jul 2005
Posts: 51
//var %a = 1, %b = 2 | var %rand $rand(%a,%b)

there's a bug here, hope you will fix it smile


chadchoud @ DALnet
#126577 01/08/05 07:00 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Lol,

that looks awefully familiar *wink wink*

I was showing Unimatrix that not using the = in the var command, can give errors (known behaviour), and that is one of them. In other words not a bug, since the /var command is used incorrectly. Use it as it is intended (with the = before the value) and it will work just fine.

Tsssk chadchoud :tongue:


Gone.
#126578 02/08/05 08:45 AM
Joined: Jul 2005
Posts: 51
P
Babel fish
OP Offline
Babel fish
P
Joined: Jul 2005
Posts: 51
//var %a 1 | var %b 2 | var %rand $rand(%a,%b)
will give the same problem: * Invalid format: $rand

the problem will persist if you use or not the =

and if you var -s %a will be 1 and %b 2
so it may be a $rand bug

Last edited by poormillionaire; 02/08/05 08:54 AM.

chadchoud @ DALnet
#126579 02/08/05 09:29 AM
Joined: Dec 2002
Posts: 83
D
Babel fish
Offline
Babel fish
D
Joined: Dec 2002
Posts: 83
What fiberoptics said is that :

//var %a = 1, %b = 2 | var %rand = $rand(%a,%b)


Link Copied to Clipboard