Jump to content
  • 0

Is there @bodystyle checker?


Question

Posted

Well we have weight check, zeny check, base level and job level checker and class checker. I wonder if we have @bodystyle checker? Im trying to set condition. Thanks!

Idea:
 

	if(@bodystyle <=1){
		mes @header$;
		mes "bahu ka!";
		mes " ";
		mes " ";
		mes " ";
		mes "bantut!";
		close;
}

But it doesnt seem to work. Ive tried many variable. No map error tho. But it doesnt work.
Ive tried the following:
 

if (.@bodystyle < 1 || .@bodystyle > .@bodystylemax)
if (!bodystyle <= 1)
if (bodystyle <= 1)
if (@bodystyle <= 1)
if (body_style <= 1)

Thanks!

4 answers to this question

Recommended Posts

  • 0
Posted
6 hours ago, gidzdlcrz said:

Well we have weight check, zeny check, base level and job level checker and class checker. I wonder if we have @bodystyle checker? Im trying to set condition. Thanks!

Idea:
 


	if(@bodystyle <=1){
		mes @header$;
		mes "bahu ka!";
		mes " ";
		mes " ";
		mes " ";
		mes "bantut!";
		close;
}

But it doesnt seem to work. Ive tried many variable. No map error tho. But it doesnt work.
Ive tried the following:
 


if (.@bodystyle < 1 || .@bodystyle > .@bodystylemax)
if (!bodystyle <= 1)
if (bodystyle <= 1)
if (@bodystyle <= 1)
if (body_style <= 1)

Thanks!

if(getlook(LOOK_BODY2))

  • MVP 1
  • 0
Posted (edited)
19 minutes ago, Start_ said:

image.png.e8ccddeba251e0b0d2342318d394b8f8.png

Use body column. (Table: char).

Oh! lemme check body instead.  Wait.

*Edit (Result)

Nope. It doesnt work. I know when it comes to database, you have to re log to take its effect.

This ive tried
 

	if(body <=1){
		mes @header$;
		mes "bahu ka!";
		mes " ";
		mes " ";
		mes " ";
		mes "bantut!";
		close;
}


doesnt work.

Unless someone tell me how to query like that on npc. But i guess thats the only way to do because we dont have @bodystyle checker?

Edited by gidzdlcrz
  • 0
Posted
On 8/20/2020 at 6:11 PM, Eichi said:

You need to use a sql check.

Dont know that. How?

 

On 8/20/2020 at 9:32 PM, Balfear said:

if(getlook(LOOK_BODY2))

I will try now thank you! ♥

*Edit

It works @Balfear!!!!! You da man!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...