User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Slash Commands

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    May 2007
    Location
    NJ
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Slash Commands

    In my chat, I want it so that if users type a certain thing in an edit box, such as "/nick johnyboy", it would turn the user's moo click name into "jonyboy".

    I can't think of anyway to do this, and theres no "If text=" events.

    Help would be appreciated,

    GF202

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Slash Commands

    Compare two general values, in the special object. You will need to use Left$ and Right$.

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    May 2007
    Location
    NJ
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Slash Commands

    ah, never thought of that!

    Thanks!

  4. #4
    Clicker Multimedia Fusion 2

    Join Date
    May 2007
    Location
    NJ
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Slash Commands

    EDIT: um....what would I put as the first thing for it to compare?

    And I never used teh left$ and right $, could you explane them?

  5. #5
    Forum Moderator Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2006
    Posts
    1,322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Slash Commands

    From the in-program help - Special Object, Expressions:

    Strings

    Extract left sub-string extracts a sub-string from the given string, starting on the left. Example, LEFT$("Hello", 3) will return "Hel".
    Extract right sub-string extracts a sub-string from the given string, starting on the right. Example, RIGHT$("Hello", 3) will return "llo".
    Extract middle sub-string extracts a sub string starting at a given position. Example, MID$("Hello", 2, 3) will return "ell".
    Length of string returns the number of characters in the given string. Example, LEN("Hello") returns 5
    New Line returns a string with new line control characters. The text after these control characters is displayed on the next screen line. Example, "Line 1" + NewLine$ + "Line 2".
    Convert String to Lower case returns a string with lowercase characters.
    Convert String to Upper case returns a string with uppercase characters.
    Find String in String returns the 0-based index of a sub-string in the string. Parameters = string to look into, sub-string to look for and index of the first character to start the search from. Returns -1 if the sub-string is not found in the string.
    Find String in String backward returns the 0-based index of a sub-string in the string, from the end of the string. Parameters = string to look into, sub-string to look for and index of the last character to start the search from. Returns -1 if the sub-string is not found in the string.

  6. #6
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Slash Commands

    Sarah, i think you killed him....

  7. #7
    Clicker Multimedia Fusion 2

    Join Date
    May 2007
    Location
    NJ
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Slash Commands

    No, that helped me a hell of alot, I just didn't reply xD

    One more....complicated question. I don't want to make a new topic for it, or there will be alot of topics.

    Ok, basically what I am doing is a chat where you can also play games and such.

    I have it set up pretty good, but now comes the part where we make the game part. I want it to launch sub apps, but I have no clue how to make both users launch the sub app when the host (Not a real host, just the one that requested the game) hits start.

    I would assume after this, the rest will be on the sub application.

    Thanks alot guys, and if I need to upload my file just let me know. I don't know if I explained this good enough also, so let me know if I need to do more explaining.


  8. #8
    Clicker Fusion 2.5

    Join Date
    Jun 2006
    Location
    Stockholm, Sweden
    Posts
    1,529
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Slash Commands

    Quote Originally Posted by SEELE
    Sarah, i think you killed him....
    Hehe, what a comment! n_n

  9. #9
    Clicker Multimedia Fusion 2

    Join Date
    May 2007
    Location
    NJ
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Slash Commands

    Ok, I tryed something out. Heres the file:

    http://friendlyfiles.net/dw_ho/30402d830835/Fusion24.mfa.html

    Its frame 6. In the events, go to the comment "game start system". Everywhere below there is what I'm trying to do. BTW, I know about that rich edit object thats randomly there. I plan on moving it out of view, I only have it there to make sure the text changes. Basically, this is what I'm trying to do:

    Player clicks on start game while a username is highlighted on list:
    A request is sent to them to play a game.

    User says no:
    Nothing happens

    User says yes:
    A load button appears. User clicks: Opens load screen. select a .ccn.

    User hits open:
    the directory is sent to other user via mooclick and appears on a rich edit object that will be off the screen. Then sets that objects read only on.

    Read only is on:
    Change directory to (first line of rich edit object)
    Set sub app to FileSelReturn$( "File" )
    launch sub app (AKA create object)


    I have everything down up to the "User hits open". You can see everything in the download above.

    PLEASE HELP!!!

    Thanks,
    GF202.

  10. #10
    Clicker Multimedia Fusion 2

    Join Date
    May 2007
    Location
    NJ
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Slash Commands

    I noticed that not only mediafire was down, but so was that other site. SO, I uploaded it here.

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=download&Number=1921

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Hack and Slash
    By XStar in forum Multimedia Fusion 2 - Technical Support
    Replies: 26
    Last Post: 3rd August 2012, 12:31 AM
  2. MCI issues commands
    By Enrico in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 14th July 2012, 10:21 AM
  3. The OR commands
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 2nd June 2012, 09:21 AM
  4. hack'n slash
    By Jiraroyo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 28th March 2012, 07:30 PM
  5. Platform attacks sword type slash
    By Megaman in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 3rd December 2008, 08:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •