Author |
Message |
complexity |
|
Post subject: Auto-Clear, clear room repeatedly
Posted: Dec 28, 2004 - 03:05 PM
|
|

Joined: Aug 01, 2004
Posts: 166
Status: Offline
|
|
Auto Clear cleans loose props repeatedly. 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: "aclear" + time between clearing. (don't forget to RELOAD scripts from the file menu of your client)
Quote: | {
"" CHATSTR =
"$1" GREPSUB n = "$2" GREPSUB p =
{ 30 n = 60 p = } { n ATOI n = p ATOI p = } n "" == IFELSE
"-> AutoClearing Props. " n ITOA & " times with a pause of " & p ITOA & LOGMSG
{
{ CLEARLOOSEPROPS } c p * ALARMEXEC c ++
} { c n < } WHILE
} CHATSTR "^aclear *([0-9]*) *([0-9]*)" GREPSTR IF
|
|
_________________ www.palaceplanet.net
The Inevitable Palace Site
|
|
|
|
 |
complexity |
|
Post subject:
Posted: Jan 07, 2005 - 10:25 PM
|
|

Joined: Aug 01, 2004
Posts: 166
Status: Offline
|
|
Or have it get rid of paint and props.
Code: | {
"" CHATSTR =
"$1" GREPSUB n = "$2" GREPSUB p =
{ 30 n = 60 p = } { n ATOI n = p ATOI p = } n "" == IFELSE
"-> AutoClearing Props. " n ITOA & " times with a pause of " & p ITOA & LOGMSG
{
{ CLEARLOOSEPROPS PAINTUNDO } c p * ALARMEXEC c ++
} { c n < } WHILE
} CHATSTR "^aclear *([0-9]*) *([0-9]*)" PAINTUNDO GREPSTR IF |
|
_________________ www.palaceplanet.net
The Inevitable Palace Site
|
|
|
|
 |
|
| |