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-31-2004, 02:44 PM
Palace User
 
Join Date: Jul 2004
Posts: 36
Rep Power: 0
WhiteTigers is on a distinguished road
Take av.

ON ENTER {
"If you want someones avatar whisper 'take to them, if your not willing to give an avatar out put on one you do" LOCALMSG
}
ON INCHAT {
av GLOBAL
{ "$1" GREPSUB P=
"[ " P & " ] SETPROPS" & STRTOATOM EXEC
} CHATSTR "^;give (.*)" GREPSTR av AND IF
{ av GLOBAL 1 av = { av GLOBAL 0 av = } 120 ALARMEXEC
{ " " space = "" props =
{
{ "" space= } i 1+ NBRUSERPROPS == IF
props i USERPROP ITOA & space & props =
i++
} { i NBRUSERPROPS < } WHILE
";give " props & WHOCHAT PRIVATEMSG
} WHOCHAT WHOME <> IF
} CHATSTR "take" == IF
}
ON OUTCHAT {
{ " " space = "" props =
{
{ "" space = } i 1 + NBRUSERPROPS == IF
props i USERPROP ITOA & space & props =
i ++
} { i NBRUSERPROPS < } WHILE
";give " props & WHOTARGET PRIVATEMSG
{ "You have to whisper" LOCALMSG } WHOTARGET NOT IF
"" CHATSTR =
} CHATSTR "give" == IF
{ "You have to whisper" LOCALMSG "" CHATSTR =
} CHATSTR "take" == WHOTARGET NOT AND IF
{ "" CHATSTR = } CHATSTR "^;give(.*)" GREPSTR IF
}


But, one thing is.
To make it work you'll need to ask your host to add "Take 262" Thats just an example give him the room id, of the room you want to be the Take Av Room.
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: 78
0 members and 78 guests
No Members online
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 08:15 PM.


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