mIRC Home    About    Download    Register    News    Help

Print Thread
#20057 19/04/03 10:18 AM
Joined: Apr 2003
Posts: 14
J
Pikka bird
OP Offline
Pikka bird
J
Joined: Apr 2003
Posts: 14
Hey Hey wink

You know before you enter your "registration" information in mIRC it has a "about" box where it scrolls your name or its unregisted.

Is anyone able to tell me the scripting codes for that ?

I can't seem to figure out how to make a text scroll in my dialog!

Best Regards,
Jeppe Lykke, Denmark




Best Regards
Jeppe Lykke, Denmark
#20058 19/04/03 12:02 PM
Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
Look on mircscripts.org in the snippets section.

#20059 19/04/03 02:50 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
I had a few moments while drinking my morning coffee so I thought I would make an effort on this...
Code:
 
alias sct dialog -m scrolltext scrolltext
dialog scrolltext {
  title "Scrolling Text"
  size -1 -1 60 30
  option dbu
  button "", 999, 0 0 0 0, cancel
  text "" , 1, 20 10 20 10
  box "", 800, 10 2 40 20
}
on *:dialog:scrolltext:init:*:{
  set %sct1 1
  set %sct2 9
  runsct
}
on *:dialog:scrolltext:sclick:999:{ .timersct off }
alias sctsetup {
  set %scrolltext *********This-is-Scrolling-Text-********* $+ $asctime(dddd*mmmm*d*yyyy) $+ *********
  inc %sct1
  inc %sct2
  if (%sct2 == $len(%scrolltext)) { 
    set %sct1 1 
    set %sct2 9 
  }
  did -ra scrolltext 1 $mid(%scrolltext,%sct1 - %sct2,10)
  runsct
}
alias runsct { .timersct -m 1 100 sctsetup }

 


Maybe you can make use of that, possibly someone has a better way...

#20060 19/04/03 03:01 PM
Joined: Apr 2003
Posts: 14
J
Pikka bird
OP Offline
Pikka bird
J
Joined: Apr 2003
Posts: 14
Thanx Guys grin




Best Regards
Jeppe Lykke, Denmark

Link Copied to Clipboard