Woo first post :)

Trying to make a script in TUS 48e and need an answer or two? Ask here. Please don't request scripts be made here.

Moderators: Dezonus, Moderator

Woo first post :)

Postby SpaZ on Tue Aug 17, 2004 2:08 am

Hey whats up guys???

Was just gonna ask if any of you know how to make certain areas anti-loot like wrong level 4 cause thats where my newbie dungeon is.

If any one could help me that would be great.

BTW love the site.
User avatar
SpaZ
Happy poster
Happy poster
 
Posts: 57
Joined: Wed Aug 11, 2004 10:02 am

Postby Jawn on Tue Aug 17, 2004 7:12 am

Find item 2006 in your tus/sphereitem.scp add this loot check.
but first add a region to your newbie dungeon and name it NB i think you can check my region name if that doesnt work you have to check by region flags.

Code: Select all
ontrigger=dclick
IF (<SRC.REGION.NAME>==NB)
   IF ((<LINK.UID>==<SRC.UID>)||(<link.uid>==0)||(<src.plevel>>3))
      RETURN 0
   ENDIF
      SRC.SYSMESSAGE You can not loot this corpse.
      RETURN 1
ENDIF


[/code]
User avatar
Jawn
Site Admin
Site Admin
 
Posts: 588
Joined: Tue Jun 22, 2004 9:33 pm

Postby SpaZ on Tue Aug 17, 2004 10:32 am

Sweet man thx a bunch.

One more thing do you know how to make it so you cant place houses near other houses?
User avatar
SpaZ
Happy poster
Happy poster
 
Posts: 57
Joined: Wed Aug 11, 2004 10:02 am

Postby zylex on Thu Aug 19, 2004 6:02 pm

that dont work on tus? :S
Knowledge is power!
User avatar
zylex
Happy poster
Happy poster
 
Posts: 41
Joined: Thu Aug 19, 2004 2:22 pm
Location: Retarded?

Postby SpaZ on Fri Aug 20, 2004 5:38 am

zylex change it to the region flags region name didnt work for me neither.

BTW Nice Sig..
Zombie movies pwn.
User avatar
SpaZ
Happy poster
Happy poster
 
Posts: 57
Joined: Wed Aug 11, 2004 10:02 am

Postby Barkley on Fri Aug 20, 2004 8:00 am

Newbie Dungeon is the name of the region in this case so just rename the [Room Wrong Level 4] to [AREA Newbie Dungeon]

ONTRIGGER=DCLICK
IF ((STRCMP("<SRC.REGION.NAME>","Newbie Dungeon")=0)
IF (<LINK.UID>==<SRC.UID> || (<link.uid>==0 )) || (<SRC.GM>==1)))
RETURN 0
ELSE
SRC.SYSMESSAGE You can not loot this corpse.
RETURN 1

This works ;P

**Edit Not to sure on 48e**
User avatar
Barkley
Happy poster
Happy poster
 
Posts: 35
Joined: Tue Aug 10, 2004 7:59 am

Postby zylex on Sat Aug 21, 2004 4:21 am

Barkley wrote:Newbie Dungeon is the name of the region in this case so just rename the [Room Wrong Level 4] to [AREA Newbie Dungeon]

ONTRIGGER=DCLICK
IF ((STRCMP("<SRC.REGION.NAME>","Newbie Dungeon")=0)
IF (<LINK.UID>==<SRC.UID> || (<link.uid>==0 )) || (<SRC.GM>==1)))
RETURN 0
ELSE
SRC.SYSMESSAGE You can not loot this corpse.
RETURN 1

This works ;P

**Edit Not to sure on 48e**


it works perfectly.. thnx :)
Knowledge is power!
User avatar
zylex
Happy poster
Happy poster
 
Posts: 41
Joined: Thu Aug 19, 2004 2:22 pm
Location: Retarded?

how do i make this no cut for area's

Postby puffpuff21 on Sun Jan 09, 2005 4:15 pm

i'm haveing a bit of trouble trying to get area's no cut i know it has to do with item 2006 but i don't know how can some one help me out please :>
puffpuff21
n00b
n00b
 
Posts: 19
Joined: Mon Aug 30, 2004 12:51 am

Postby Xantos on Fri Feb 11, 2005 11:11 am

I`m shure i can help you if i understand your problem :)
You try to make an area where you can`t cut any bodys?
Xantos
n00b
n00b
 
Posts: 5
Joined: Mon Oct 04, 2004 4:37 am

Postby Barkley on Tue Feb 15, 2005 7:03 am

You wouldnt like how you'd have to do this but, if you added a section on all weapons and knives you could add...

Code: Select all
ONTRIGGER=TARGON_ITEM
IF !((STRCMP("<SRC.REGION.NAME>","Newbie Dungeon")=0)
//if you want to stop this in an area called Newbie Dungeon
RETURN 1
ELSE
RETURN 0 //allow normal usage of whatever


think I got that right :wink: not tested
User avatar
Barkley
Happy poster
Happy poster
 
Posts: 35
Joined: Tue Aug 10, 2004 7:59 am

Postby virus_marcus on Wed May 25, 2005 11:16 pm

Code: Select all
ONTRIGGER=TARGON_ITEM
IF !((STRCMP("<SRC.REGION.NAME>","Newbie Dungeon")=0)
//if you want to stop this in an area called Newbie Dungeon
RETURN 1
ELSE
RETURN 0 //allow normal usage of whatever




this dont work...any help?i need cut restrict.... :cry:
User avatar
virus_marcus
Happy poster
Happy poster
 
Posts: 21
Joined: Sun Aug 22, 2004 4:32 pm


Return to TUS48e/Sphere51a help

Who is online

Users browsing this forum: No registered users and 1 guest

cron