Ventalkie

From GridPlay

Info

Ventalkie is a grid wide text base walkie talkie system designed for roleplay

How to Use

Radios

By default the slash channel is /22
You can either start chatting right away in the lobby channel or do /22 menu to bring up a dialog box.

Webconfig makes it super easy to setup your channels
TUNERS lets you set your tuners to different channels without needing to use the webconfig
Options lets you control the sound settings, more options will come in future updates

Chat Commands

Chat commands are also available by doing /22 help
motd - Shows the message of the day
pigstep - Get the url to a minecraft song called Pigstep
ch - Allows you to tune into a VenTalkie channel on the given tuner. ie. /23 ch 7577
list - lists all devices tuned into the channel, this is only for channel owners
ping - returns the time it took the server to respond
time - Tells you the current time in SLT
claimchannel - lets you claim the channel if its not already claimed
claimchan - lets you claim the channel if its not already claimed
claimch - lets you claim the channel if its not already claimed
webconfig - same as the webconfig button in your radio's dialog but this one is for the channel owner ONLY for them to edit the channel
nick - sets your nickname. ie. /22 nick ven the meerkat
regme - Registers you on the GridPlay.net website
resetpassword - Resets your GridPlay.net account password
menu - Opens your device's dialog menu
help - Shows all commands and info of what each command is. You can also do /22 help motd to get the message of the day

Service Bell

Since debbie wants me to add this here, ill get to this as soon as i can -ven

API

LSL

integer outlinkchan = 98;
integer inlinkchan = 99;
default {
    state_entry() {
        list jl = ["msg", "I love ventalkie"];
        jl += ["chan", 1];
        string json = llList2Json(JSON_OBJECT,jl);
        llMessageLinked(LINK_SET,outlinkchan,json,NULL_KEY);
    }
    link_message(integer sn, integer num, string str, key id) {
        if (num == outlinkchan) {
            string cn = llJsonGetValue(json,["cn"]);
            string cid = llJsonGetValue(json,["chan"]);
            string msg = llJsonGetValue(json,["msg"]);
            string avi = llJsonGetValue(json,["avi"]);
            llOwnerSay("{#"+cid+"-"+cn+"} "+avi+": "+msg);
        }
    }
}

RESTful

GET https://api.gridplay.net/radio Will return a json of public channels

[
  {
    "chan": 1,
    "name": "Lobby",
    "description": "Main Lobby"
  },
  {
    "chan": 9,
    "name": "EMERGENCY",
    "description": "Emergency channel"
  },
  {
    "chan": 7532,
    "name": "SLDA",
    "description": "Channel for SLDA"
  },
]


POST https://api.gridplay.net/radio/send Will post a message in the set channel like 1 for lobby
Required json is...

{
    "chan": 1,
    "nick": "post test",
    "msg": "this is a test",
    "gpn_key": "random key in your gridplay account setting"
}

UPDATES

3.2.1

  • LSL Code fixes
  • New mesh model
  • New Help button URL

Videos