PDA

View Full Version : Need help with this lua file



Acesan
05-27-2016, 01:17 AM
Sorry about this (don't even know if this is the right place to post this). I'm not sure whats wrong with this lua file (attachment) but I keep getting this error;

Script: In Service Of Yalahar By N & E.lua
Line #: 1
Chunk: ...Users\gabri\DOCUME~1\XenoBot\Scripts\\In Service Of Yalahar By N & E.lua
Error: unexpected symbol near 'ï'
If anyone could help it'd be great, sorry for any inconvenience.

Trykon
05-27-2016, 08:44 AM
As I know. One solution to that is to create new lua file, copy everything from this one And paste it to the new one. Save it and it ahould work... (hope so)

callumbagshaw
06-06-2016, 11:57 AM
try block commenting the comments out.
Lua is temperamental like this in my experience.


--[
-- IN SERVICE OF YALAHAR QUEST
-- Crowbar, Helmet of the deep, Dwarven Pickaxe, Animal Cure, 20 GFB!
-- START IN PORT HOPE!
-- MISSION 1
-- MISSION 2
-- MISSION 3
-- MISSION 4
-- MISSION 5
-- MISSION 6
-- MISSION 7
-- MISSION 8
-- MISSION 9
--]

Merre
06-06-2016, 12:57 PM
Open it with notepad click save as, look next tot he save button and change encoding to UTF-8