Quote:
Originally Posted by Jeffyy
Any idea why this wont change nick?
|
First I'll point you to Skyld's code formatting thread:
http://forums.graalonline.com/forums...ad.php?t=61805
Making your text more readable will help you to see script problems in the long run and others will be able to give you help more easily.
You cannot have a function within a function, as you have both onTimeout and the action function for the button being instigated inside onCreated, ensure that one function is closed before you start the next.
You may be ill-advised trying to do this with GUI if you don't have a lot of scripting experience because as Chompy mentioned, unless you posted a semi-complete script, the button part is missing. Also you do not need the timeout for what you are trying to achieve.
If you're determined doing this with GUI then Twinny's site is good for GUI basics:
http://resource.nukedstudios.org/ind...?page=quickgui