[S.C.]Zedmag

Server Script help

2 posts in this topic

Howdy guys. 

Im having trouble figuring out how to have my server side script pull and execute a custom BEC command. the BEC command works perfectly if i call it from the Scheduler or manually while in game. but im trying to get the Server to call the command. Mainly i dont know HOW to have the server do it, though i know it is possible since the Exile server already pulls BEC commands using the "call ExileServer_system_rcon_event_sendCommand" as done when in the config option to use the #shutdown option. Example in server files is the '#shutdown' call ExileServer_system_rcon_event_sendCommand; But no matter how i try using this with my command, it throws errors like ExileServer_system_rcon_event_sendCommand not defined. and the likes. Anyone willing to help me out? you can PM me or reply here. once i figure this out, its going to be epic. 

Share this post


Link to post
Share on other sites

**BUMP**

Ok so i realized that the custom commands in BEC are only able to be called by players during ingame chat such as global or side. (side and below only works if another player is in game) So now im trying to figure out how to have the server send a globalchat on behalf of the player that initiates a trigger lets say. Essentially there is a trigger, and when a player triggers it, it sends a globalchat msg with my custom BEC command in it. it HAS to act as if the player them selfs typed it into globalchat. I am racking my brain trying to figure this out. ANY help would be appreciated. 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.