fun dialog question. - 10/05/08 03:19 PM
Msn has "Nudge".
Yahoo has "Buzz".
Upon sclick of one of their buttons, the screen gives the illusion of vibrating. I would like to incorporate this into one of my dialogs but i do not know how to go about doing this.
I could move the dialog, back and forth. But, different system speeds make it appear inconsistent. the use of timers is probably the way to go. That is where i get stuck. Not sure how to set it up properly(if at all).
Any help would be greatly appreciated. Below is our starting dialog
It should be a bit of fun if i can get this working. If you can do it, maybe explain where my thinking pattern is off.
Yahoo has "Buzz".
Upon sclick of one of their buttons, the screen gives the illusion of vibrating. I would like to incorporate this into one of my dialogs but i do not know how to go about doing this.
I could move the dialog, back and forth. But, different system speeds make it appear inconsistent. the use of timers is probably the way to go. That is where i get stuck. Not sure how to set it up properly(if at all).
Any help would be greatly appreciated. Below is our starting dialog
Code:
alias test { dialog $iif($dialog(test),-v,-md) test test } menu menubar,channel { .test:{ test } } dialog test { title "Buzz" size -1 -1 110 100 option dbu button "BUZZ", 2, 30 50 50 24, } on *:dialog:test:*:*: { if ( $devent == sclick ) { if ($did == 2) { splay -p $mircdir $+ \sounds\buzz.mp3 } ; my timers are not set nor is the size :( .timer 1 1 dialog -s test -1 -1 115 115 .timer 1 1 dialog -s name -1 -1 110 110 }
It should be a bit of fun if i can get this working. If you can do it, maybe explain where my thinking pattern is off.