My appoligies i forgot ticks was measured in ms

Just for future references when you want to go between your code to do something, know what event is triggered when you want it to calculate something then when it ends.

This is how I determined what you wanted, if you follow the code carefully if you request a single click from your stateclick it goes to the WHILE loop in your alias, (carefull do not insert echo in while loop) else it will keep triggering the echo till finish

And what usually helps is to echo parts of your script back to you when testing to know what does what and what happens when you do stuff. like small example [12 being a button in dialog]

On *:Dialog:whatever:sclick:12:{
if (!$server) { return }
else { echo -a I am connected to $+(Server:,$server) }
}

now lets say this $null val for server was something in the script I wanted to test that make sure it works but ways probably this is a bad example but you get the point instead of using return I would put a echo -a NO SERVER CONNECT MADE so this way i can test if that part of the code is working if so then im good... else I work on it


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }