mIRC Home    About    Download    Register    News    Help

Print Thread
#126576 01/08/05 06:27 PM
P
poormillionaire
poormillionaire
P
//var %a = 1, %b = 2 | var %rand $rand(%a,%b)

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

#126577 01/08/05 07:00 PM
Joined: Feb 2004
Posts: 2,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
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:

#126578 02/08/05 08:45 AM
P
poormillionaire
poormillionaire
P
//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.
#126579 02/08/05 09:29 AM
D
dunkelzahn
dunkelzahn
D
What fiberoptics said is that :

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


Link Copied to Clipboard