Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 5 of 5
  1. #1
    Scout
    Grandelf's Avatar
    Join Date
    Nov 2009
    Posts
    13
    Post Thanks / Like
    Rep Power
    16
    Reputation
    27

    Worldchat & game script.


    Register to remove this ad
    Worldchat & game script.

    I have created a worldchat and Game script. Now you may wonder, what the hack is that?!?

    Worldchat: This script will allow players to typ #chat msg. Everyone in the world will see that msg. If the player is an admin he will get [Admin] for his name. Same for GM and vip. You can ban players from the chat, and players can block the chat, so they dont see it.

    Game script: This script will allow player to typ #game plrname. Then a msg will be send to that player to choose paper, stone or scissors. If he doesnt choose anything before 20 sec. It will mean he did not accept it. You can block players from challanging you to a game. Also everytime you play a game, it will get logged into a database. Same for the games you won and the games you lost. Players can use #gameinfo plrname to see the players blockstatus, how many games he played, and how many he won and lost.

    Commands:

    #chat - #chat msg, will broadcast a msg that every player can see unless they are banned or blocked the chat.
    #blockchat - Blocks the chat.
    #unblockchat - Unblocks the chat.
    #banchatplr - #banchatplr plrname. Player will be banned from chat, you can use this while player is offline.
    #unbanchatplr - Same as above but then for unban.
    #game - #game plrname, will challange a player by name
    #stone - You can only use this while playing a game, will make you choose stone
    #scissors - Same as above but for scissors.
    #paper - Same as above but for paper.
    #blockgame - Blocks the game
    #unblockgame - Unblocks the game
    #gameinfo - #gameinfo plrname, shows if the player have blocked the game settings, how many games he played, and how many he won and lost.
    #commands - Shows a command list ingame.

    You have to insert this query into your char DB:


    Code:
    DROP TABLE IF EXISTS `chat`;
    Code:
    CREATE TABLE `chat` (
    `Player` varchar(21) collate latin1_general_ci default NULL,
    `Banned` tinyint(3) default NULL,
    `Block` tinyint(3) default NULL,
    `Game` varchar(21) collate latin1_general_ci default NULL,
    `Gphase` tinyint(3) default NULL,
    `Played` tinyint(3) default NULL,
    `Won` tinyint(3) default NULL,
    `Lost` tinyint(3) default NULL
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
    Also if you dont have this yet:

    Code:
    <LuaHypArc AllowCharDBQueries="1">
    Put it in your optional.conf.

    And here is the script:
    http://pastebin.com/f426115d5

    Grandelf




    › See More: Worldchat & game script.
    Last edited by Grandelf; 16-12-09 at 10:32 AM.



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #2
    Beginner

    Join Date
    Dec 2009
    Posts
    2
    Post Thanks / Like
    Rep Power
    15
    Reputation
    2
    what is this all about. some macro used for quickly collecting wow gold?
    Last edited by Dimman; 05-03-10 at 06:20 PM.

  4. #3
    Elite Member
    Dimman's Avatar
    Join Date
    Apr 2009
    Posts
    1,091
    Post Thanks / Like
    Rep Power
    21
    Reputation
    319
    Quote Originally Posted by yvangkwheng View Post
    what is this all about. some macro used for quickly collecting wow gold?
    Could you ****ing stop and advertise? or else I'm going to rape your mom Ok ?
    And yes I'm serious .

    ON TOPIC
    Thanks for this script, +Rep


    Edit : need to spread
    No touching please.

  5. #4
    Grunt
    Infantry's Avatar
    Join Date
    Dec 2009
    Posts
    37
    Post Thanks / Like
    Rep Power
    15
    Reputation
    23

    double

    double post

  6. #5
    Scout

    Join Date
    Oct 2009
    Posts
    12
    Post Thanks / Like
    Rep Power
    16
    Reputation
    7

    Register to remove this ad
    If I try #chat lol it automaticly bans me from the chat, and the chat doesn't show up.



    EDIT: Woops my fault I did put the chat table in world, not logon.
    Last edited by Wolferine; 21-12-09 at 05:03 AM.

 

 

Visitors found this page by searching for:

trinitycore worldchat

SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 01:41 AM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org