Register    Login    Forum    Search    FAQ

Board index » Palace Gate » Support





 Page 1 of 1 [ 4 posts ] 



Author Message
 Post subject: PropIDs?
 Post Posted: Wed Dec 23, 2009 4:46 pm 
Offline
Wizard

Joined: Wed Dec 23, 2009 4:27 pm
Posts: 7
Today someone came to em said a script, that looked perfectly fine, didn't work to me on PalaceChat, turns out TOPPROP returns 0 at all times.
(NOTE: This will be fixed in the next release)

So, to help them out, I came up with another one you can use, personally I think it's even better than the one they gave me to veirfy.
(NOTE: You can use the old one after the PalaceChat update)



Old Script:
Code:
ON SELECT{
"" ttosay =
{ " " topprop itoa + theprop =
theprop ttosay + ttosay =
mousepos dropprop
} { topprop } while
"\"" ttosay + "\" " + logmsg
CLEARLOOSEPROPS
}



New Script
Code:
ON SELECT {
"\x22" { " " i USERPROP ITOA & & i ++ } { i NBRUSERPROPS < } WHILE "\x22" & LOGMSG
}


Why is the new one better than the old one? Well for multiple reasons:
1. It uses less room space
2. Looks more stable to me (for P32 users), because it doesn't has to drop and erase the props in a very short amount of time
3. Simply looks neater.


Top 
 Post subject: Re: PropIDs?
 Post Posted: Wed Dec 23, 2009 4:55 pm 
Offline
Site Admin
User avatar

Joined: Wed Dec 23, 2009 1:46 pm
Posts: 35
Much cleaner


Top 
 Post subject: Re: PropIDs?
 Post Posted: Thu Dec 24, 2009 7:21 am 
Offline
Wizard

Joined: Wed Dec 23, 2009 4:27 pm
Posts: 7
Just wanted to let you all know the bug mentioned above (topprop) is fixed, and now returns the prop id!


Top 
 Post subject: Re: PropIDs?
 Post Posted: Sun Jan 31, 2010 1:05 pm 
Offline
Normal User
User avatar

Joined: Sun Jan 31, 2010 1:03 pm
Posts: 3
I'm impressed.

_________________
Image


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 4 posts ] 




Board index » Palace Gate » Support


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron