Advertisement
Azelphur

Untitled

Oct 27th, 2011
439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. /run if not IsMounted() then local g,f,s,v={13},{14},{1},{1} local t=(IsUsableSpell(40192)) and f or (strsub(GetMapInfo(),0,7)=="Vashjir" and IsSwimming()) and v or (IsSwimming()) and s or g CallCompanion("MOUNT",t[random(#t)]) end
  2. /dismount
  3.  
  4.  
  5.  
  6. Date: 2011-10-27 17:12:01
  7. ID: 1
  8. Error occured in: Global
  9. Count: 1
  10. Message: [string "if not IsMounted() then local g,f,s,v={13},..."] line 1:
  11. bad argument #1 to 'strsub' (string expected, got nil)
  12. Debug:
  13. (tail call): ?
  14. [C]: ?
  15. [C]: strsub()
  16. [string "if not IsMounted() then local g,f,s,v={13},..."]:1: in main chunk
  17. [C]: RunScript()
  18. ..\FrameXML\ChatFrame.lua:2057: value()
  19. ..\FrameXML\ChatFrame.lua:4248:
  20. ..\FrameXML\ChatFrame.lua:4175
  21. [C]: ?
  22. [C]: ChatEdit_ParseText()
  23. ..\FrameXML\ChatFrame.lua:3838: ChatEdit_SendText()
  24. ..\FrameXML\ChatFrame.lua:2571:
  25. ..\FrameXML\ChatFrame.lua:2564
  26. [C]: RunMacroText()
  27. ..\FrameXML\SecureTemplates.lua:379: handler()
  28. ..\FrameXML\SecureTemplates.lua:543:
  29. ..\FrameXML\SecureTemplates.lua:491
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement