This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[ANY] Web Shortcuts (Redux)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Plugin ID:
2697
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    296 
    Plugin Description:
    Extended Web Shortcuts.
    Old 03-29-2012 , 15:21   Re: [ANY] Web Shortcuts (Redux)
    Reply With Quote #1

    I may not be thinking straight, but isn't the second expression moot since the string "tf_beta" will have strncmp(sGameDir, "tf", 2, false) == 0 too?

    Code:
    (!strncmp(sGameDir, "tf", 2, false) || !strncmp(sGameDir, "tf_beta", 7, false))

    Last edited by 11530; 03-29-2012 at 17:08.
    11530 is offline
    untamed0
    Junior Member
    Join Date: Jan 2010
    Old 01-07-2012 , 09:26   Re: [ANY] Web Shortcuts (Redux)
    Reply With Quote #2

    Works great , I have a suggestion, would it be possible to have a 'msg' option, which is printed to the user when they run the hook? This would be useful for Silent blocks.

    For example:

    Code:
    "radio"
    {
        "Silent"    "Yes"
        "Url"    "http://websitehere.com/radio"
        "Hook"    "!radio"
        "Msg"    "You're now listening to the radio! say !stop to stop listening"
    }
    untamed0 is offline
    nikedu45
    Senior Member
    Join Date: May 2011
    Old 04-07-2013 , 07:09   Re: [ANY] Web Shortcuts (Redux)
    Reply With Quote #3

    Is it possible to see what people type in chat?
    __________________
    Bl4ck-And-White.fr
    I'm French !!
    nikedu45 is offline
    nikedu45
    Senior Member
    Join Date: May 2011
    Old 04-12-2013 , 18:30   Re: [ANY] Web Shortcuts (Redux)
    Reply With Quote #4

    Quote:
    Originally Posted by nikedu45 View Post
    Is it possible to see what people type in chat?
    Up :$
    __________________
    Bl4ck-And-White.fr
    I'm French !!
    nikedu45 is offline
    topman16
    New Member
    Join Date: Oct 2013
    Old 10-27-2013 , 14:51   Re: [ANY] Web Shortcuts (Redux)
    Reply With Quote #5

    I have tried again. But it still doesnt work please help
    code:

    "VIP"
    {
    "Silent" "No"
    "Url" "www.google.com"
    "Hook" "!VIP"
    }

    i changed it to google to try
    topman16 is offline
    Amnesia123
    Junior Member
    Join Date: Jan 2015
    Old 10-04-2015 , 15:33   Re: [ANY] Web Shortcuts (Redux)
    Reply With Quote #6

    My know-how in this coding thing is non-existing, so im looking for someone to help me setup a small code to work with this plugin.
    Just hit me up.

    It simply so that players can type !join in the chat, and a grouppage pops up.

    Thanks in advance.
    __________________
    Amnesia123 is offline
    Skyrider
    AMX Mod X Beta Tester
    Join Date: May 2005
    Location: Netherlands
    Old 01-08-2012 , 08:52   Re: [ANY] Web Shortcuts (Redux)
    Reply With Quote #7

    I'm seeing that the SteamREP plugin:

    http://forums.alliedmods.net/showthread.php?p=1514234

    Is using full sized screens when using a command. Is there anyway the same can be done with this plugin rather showing a small sized motd page?
    __________________

    Last edited by Skyrider; 01-08-2012 at 08:55.
    Skyrider is offline
    Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
    untamed0
    Junior Member
    Join Date: Jan 2010
    Old 01-08-2012 , 10:07   Re: [ANY] Web Shortcuts (Redux)
    Reply With Quote #8

    Quote:
    Originally Posted by Skyrider View Post
    I'm seeing that the SteamREP plugin:

    http://forums.alliedmods.net/showthread.php?p=1514234

    Is using full sized screens when using a command. Is there anyway the same can be done with this plugin rather showing a small sized motd page?
    I think it already has it, unless I misunderstood the documentation, the 'Big' setting does this (untested, don't have a TF2 server.
    untamed0 is offline
    Skyrider
    AMX Mod X Beta Tester
    Join Date: May 2005
    Location: Netherlands
    Old 01-08-2012 , 11:19   Re: [ANY] Web Shortcuts (Redux)
    Reply With Quote #9

    Quote:
    Originally Posted by untamed0 View Post
    I think it already has it, unless I misunderstood the documentation, the 'Big' setting does this (untested, don't have a TF2 server.
    Ahhh, I actually never used/tested this before.. I actually never knew this was possible. I thank thee, and I shall try them ;).

    EDIT:
    I can't get the BIG to work. All the new hooks work with a plugin reload, but do I need a map / server restart for the big to work?

    EDIT 2:
    I even did a server restart, the big doesn't work. Not even with your examples.

    Changing

    Quote:
    change if (bBig)
    {
    KvSetNum(hKv, "customsvr", 1);
    }
    to

    Quote:
    KvSetNum(hKv, "customsvr", 1);
    Will work, but it changes all the motd to "big". The big hook is broken I'm afraid.
    __________________

    Last edited by Skyrider; 01-08-2012 at 13:05.
    Skyrider is offline
    Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
    S_W_A_T
    Senior Member
    Join Date: Dec 2007
    Old 01-19-2012 , 05:41   Re: [ANY] Web Shortcuts (Redux)
    Reply With Quote #10

    It'd be nice if the command is printed on the chat as well whenever a player execute it. And how can i set !rules to open the motd page?... TIA.
    S_W_A_T is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 05:52.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode