![]() |
disable sendpm
Is there something in server options I can add to disable sendpm in scripts?
|
You mean like editing grawl? Uhh I don't belive so. Unless you want some kind of jail thing.
|
Quote:
he means a serveroption |
There is none that I am aware of. The only restricion is jaillevels= but you can still send PMs to staff with rcs and putting levels in there disables you from leaving the level via in game links
|
yeah, I'm talking about the sendpm script command. I don't want my NAT's using it.
|
Quote:
If they dont' comply too bad.... Do what you will with them. |
ummmm i think you cant for reasons of possible abuse.. Like, What if some1 wanted to not let their nats send pms!
|
Zega, it isn't a big deal. Majority of the servers now actually use it w/ if (actionplayeronline) now... let your NATs play w/ it a bit, it is healthy to learn new things =P
---Shifter |
Ok I forgot, how do you use sendpm?
|
Quote:
sendpm PM message; } I think. |
It's most GENERAL use is:
NPC Code: or to send to all players that are online: NPC Code: ---Shifter |
Quote:
I advise not using it though. |
Oh, and, the NPCserver sends these PMs, so if the player has the NPCserver ignored, they WILL send, but the player won't receive them.
|
Yeah I thought NPC server sent them. Thanks.
|
*agrees fully with Toranksu's explanation*
And yes, if you put actionplayeronline in conjunction with sendpm, it ANNOYS people SO SO SO SO MUCH! I usually make it set a flag like hasreadpm or something, so it means they only see it one time. ---Shifter |
Quote:
|
Here's what I've done b/4:
NPC Code: Makes it so you see it ONE time... UN should try it x.x ---Shifter |
Quote:
May I use it on Frolic? |
Wait. I need a way to make it updatable. like using a string and checking if its less than the server string. You know what I mean?
Like set the string to a number, and if the string the player has is less than the newer one, send the player the updated one and set the sting to the newest one. Kind ouf like getting outdated news out of the way. |
Just have it remove and add flags.
Like: NPC Code: And then later check for stuff like: NPC Code: But, you might have to unset every old flag every time, if you want to take up less space. Your method might work, I didn't put much thought into doing it that way though. If you wish, I'll try to help you do that way. |
Quote:
and so on is bad because what if the player has missed a few news posts? A string would be better. Muuuch better |
Quote:
Just check if the player has the most recent one, and have it send if he doesn't. |
Wow this thread got waay off topic :P
Disabling sendpm is a good idea but it depends, you might need it :P |
I still think 1 string would be best
|
Re: disable sendpm
Quote:
but I'm not sure.. |
right teh first time osrs
|
| All times are GMT +2. The time now is 06:14 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.