View Single Post
  #1  
Old 06-20-2004, 10:15 PM
Projectshifter Projectshifter is offline
The David
Projectshifter's Avatar
Join Date: Apr 2002
Location: USA
Posts: 912
Projectshifter is an unknown quantity at this point
Send a message via ICQ to Projectshifter Send a message via AIM to Projectshifter Send a message via MSN to Projectshifter Send a message via Yahoo to Projectshifter
Post Gift: Warpto System for Non-RCs

I was tired of seeing ETs, FAQs, GPs etc with RC so they can have "warpto" and such. It's not needed, and the rules actually prohibit it for dev worlds. So I spent about 20-30 minutes writing (and chatting, he he) a script to replaec this. I've added a few more features than most playerworlds that have these have. Rather than just giving them a weapon and them warping and summoning and such, it's a little bit different.
The weaponname is "-Warpto System", and unless you edit the trigger then it needs to remain that way. There are three types of warps you can: xy, xylevel, player. XY being able to do "/warpto 30 30", XYLevel being "/warpto test.nw 30 30", and Player being "/warpto Projectshifter". It is "/warpto" rather than "warpto" so it does not cause any confusion and does not overlap the existing system (mainly so you do not get the (not authorized) chat).
Also you can add rights. In the Control-NPC, if you go to 'Edit flags' then you can do:
warpto.requirerights=true/false -> which in turn means that if they are false, anyone with the system can use all the warps, but if it is set to true, then the next thing comes into player:
rights.account=xy,xylevel,player -> which translates to if I had rights.Projectshifter=player it would mean that I could ONLY warp to players. There is a few commented lines at the top of the script with some further information. I would encourage it's usage, as long as you leave the comments at the top, and it is "Globally Sanctioned" I suppose, considering I am GST and all, he he.
Just as an end note, all warps are logged into logs/warpto_system.txt, and if you are warping to a player, you can also use their nicknames. And no need to include double quotes for things such as "/warpto Projectshifter (GST)" because it contains a space. If you DO warpto a player, even if you use the nickname, it logs the account name (in the proper case-sensitivity) in the logs. Enjoy, and let me know if you like it =)
-Projectshifter
Attached Files
File Type: txt global_warpto.txt (3.7 KB, 661 views)
__________________
Who has time for life these days?