Go Back   The Palace Avatar Chat Community Forums. > Palace Builders Palace Users > Scripting Help

Scripting Help Iptscrae et omni potentum, Scripting is all powerfull. So here you can ask for Help with your scripting problems.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-05-2006, 03:55 PM
Palace User
 
Join Date: Jan 2006
Posts: 9
Rep Power: 0
dizzy_kimmi is on a distinguished road
Adding a URL in plugall?

Is there a way to configure the plugall file to send someone to a URL? (like the CHATGOTO command). I've tried using NETGOTO, and CHATGOTO but no dice. The room script is easy but someone wants to be able to say a command from anywhere in the palace and go to that specific URL, so I'd figure I'd ask out here to see if anyone knows if it can be done. Thanks!
Reply With Quote
  #2 (permalink)  
Old 05-06-2006, 10:15 AM
Palace User
 
Join Date: Aug 2004
Posts: 169
Rep Power: 7
complexity is on a distinguished road
unfortunately not...That would be nice, but plugall is pretty limited, so the simple answer is no. Of course you could make a goto command to enter a room that would launch the browser. Or..


Code:
ON OUTCHAT {            
     CHATSTR "" SUBSTR namesaid =
                                { WEBSITES }
    { "http://palaceplanet.net" NETGOTO } CHATSTR "Palace Planet" SUBSTR namesaid AND IF
    { "http://thepalace.com" NETGOTO } CHATSTR "The Palace" SUBSTR namesaid AND IF
    { "http://osnews.com" NETGOTO } CHATSTR "daily" SUBSTR namesaid AND IF
    { "http://getfirefox.com" NETGOTO } CHATSTR "daily" SUBSTR namesaid AND IF
    { "http://www.borggen.com/" NETGOTO } CHATSTR "cyborg!" SUBSTR namesaid AND IF  
    { "http://www.tvtome.com" NETGOTO } CHATSTR "tvtome" SUBSTR namesaid AND IF
    { "http://palaceplanet.net" NETGOTO } CHATSTR "palaceon" SUBSTR namesaid AND IF
    { "http://palace.chocolate-town.com" NETGOTO } CHATSTR "palaceon" SUBSTR namesaid AND IF
    { "http://google.com/" NETGOTO } CHATSTR "search" SUBSTR namesaid AND IF
    {"$1" GREPSUB search = {"$1+$2" GREPSUB search =}{search LOWERCASE "^(.*) (.*)$" GREPSTR} WHILE
    "http://www.google.com/search?hl=en&q=" search & netgoto"" CHATSTR = } CHATSTR "^google (.*)$" GREPSTR IF
    { "$1" grepsub email = {"E-mailing: " email & STATUSMSG "mailto:" email &}
    {"Launching mail prog" STATUSMSG "mailto:"} CHATSTR "@" SUBSTR IFELSE netgoto
    "" CHATSTR =} CHATSTR "e-mail" == CHATSTR "^mail (.*)$" grepstr or if

If you need anything explained just ask, but just look at it to understand, really.. like when you say "Palace Planet" it launches the site palace planet.

Simplized

Code:
ON OUTCHAT {            
     CHATSTR "" SUBSTR namesaid =
                                { WEBSITES }
    { "http://palaceplanet.net" NETGOTO } CHATSTR "Palace Planet" SUBSTR namesaid AND IF
Then you can just copy this, for as many sites as you want

Code:
{ "http://palaceplanet.net" NETGOTO } CHATSTR "Palace Planet" SUBSTR namesaid AND IF
To make more websites. Its just a suggestion, if you don't find it useful, maybe someone else will :)
__________________
www.palaceplanet.net

The formidable palace site.
Reply With Quote
Reply
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


The Latest Posts
Title, Username, & Date Last Post Forum
download
03-21-2011 11:20 AM
by maarten
User Questions
Palace for Mac OS 10.6?
03-13-2011 09:39 AM
by pawnipt
User Questions
Server
03-07-2011 04:52 PM
by satinrose
User Questions
Return room Script
02-24-2011 12:07 AM
by jaela
Room Scripts
Releasing source code
02-17-2011 09:19 AM
by Sman™
Developers Forum
Website spammers
01-26-2011 08:48 PM
by maarten
The Planet: Palace News
Online Users: 66
1 members and 65 guests
VeraFlorsewal
Most users ever online was 1,010, 06-27-2007 at 11:45 PM.
Stats
Members: 5,112
Threads: 1,141
Posts: 4,004
Top Poster: maarten (1,169)
Welcome to our newest member, cliffymayers


All times are GMT +2. The time now is 03:01 PM.


Powered by vBulletin
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0