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.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-06-2005, 10:48 AM
maarten's Avatar
Palace Planet Founder
 
Join Date: Oct 2002
Location: DiGiLaNd
Posts: 1,169
Rep Power: 10
maarten is on a distinguished road
HBRB: A full featured brb

A full featured brb script, paging, message logging, and idle auto-away. Get hey.wav: http://www.palaceplanet.net/hex/hey.wav. 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: "hbrb" (don't forget to RELOAD scripts from the file menu of your client)

Code:
;HBRB 1.1 by Hex - http://hex.palaceplanet.net/
;This can be a little difficult to set up.
;This script should be edited to fit your style, youll need to
;change New Friend to what people call you, and NF to anything else you might be called.
;Also you can change "brb box" to the name of your favrotie brb prop.
;And "Im Away" to your favorite brb message, maybee "^brb".
;NOTE: Message Logging requires IptVersion 1
;Usage: Just say "hbrb" to go away, youll don your brb prop and say your away message
;If anyone says one of your nick names they will be whispered your brb message, and thier message will be logged.
;When you return say "hbrb" to recieve your messages and turn off the loging/pager/responder script.
;HBrb Signon Segment by Hex
	isLogging GLOBAL { 1 } { 0 } IPTVERSION IFELSE isLogging =
	isPaging GLOBAL 1 isPaging =
	idleTime GLOBAL DATETIME { 2147483647 + } DATETIME 0 < IF idleTime =
;HBrb Inchat Segment by Hex
	isAway GLOBAL isLogging GLOBAL isPaging GLOBAL messageLog GLOBAL bbTxt GLOBAL idleTime GLOBAL
	{	2 isAway = "Im Away (AutoIdle)" bbTxt = 0 ARRAY messageLog = 1 isLogging =
		"; Auto Idle Away - Pager is " { "On" } { "Off" } isPaging IFELSE
		& ", Message Logger is " & { "On" } { "Off" } isLogging IFELSE & LOCALMSG
	} isAway NOT DATETIME { 2147483647 + } DATETIME 0 < IF idleTime - 10 60 * > AND IF
	{	{ bbTxt WHOCHAT PRIVATEMSG } bbTxt "" == NOT IF
		{ {	messageLog oldLog = oldLog LENGTH 1 + ARRAY messageLog =
			{ oldLog t GET messageLog t PUT t ++ } { t oldLog LENGTH < } WHILE
			WHOCHAT WHONAME ": " & CHATSTR & messageLog t PUT
		} isLogging messageLog LENGTH 32 < AND IF } IPTVERSION IF
		{ "hey.wav" SOUND } isPaging IF
	} CHATSTR USERNAME SUBSTR
	  CHATSTR "New Friend" SUBSTR OR
	  CHATSTR "NF" SUBSTR OR
	  WHOCHAT WHOME <> AND isAway AND IF
;HBrb Outchat Segment by Hex
	isAway GLOBAL isLogging GLOBAL isPaging GLOBAL idleTime GLOBAL
	messageLog GLOBAL bbTxt GLOBAL brbProp GLOBAL
	DATETIME { 2147483647 + } DATETIME 0 < IF idleTime =
	{ "; Away Message Logging On" LOCALMSG 1 isLogging = "" CHATSTR = } CHATSTR "log on" == IF
	{ "; Away Message Logging Off" LOCALMSG 0 isLogging = "" CHATSTR = } CHATSTR "log off" == IF
	{ "; Away Paging On" LOCALMSG 1 isPaging = "" CHATSTR = } CHATSTR "pager on" == IF
	{ "; Away Paging Off" LOCALMSG 0 isPaging = "" CHATSTR = } CHATSTR "pager off" == IF
	{	"illbb" brbProp =
		{ brbProp DONPROP } brbProp HASPROP NOT IF
		1 isAway = 0 ARRAY messageLog =
		"$2" GREPSUB bbTxt =
		{ "brb" bbTxt = } bbTxt "" == IF
		"; Away - Pager is " { "On" } { "Off" } isPaging IFELSE
		& ", Message Logger is " & { "On" } { "Off" } isLogging IFELSE & LOCALMSG
		bbTxt SAY "" CHATSTR = 
	} CHATSTR "^hbrb( *)(.*)" GREPSTR IF
	{	"bak" SAY { "" CHATSTR = } isAway 1 == IF 0 isAway =
		{ brbProp REMOVEPROP } { brbProp HASPROP } WHILE
		{ {	0 l = "You recieved " messageLog LENGTH ITOA & " messages. (In Log)" & LOCALMSG
			{ "; " messageLog l GET & LOCALMSG l ++ } { l messageLog LENGTH < } WHILE
		} { "You recieved no messages" LOCALMSG } messageLog LENGTH 1 > IFELSE } IPTVERSION IF
		0 ARRAY messageLog = "" bbTxt =
	} CHATSTR "hbak" == isAway 2 == WHOTARGET NOT AND OR IF
__________________
Please don't ask me for help in private, use the USER QUESTIONS forum if you need help.
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: 57
1 members and 56 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:27 PM.


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