Eclipse - Free 2D Mmorpg Maker
September 02, 2010, 10:18:36 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Shop Arcade chat Login Register  
 
 
   
 
collapse

* No Spam Or Websites

Refresh History
  • Ertzel: So... Anyone with basic/none/limited photoshop or even paint skills want to make some money converting sprites for me?
    Today at 10:07:35 PM
  • Gamma™: weaver why are you oflfine on H&H? :S
    Today at 10:04:26 PM
  • Ertzel: Ya, only one try per knife, my one try failed :(
    Today at 10:00:17 PM
  • LegendWeaver: is it one use?
    Today at 09:43:15 PM
  • Ertzel: Wish I didnt spend my 1k+ credits to buy the stupid knife that failed at stealing Robins credits >.<
    Today at 09:42:42 PM
  • Wraith: ) Kreator!
    Today at 09:06:52 PM
  • Wraith: yes! you were! (in red text
    Today at 09:06:46 PM
  • ToshiroHayate: Kreator!
    Today at 08:25:02 PM
  • Kreator: o_0 Was I supposed to Wraith?
    Today at 08:16:02 PM
  • [Pie] ICT: Don't worry.. I commented.
    Today at 07:55:08 PM
  • Wraith: Ay, kreator, wtf is up with you not posting anything about my new cliffs??
    Today at 07:50:36 PM

* Recent Topics

[EO] Attaching Problem. by Ertzel
[Today at 10:11:57 PM]


Project Vertigo [2d Tile-based Side-Scrolling Engine] by Miguu
[Today at 10:03:22 PM]


Zacaras Empire (Hiring) by Ertzel
[Today at 08:43:54 PM]


custom cliff tiles by ToshiroHayate
[Today at 08:29:15 PM]


.: RPG Kingdom :. by LegendWeaver
[Today at 08:25:20 PM]


What do you think? by [Pie] ICT
[Today at 07:54:54 PM]


[Show Off] Aztec Stuff by [Pie] ICT
[Today at 07:50:07 PM]


So I herd you liek mudkipz by Kreator
[Today at 07:36:52 PM]


Haven and Hearth: Epic Screenshot Thread by Tompwnage™
[Today at 07:14:21 PM]


The Lonliest Star [RP] by DDunit
[Today at 07:09:46 PM]


* Who's Online


Site Author : Topic: Guild MOTD  (Read 4822 times)
0 Members and 1 Guest are viewing this topic.
August 02, 2006, 02:04:47 PM
Active Member
***
User No : 1214
Posts: 199
  • 0 credits
  • View Inventory
  • Send Money To Topher
  • Location : USA
    • View Profile
    Guild MOTD (#0)
    ****************
    *Guild MOTD Script.*
    ****************
    -Scripted By Topher892
    -Debugged by Emblem
    -This Script allows guild owners (with Guild Access 4) to set a MOTD that their Guild Members will see when they log on.

    INSTALLATION
    STEP 1
    Add This to your Sub JoinGame(index):

    Code: [Select]

    Dim GMOTD
    GMOTD = Trim(GetVar("guilds.ini", GetPlayerGuild(index), "Motd"))


    And then this to the bottom of the sub JoinGame(index)[/color]

    Code: [Select]

    If GetPlayerGuild(index) = "" Then
    Call PlayerMsg(index, "You are not in a guild!", 9)
    Else
    Call PlayerMsg(index, GetPlayerGuild(index) & ": " & GMOTD, 9)
    End If


    STEP 2
    Add this to your commands sub, under the /warpto command:


    Code: [Select]
       If LCase(Mid(TextSay, 1, 6)) = "/gmotd" Then
            If Len(TextSay) > 7 Then
                TextSay = Mid(TextSay, 7, Len(TextSay) - 6)          
                    If GetPlayerGuildAccess(index) < 4 Then
                       Call PlayerMsg(index, "You must be the guild's owner to change the MOTD!", 12)
       Exit Sub
                    ElseIf GetPlayerGuildAccess(index) = 4 Then
                       Call PutVar("guilds.ini", GetPlayerGuild(index), "Motd", Trim(TextSay))
                       Call PlayerMsg(index, GetPlayerGuild(index) & " MOTD changed to: " & TextSay & ".", 11)
                    End if  
                End If
                Exit Sub
            End If


    USING THIS SCRIPT
    The owner of the guild (guild member with level 4 access) can use the command "/gmotd [insert desired Guild MOTD here]" to set their guild's message. They can change the message whenever they like as long as they have access 4 in the guild.

    This script is tested and does work! Thanks,
    Topher & Emblem
    Logged

    August 02, 2006, 02:25:31 PM
    Veteran
    Advanced Member
    *
    User No : 137
    Posts: 671
  • 0 credits
  • View Inventory
  • Send Money To Rogue
  • Location : Westgate
    The little things.... there's nothing bigger
    • View Profile
    • WWW
    Guild MOTD (#1)
    nice
    Logged

    August 02, 2006, 03:00:29 PM
    ♥ Cake ♥
    Global Moderator
    Advanced Eclipser
    *
    User No : 251
    Posts: 1735
  • 72 credits
  • View Inventory
  • Send Money To Tylian!
    • View Profile
    Guild MOTD (#2)
    I did help him debug this but, most(if not 100%) of the credit goes to Topher! Hes an awesome scripter!
    Logged

    Real men use Eclipse Origins v1.1.0 to create their games!
    August 02, 2006, 07:51:39 PM
    Active Member
    ***
    User No : 1214
    Posts: 199
  • 0 credits
  • View Inventory
  • Send Money To Topher
  • Location : USA
    • View Profile
    Guild MOTD (#3)
    :D  Thanks!  :D
    Logged

    August 02, 2006, 08:21:47 PM
    Haxxor
    Guest
    Guild MOTD (#4)
    uhh...GMOTD is not set equal to anything...

    Code: [Select]
    Dim GMOTD
    GMOTD = Trim(GetVar("guilds.ini", GetPlayerGuild(index), "Motd"))
    Logged
    August 03, 2006, 04:53:32 AM
    Active Member
    ***
    User No : 1214
    Posts: 199
  • 0 credits
  • View Inventory
  • Send Money To Topher
  • Location : USA
    • View Profile
    Guild MOTD (#5)
    EDIT: Ok I see what you mean here....yeah sorry about that  :oops:
    Logged

    August 03, 2006, 02:08:48 PM
    Active Member
    ***
    User No : 1214
    Posts: 199
  • 0 credits
  • View Inventory
  • Send Money To Topher
  • Location : USA
    • View Profile
    Guild MOTD (#6)
    Fixed  :D
    Logged

    August 27, 2007, 10:27:02 AM
    Newb
    *
    User No : 3963
    Posts: 15
  • 0 credits
  • View Inventory
  • Send Money To XManiaK
    • View Profile
    I can't do the Step 2 I dont know where the commands sub are and I dont find where it says /warpto

     


    STEP 2
    Add this to your commands sub, under the /warpto command:

    ok I found it! and the script works!! very cool gratz for the script! =D
    Logged
    August 27, 2007, 01:18:11 PM
    Eclipse Gfx/scripter
    Advanced Eclipser
    *****
    User No : 2911
    Posts: 1211
  • 8 credits
  • View Inventory
  • Send Money To kenny
  • Location : In the shadows stalking the forums at any given moment...
    ~Good Scripter~
    • View Profile
    • WWW
    Not bad at all, but all you did was modify a script and a variable :P
    Logged

    <
    Im more of a forum lurker than a talker... I may help if I think its needed. Currently working on Scripts & Custom GFX for game.
    Dont know how to get your game online? try this www.hamachi.cc and install the download, make a network, and distribute client with hamachi ip and and a notepad with your hamachi network/pass... Happy gaming! Also may be able to help with PF, those who can get onto their router already may contact me... others may not because I cant help you.

    My computer geek score is greater than 100% of all people in the world! How do you compare? Click here to find out!
    May 10, 2008, 09:43:25 AM
    Active Member
    ***
    User No : 6614
    Posts: 358
  • 0 credits
  • View Inventory
  • Send Money To Riley [Firon3]
    • View Profile
    [Edit]

    My bad, I misread the script... No need to reply this post...
    « Last Edit: May 11, 2008, 02:10:08 PM by Firon3 » Logged

    Sad-Scripter / Boared Mapper / Weird Graphist / Not that good Music Maker
    February 03, 2009, 06:29:20 PM
    Newb
    *
    User No : 10697
    Posts: 3
  • 0 credits
  • View Inventory
  • Send Money To Klodivil
    • View Profile
    Oh!!

    Perfect GuildMOTD??!?!?!!?

    Perfect!

    Thanks!

    --------------------

    FEAR O.O

    FEAR O.O

    FEAR O.O

    FEAR O.O

    FEAR O.O

    FEAR O.O

    Logged
    November 29, 2009, 11:23:09 AM
    Active Member
    ***
    User No : 10489
    Posts: 186
  • 8 credits
  • View Inventory
  • Send Money To RavenStylez
    • View Profile
    • WWW
    PROBLEM HERE:
    I have inserted it in my Main.txt and did everything right (I think), but if I press
    /gmotd bla bla bla.
    It says the command does not exist...
    Logged


    November 29, 2009, 11:25:16 AM
    Global Moderator
    Teh Uberleet
    *
    User No : 13370
    Posts: 3669
  • 432 credits
  • View Inventory
  • Send Money To Soul
    • View Profile
    Make sure Scripting is turned on (Server > Control Panel > Scripting > Turn On) and then type /reload.
    Logged
    November 30, 2009, 12:24:35 PM
    Active Member
    ***
    User No : 10489
    Posts: 186
  • 8 credits
  • View Inventory
  • Send Money To RavenStylez
    • View Profile
    • WWW
    I have a lot of other scripts, so yea, it's turned on :(
    Logged


    November 30, 2009, 12:41:50 PM
    Global Moderator
    Teh Uberleet
    *
    User No : 13370
    Posts: 3669
  • 432 credits
  • View Inventory
  • Send Money To Soul
    • View Profile
    Is the command BEFORE the Case Else?
    Logged
    December 03, 2009, 11:44:01 AM
    Active Member
    ***
    User No : 10489
    Posts: 186
  • 8 credits
  • View Inventory
  • Send Money To RavenStylez
    • View Profile
    • WWW
    hmm, let me have a look...
    If not... I'm stupid :D
    Logged


    June 28, 2010, 11:32:02 AM
    Newb
    *
    User No : 19667
    Posts: 2
  • 10 credits
  • View Inventory
  • Send Money To Moltres
    • View Profile
    this is good but any way it doesnt work when I send the command to the server plz help me ppl  :icon_crap:    :lipsrsealed:
    Logged
    July 25, 2010, 05:46:47 AM
    Newb
    *
    User No : 14673
    Posts: 4
  • 0 credits
  • View Inventory
  • Send Money To emanshaun
    • View Profile
    guys it is saying /gmotd isn't a valid command any ideas? scripts are on and reloaded its before case else and I dont know what else it can cause it.
    Logged
     


    Powered by MySQL Powered by PHP Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
    SimplePortal 2.3.1 © 2008-2009, SimplePortal
    Valid XHTML 1.0! Valid CSS!
    Page created in 0.468 seconds with 32 queries.