Go Back   The Palace Avatar Chat Community Forums. > Palace Builders Palace Users > Room Scripts

Room Scripts Use this forum for your room scripts, copy them or add them.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-27-2004, 11:04 AM
Palace User
 
Join Date: Aug 2004
Posts: 169
Rep Power: 7
complexity is on a distinguished road
Offer-Accept

;Almost all hosted palaces come with the offer and accept script because of the plugin (offer/accept), but a great script for a free palace server that doesnt support plugins.

To use: whisper offer


;This is the part that goes in a door at your gate

Quote: Originally Posted by
ON SIGNON
{
offeredAvatar GLOBAL
offerInScript GLOBAL
offerOutScript GLOBAL
{
offeredAvatar GLOBAL prps GLOBAL
{
"$1" GREPSUB prps =
{
"[ " prps & " ] SETPROPS" & offeredAvatar =
"@" WHOCHAT WHOPOS ITOA SWAP ITOA "," & SWAP & &
" You have been offered an avatar by " & WHOCHAT WHONAME &
". To accept it, type \"accept\"." & LOCALMSG
} prps ".* .* .* .* .* .* .* .* .* .*" GREPSTR NOT prps "-$" GREPSTR
NOT AND
prps "- " GREPSTR NOT AND prps ">$" GREPSTR NOT AND prps "> "
GREPSTR NOT AND
prps "<$" GREPSTR NOT AND prps "< " GREPSTR NOT AND WHOCHAT WHOME
<> AND IF
"" CHATSTR =
} CHATSTR "^;avoffer [\[] ([0-9<>A-Fa-f -]+) [\]]" GREPSTR IF
} offerInScript DEF
{
offeredAvatar GLOBAL
{
{
{
0 i = ";avoffer [ "
{
i USERPROP ITOA & " " & i ++
} { i NBRUSERPROPS < } WHILE "]" & WHOTARGET PRIVATEMSG
} NBRUSERPROPS IF
}
{
"You have to whisper the offer." STATUSMSG
} WHOTARGET IFELSE
"" CHATSTR =
} CHATSTR "offer" == IF
{
"" CHATSTR = offeredAvatar STRTOATOM EXEC
} "accept" CHATSTR == "\"accept\"" CHATSTR == OR offeredAvatar "" <>
AND IF
{
"" CHATSTR =
} CHATSTR "^;avoffer" GREPSTR IF
} offerOutScript DEF
}
ON OUTCHAT { offerOutScript GLOBAL offerOutScript EXEC }
ON INCHAT { offerInScript GLOBAL offerInScript EXEC }
;this goes in all other rooms you want offer/accept to be available to members

Quote: Originally Posted by
ON OUTCHAT { offerOutScript GLOBAL offerOutScript EXEC }
ON INCHAT { offerInScript GLOBAL offerInScript EXEC }
__________________
www.palaceplanet.net

The formidable palace site.
Reply With Quote
  #2 (permalink)  
Old 11-29-2009, 01:07 PM
HarleQuiNN's Avatar
Palace User
 
Join Date: Jan 2006
Location: West Virginia
Posts: 14
Rep Power: 0
HarleQuiNN is on a distinguished road
Icon5 Need A PX Mod

I use the private palace server. I had no problems with this script originally.However I have noticed a few scripts including this one that does not work with PX or PalChat. If anyone would have a mod that fixes this problem it would be greatly appreachiated.


HarleQuinn AKA §}{.)v(oon£îgh†.]:§:[
-----------------------------------------------------------------------------------------
“A dreamer is one who can only find his way by moonlight, and his punishment is that he sees the dawn before the rest of the world.”
Reply With Quote
  #3 (permalink)  
Old 11-29-2009, 05:28 PM
maarten's Avatar
Palace Planet Founder
 
Join Date: Oct 2002
Location: DiGiLaNd
Posts: 1,154
Rep Power: 10
maarten is on a distinguished road
Do they offer IptScrae support these days? I remember both did not have IPTScrae a while ago. When I try the 4.0 palchat on my mac it does not have any support for IPtscrae Palace Scripts at all.
__________________
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
Palacechat
07-30-2010 09:14 PM
by MoonShine
User Questions
Animation Delay Script
07-19-2010 10:28 PM
by TK#26
Scripting Help
Return with plugall
07-16-2010 11:27 AM
by maarten
Room Scripts
PChat Yathzee rooms
07-13-2010 04:34 AM
by jaela
Scripting Help
Oafland Room Editor
07-07-2010 01:48 AM
by Javve
Palace Builders
Some Rooms Not Loading (Instant...
07-04-2010 09:40 PM
by maarten
Palace Builders
Online Users: 35
0 members and 35 guests
No Members online
Most users ever online was 1,010, 06-27-2007 at 11:45 PM.
Stats
Members: 2,857
Threads: 1,114
Posts: 3,941
Top Poster: maarten (1,154)
Welcome to our newest member, recovery data


All times are GMT +2. The time now is 01:04 AM.


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