Shoutbox

linking scripts and functions... - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: linking scripts and functions... (/showthread.php?tid=66433)

linking scripts and functions... by genesistr on 09-19-2006 at 12:27 PM

i try to write a script and now i think its better add a new script file to my main script...
exp:
main.js  and asd.js
when i add new .js file.. plus stopped all my script.. i think it couldnt find which it has to work with...
but when i read other scripts i couldnt see any different code or something like that...
First: how can i link this files? and how can i make my script work..?


Other problem...
i try to put that function into same file but this time plus again stopped...

like that...
----------------->>> this part is workin...
function OnEvent....
{
.....
}

function asd(s_count)
{
....
}


if i try to call asd() i cant:(

i need help plz...


RE: linking scripts and functions... by cloudhunter on 09-19-2006 at 01:27 PM

Without more information we can't help you, as we don't have your script. Have you looked at the debugging window?

Cloudy


RE: linking scripts and functions... by matty on 09-19-2006 at 01:37 PM

Post your script files here and we can take a look see where your mistakes are.


RE: linking scripts and functions... by genesistr on 09-19-2006 at 04:18 PM

i solve it...
anyway thx...