Go Back   The Palace Avatar Chat Community Forums. > Palace Builders Palace Users > Borg scripts

Borg scripts Use this forum to find or post your cyborg scripts.

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-28-2004, 10:18 PM
Palace User
 
Join Date: Aug 2004
Posts: 169
Rep Power: 7
complexity is on a distinguished road
Authoring Tools

Scripts give you quick access to information about many things. Copy the script from the script section: This is an ON OUTCHAT Script. It has to be placed in your Palace Clients "cyborg.ipt" file in the ON OUTCHAT section. Use Notepad, or plain text editors Like Ultraedit or BBedit for this. Wordprocessors will damage scripts. For more information on editing your Cybrog.ipt, please check the Palace Planet HELP section. After installing type: "info" (don't forget to RELOAD scripts from the file menu of your client)

Quote: Originally Posted by
{ "$1" GREPSUB infoMde =
{ "room spot me all" infoMde = } infoMde "" == IF
{ "; Error: Unknown Parameter. Try: Room, Spot, Me or All" LOCALMSG "" infoMde =
} infoMde "room" SUBSTR infoMde "spot" SUBSTR OR infoMde "me" SUBSTR OR infoMde "all" SUBSTR OR NOT IF

{ "; *** Info for Room ***" LOCALMSG
"; Server: " SERVERNAME &
" Room: " & ROOMNAME &
" ID: " & ROOMID ITOA & LOCALMSG
"; There are " NBRDOORS ITOA & " doors, " & NBRSPOTS NBRDOORS - ITOA &
" spots and " & NBRROOMUSERS ITOA & " users." & LOCALMSG
} infoMde "room" SUBSTR IF

{ "; *** Info for Me ***" LOCALMSG
"; Name: " USERNAME &
" ID: " & WHOME ITOA &
" Rank: " &
{ "Guest" & } { { { "God" & } { "Wizard" & } ISGOD IFELSE } { "Member" & } ISWIZARD IFELSE } ISGUEST IFELSE
" Position: " & POSX ITOA & " " & POSY ITOA & LOCALMSG
TICKS 216000 / h = TICKS 3600 / h 60 * - m = "; Time since last reboot: "
{ h ITOA & " hour" & { "s" & } h 1 > IF " and " & } h 0 > IF m ITOA & " minutes." & LOCALMSG
"; Current Props: " { pc USERPROP ITOA & " " & pc ++ } { pc NBRUSERPROPS < } WHILE LOCALMSG
} infoMde "me" SUBSTR IF

{ "; *** Info for Spots ***" LOCALMSG
"; There are " NBRDOORS ITOA & " doors and " & NBRSPOTS NBRDOORS - ITOA &
" spots. " & LOCALMSG
{ "; ID = " f SPOTIDX ITOA &
" State = " & f SPOTIDX GETSPOTSTATE ITOA &
{ " Name = \"" & f SPOTIDX SPOTNAME & "\"" & } f SPOTIDX SPOTNAME "" == NOT IF
{ " Dest = " & f SPOTIDX SPOTDEST ITOA & } f SPOTIDX SPOTDEST 0 <> IF
{ " <Locked>" & } f SPOTIDX ISLOCKED IF
{ " <In Spot>" & } f SPOTIDX INSPOT IF
LOCALMSG f ++
} { f NBRSPOTS < } WHILE
} infoMde "spot" SUBSTR IF

{ "; *** Info for All ***" LOCALMSG
"; There are " NBRROOMUSERS ITOA & " users. (Listed in Entrance Order)" & LOCALMSG
{ "; Name: " u ROOMUSER WHONAME &
" ID: " & u ROOMUSER ITOA &
" Position: " u ROOMUSER WHOPOS SWAP ITOA " " & SWAP ITOA & & & LOCALMSG
u ++
} { u NBRROOMUSERS < } WHILE
} infoMde "all" SUBSTR IF

"" CHATSTR =
} CHATSTR "^info *(.*)" GREPSTR IF

{ ";My mouse position: " MOUSEPOS SWAP ITOA " " & SWAP ITOA & & LOCALMSG "" CHATSTR = } CHATSTR "mopos" == IF
{ ";My current position: " POSX ITOA & " " & POSY ITOA & LOCALMSG "" CHATSTR = } CHATSTR "mepos" == IF
__________________
www.palaceplanet.net

The formidable palace site.
Closed Thread
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: 55
1 members and 54 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 04:31 PM.


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