grab bag

Ciro

Member
JFF Member
7D2D RAT Supporter
to spawn a bag you have them use the command.
the whole point is for you to make bags then let ur players do it themselves.
Are you trying to say it doesnt work or something when the player enters the command?
an its totally up to you if you want to spawn items for your players or not.
if you havent already i suggest you take a look at the options in rat in the event editor and such
can learn a lot :)
 
Last edited:
what i was wanting to do is setup a 1 time bag with some items for someone who donates to the server instead of spawning each it. i guess i could make a quest item that rewards those items and just spawn in the quest note to them...
 

Trekkan

JFF Administrator
Staff member
Grab bag is specifically for random items really. If you want to give specific items, try looking at this example of an event: Custom Commands - by Njinir (Engineer)

Basically, instead of a "starterkit" call it a donationkit (or whatever you want) and spawn the items you want them to get.
 
so i have a question about this

Name: vip
Type: VIP member
Conditions: none
Script: bc-give {{player_name}} gunPistol /c=1 /q=1
bc-give {{player_name}} ammo9mmBullet /c=150
bc-give {{player_name}} foodCanChili /c=3

what would be the command for the admin to type to send this to a specific player... so if i want these items to go to player "playername" as a gift for donation... something like give vip "playername" and that player will get items in inventory.
 

Trekkan

JFF Administrator
Staff member
You'd have a condition like: STARTSWITH:!vip||ALEVEL=0
And instead of {{player_name}} you'd use I think its {1} if I remember right offhand.

Basically you're saying when someone types something in chat that starts with !vip and they have admin level 0 (or whatever you want), perform the command and use the element in 1 position as the player name.

So an example of the command would be someone types in chat: !vip Trekkan

So {1} = Trekkan

Hope that helps!
 
Top