mIRC Home    About    Download    Register    News    Help

Print Thread
#36815 17/07/03 08:08 AM
Joined: Jul 2003
Posts: 47
C
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Jul 2003
Posts: 47
im not into the whole flodding thing, im just trying to get practices with random things.. i am trying to make a little alias that would repeat a a variable but have the vairiable be a different color each time, but me and my stupid thick head cant think of a way to make it random because the timer will on process the $rand one time frown could you tell me what to /help? thanks


"watch the news today, so you don't have to watch the history channel tomorrow."
#36816 17/07/03 08:20 AM
Joined: Jul 2003
Posts: 47
C
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Jul 2003
Posts: 47
hehe
i figured out the while loop smile i learn somthing new all the time smile


"watch the news today, so you don't have to watch the history channel tomorrow."
#36817 17/07/03 08:25 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Code:
//timer 5 1 echo -a $[color:red]![/color]rand(1,9) 


The ! makes it re-evaluate the $rand everytime the timer triggers.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#36818 17/07/03 08:35 AM
Joined: Jul 2003
Posts: 47
C
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Jul 2003
Posts: 47
aww man, that would have been easier them me leraning the looping thing smile thanks i will remeber that


"watch the news today, so you don't have to watch the history channel tomorrow."
#36819 17/07/03 08:40 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Don't feel too bad - you can't ever dream of writing a decent script without a few while loops


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#36820 17/07/03 11:12 AM
Joined: Jul 2003
Posts: 9
C
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
C
Joined: Jul 2003
Posts: 9
while loops own you...
But I want for loops in mIRC 6.0x/7 cool

#36821 17/07/03 11:17 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
and I'm talking about C++ I assume? While loops have been a part of the mirc scripting language for a number of years now....


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius

Link Copied to Clipboard