RE: i`m new with scripts and i dont no how i use it
welll if it isnt how to open them then how to edit is relativly simple
//function is used to desribe anything that checks what is going on IT IS NOT A IF statement
function OnEvent_ChatWndSendMessage(ChatWnd,Message){
}
what happends goes inbetween the { } so lets say you want it to change every message you said that says "my first script"
to "this script could be useful" you would write
function OnEvent_ChatWndSendMessage(ChatWnd,Message){
if (Message=="my first script"){
Message="this script could be useful"
}
}
//ChatWnd,Message is the too varibles set when the message is sent its best to leave these as they are until you get better with it
//if (Message=="my first script") checks that the message you are about to send reads a string value of my first script
//Message="this script could be useful" this part is the new text to be sent
i hope all that is useful to new people it doesnt show much but it does help get started... trust me i wrote my first script 3 days ago well now 4 lol its nearly midnight
|