MADCOMMAND Help!!!

this is correct?
/cmd add capture if playerinventory(%p%) = “1” then goto 2
/cmd add capture message onlineplayers() got the stone
/cmd add capture if playerinventory(%p%) = “0” <- (if player has no inventory or they got no stone) then goto 4
/cmd add capture message %p% you have no stone

@dcymonstermcpe you need to exit the command

/cmd add capture let %inv% = playerinventory(%p%)
/cmd add capture if %inv% = \"1\" then goto 5
/cmd add capture message %p% you need to have stone in your hand to do this!
/cmd add capture exit
/cmd add capture let %all% = onlineplayers()
/cmd add capture message %all% %p% captured the stone

Staff on the Jg-Server, and the sun
-lid of The JG-Network community
-jgserver.factions.pe:37050
-b31074.leet.cc:31074
(The sun coming coon)

@Forum-Moderator Lock please
Thanks @theequaq !

@dcymonstermcpe np ;)

Staff on the Jg-Server, and the sun
-lid of The JG-Network community
-jgserver.factions.pe:37050
-b31074.leet.cc:31074
(The sun coming coon)

@dcymonstermcpe said in MADCOMMAND Help!!!:

@Forum-Moderator Lock please
Thanks @theequaq !

Alright! Have a wonderful day :)

Locking…

Reason:

Requested by OP

Log in to reply

Looks like your connection to LEET Forums was lost, please wait while we try to reconnect.