| Blockland Forums > Modification Help |
| Buttons |
| (1/3) > >> |
| xcruso:
Hey do anyone have a fast code if possible that if you press a button inside a gui you will open a page? |
| Amade:
What do you mean, "open a page"? |
| Placid:
I think he means open a webpage. Try running a trace while clicking a link in chat. |
| wizzlemanizzle:
gotoWebPage(FULL URL including http://); I believe that is the function executed when you click a link in chat. hope this helps. also --- Quote from: Placid on September 11, 2011, 03:27:01 PM ---I think he means open a webpage. Try running a trace while clicking a link in chat. --- End quote --- placid, running a trace really is not a great way to find out how something is running, especially if you have RTB, where it spams the console at a rate of around 10 lines per second. I think google garagegames is a much less painful alternative. EDIT: if you are smart like nexus down there you will turn off RTB before tracing... then find that it still does not always work. |
| xcruso:
--- Quote from: wizzlemanizzle on September 11, 2011, 03:32:12 PM ---gotoWebPage(FULL URL including http://); I believe that is the function executed when you click a link in chat. hope this helps. also placid, running a trace really is not a great way to find out how something is running, especially if you have RTB, where it spams the console at a rate of around 10 lines per second. I think google is a much less painful alternative. --- End quote --- If you use http:// isnt the rest of the text going to be green and not useable then? Edit: i used "" inside it and it worked. Thanks. |
| Navigation |
| Message Index |
| Next page |