Thread: Any idea?
View Single Post
  #3  
Old 01-13-2008, 04:59 PM
Grey Grey is offline
Classic Developer
Grey's Avatar
Join Date: Mar 2007
Location: Wales, UK
Posts: 134
Grey will become famous soon enough
Send a message via AIM to Grey
Quote:
Originally Posted by Jeffyy View Post
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
Reply With Quote