If LCase(Mid(TextSay, 1, 6)) = "/guild" Then If Len(TextSay) > 7 Then TextSay = Mid(TextSay, 7, Len(TextSay) - 6) If trim(TextSay) "" Then If Getvar("Guilds.ini", "Guilds", TextSay) = "" Then Call setplayerguildname(index, TextSay) Call setplayerguildaccess(index, 3) Call putvar("Guilds.ini", "Guilds", TextSay, "owner - " & getplayername(Index)) Call playermsg(index, "Welcome to your new Guild " & TextSay & "!", 15) ElseIf getvar("Guilds.ini", "Guilds", TextSay) "" Then Call playermsg(index, "Current " & getvar("Guilds.ini", "Guilds", TextSay) & "!", 12) 'Script written by kenny, this has no errors and should work fine. It detects if a guild is owned and if not sets guild, else it calls a Msg "Current owner - (playername)". Dont remove this credit. End If End If End If End If if not fix mine.