mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2011
Posts: 52
E
eawedat Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Nov 2011
Posts: 52
hey all,

I want to move/set the cursor to the another textbox/editbox when typing 4 or more digits but cursor does not move.

Code:
alias test { dialog -m test test }
dialog test {
  title "test"
  size -1 -1 93 53
  option dbu
  edit "", 1, 22 9 50 10
  edit "", 2, 23 32 50 10
}

on *:dialog:test:edit:1: {
  set %llen $len($did(test,1).text)
  if (%llen>=4)  { did -f test 2 }
}

Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
If (%llen > 4) {

You need the spaces


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Nov 2011
Posts: 52
E
eawedat Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Nov 2011
Posts: 52
thank you Wims smile


Link Copied to Clipboard