Knowledgebase
Storm Palace Hosting > Storm Hosting Help Desk > Knowledgebase

Ask a question:


PID Scripts

Solution ON SELECT { ;start ON SELECT event
0 i = "\[ " propids = ;start the string with a "
{ i userprop itoa propids += ;append the propid to the string
" " propids += ;make a space between each propid
i++ ;double up the propnumber i = i + 1 etc
} {i nbruserprops <} while ;make a loop threw each prop
"\]" propids += ;make the ending char = "
{propids logmsg} nbruserprops 1 >= if ;make sure you're wearing a prop before displaying the propids in the log
}

OR .................

For your cyborg:

{
";[ " p = 0 i = { p i USERPROP itoa & " " & p = i ++ } { i NBRUSERPROPS < }
WHILE p "]" & say
"" CHATSTR =
} CHATSTR "^pid" GREPSTR IF
 
Was this article helpful? yes / no
Article details
Article ID: 29
Category: Room Scripts
Date added: 04-02-2011 12:35:48
Views: 1500
Rating (Votes): Article rated 5.0/5.0 (1)

 
<< Go back

Powered by Help Desk Software HESK™