ULX

Poll

Was this addon useful to you?

Yes it was, thank you :)
20 (95.2%)
No, try better next time! :(
1 (4.8%)

Total Members Voted: 21

Author Topic: Last Joined Check [1.05v]  (Read 25727 times)

0 Members and 1 Guest are viewing this topic.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 857
  • Karma: 414
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Last Joined Check [1.04v]
« Reply #30 on: August 09, 2018, 12:29:30 PM »
It doesn't work, even the command itself... It's weird, since i have the same code here without errors, also checking those lines i didn't find anything uncommon...

Code: [Select]
[ERROR] lua/autorun/sv_lastjoin.lua:221: 'end' expected (to close 'function' at line 155) near 'elseif'
  1. unknown - lua/autorun/sv_lastjoin.lua:0

[ERROR] lua/autorun/sv_lastjoin.lua:176: 'end' expected (to close 'function' at line 155) near 'elseif'
  1. unknown - lua/autorun/sv_lastjoin.lua:0

Yeah, I don't mess around with Garry's Mod anymore, and I don't have a proper code editor anymore. I opened it on my old laptop that I used to use for coding and found the issue, I copied and pasted in the wrong area, and forgot about an end statement.

 This will work now.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 857
  • Karma: 414
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Last Joined Check [1.05v]
« Reply #31 on: August 09, 2018, 12:33:48 PM »
Code: [Select]
Updated to 1.05
-Fixed !ocheckjoin STEAMID
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Shu | Pexie

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
  • Polyglot guy here!
Re: Last Joined Check [1.05v]
« Reply #32 on: August 09, 2018, 03:20:33 PM »
Code: [Select]
Updated to 1.05
-Fixed !ocheckjoin STEAMID

Everything is working now, but since you are here.... You can tell me about the string called "tostring(timesjoined)" means. The first time i saw this, i was thinking it had something related of how many seconds you were in the server (after authentication), but probably i'm wrong about it...
« Last Edit: August 09, 2018, 03:25:40 PM by Shu | Pexie »


Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 857
  • Karma: 414
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Last Joined Check [1.05v]
« Reply #33 on: August 09, 2018, 06:25:35 PM »
Everything is working now, but since you are here.... You can tell me about the string called "tostring(timesjoined)" means. The first time i saw this, i was thinking it had something related of how many seconds you were in the server (after authentication), but probably i'm wrong about it...

pretty sure it just lets the user or other people know how many times they joined the server. If I recall it's a number in parentheses (x)
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Shu | Pexie

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
  • Polyglot guy here!
Re: Last Joined Check [1.05v]
« Reply #34 on: August 09, 2018, 10:23:18 PM »
pretty sure it just lets the user or other people know how many times they joined the server. If I recall it's a number in parentheses (x)

Yeah now that you said, it makes sense... Anyway thanks for the help and the update after years later  ;)