[Lua] lua script errors - HELP menu

User Tag List

Results 1 to 3 of 3
  1. #1
    singoe's Avatar Active Member
    Reputation
    23
    Join Date
    May 2008
    Posts
    150
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Lua] lua script errors - HELP

    I made a script for my custom teleporter, but I get an error when I try starting my server. It says "scripts\custom scripts\allinoneNPC.lua:9: '>' expected near '1' " It says the error is in line 9 but I cant find it.

    Heres the script
    http://pastebin.com/cyuPKhh1

    If anyone could figure out what Im missing it would be a lot of help.
    Last edited by singoe; 04-28-2010 at 02:41 PM.

    [Lua] lua script errors - HELP
  2. #2
    Dynashock's Avatar Contributor

    Reputation
    176
    Join Date
    Nov 2007
    Posts
    203
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're missing a , on line 9.

    Code:
    Unit:GossipMenuAddItem(2, "Alliance Shopping Mall" 1, 0)
    should be

    Code:
    Unit:GossipMenuAddItem(2, "Alliance Shopping Mall", 1, 0)
    Actually, you're missing it on most lines.
    Ignorance is bliss.

  3. #3
    singoe's Avatar Active Member
    Reputation
    23
    Join Date
    May 2008
    Posts
    150
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Fixed the commas. But I get a different error now. In line 23. '<eof>' expected near 'end'. Can anyone see the problem? Reuploaded to pastebin btw.

    http://pastebin.com/cyuPKhh1
    Last edited by singoe; 04-28-2010 at 02:49 PM.

Similar Threads

  1. [Question] Need help with Lua Script error
    By Rempage in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 11-12-2016, 08:06 PM
  2. Boss Lua Script Need help
    By David2222 in forum World of Warcraft General
    Replies: 0
    Last Post: 01-25-2009, 04:22 PM
  3. LUA script error :(
    By lilbdiablo12 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 10-29-2008, 07:45 PM
  4. LUA Script Error, Help would be appreciated!
    By pachuco55 in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 06-20-2008, 06:03 PM
  5. [Help me] Lua script error? please help.
    By Szharz in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 03-22-2008, 12:20 PM
All times are GMT -5. The time now is 10:57 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search