Ok, so after browsing around for a while.. I felt ready to try and set up my own script. I loaded up mushclient... connected to the world... created a new trigger...
Put in
BLahh * more blaaahh * blah.
Then went down to Scripts and put in
MyScript
I then went to the scripts, made a blank lua file and put in:
Sub Myscript (name, trig_line, wildcards)
local mobname = wildcards [1]
local experience = wildcards [2]
Say("That was a " .. mobname)
Say("I got " .. experience)
end -- of Myscript
After that I saved it. However.. when I try to test the trigger to see if it all works, I get the following error...
[string "Script file"]:1: '=' expected near 'Myscript'
Any tips?
Put in
BLahh * more blaaahh * blah.
Then went down to Scripts and put in
MyScript
I then went to the scripts, made a blank lua file and put in:
Sub Myscript (name, trig_line, wildcards)
local mobname = wildcards [1]
local experience = wildcards [2]
Say("That was a " .. mobname)
Say("I got " .. experience)
end -- of Myscript
After that I saved it. However.. when I try to test the trigger to see if it all works, I get the following error...
[string "Script file"]:1: '=' expected near 'Myscript'
Any tips?