Takuyakii Posted August 31, 2022 Group: Members Topic Count: 38 Topics Per Day: 0.02 Content Count: 206 Reputation: 10 Joined: 08/30/19 Last Seen: 16 hours ago Share Posted August 31, 2022 Good day, can someone correct this script i have npc that giving a farm title System ( Farmer 1, Farmer 2 titled) i want to make if the player logged in it needs to check if his farmer 1 or farmer 2, ) so i try to wrote this. if farmer 1, he/she will be put tittled or fakename on his name, PS: i don't know if my title is right if not please do correct ty - script testtitles -1,{ OnPCLoginEvent: if( Farm == 0) goto L_name; if (Farm == 1 ) goto L_nfarm; L_name: mes "Your not a farmer!"; end; L_farm: atcommand "@fakename" Farmer1 "+ strcharinfo(0); end; } Quote Link to comment Share on other sites More sharing options...
0 mR L Posted September 1, 2022 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 177 Reputation: 25 Joined: 12/24/14 Last Seen: July 19, 2023 Share Posted September 1, 2022 (edited) - script testtitles -1,{ OnPCLoginEvent: if (Farm == 0) goto L_name; if (Farm == 1) goto L_farm; L_name: mes "Your not a farmer!"; end; L_farm: atcommand "@fakename" Farmer1 "+ strcharinfo(0); end; } Edited October 1, 2022 by Skorm Quote Link to comment Share on other sites More sharing options...
0 Skorm Posted October 1, 2022 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1268 Reputation: 382 Joined: 02/03/12 Last Seen: April 10 Share Posted October 1, 2022 On 8/31/2022 at 2:46 PM, Takuyakii said: Good day, can someone correct this script i have npc that giving a farm title System ( Farmer 1, Farmer 2 titled) i want to make if the player logged in it needs to check if his farmer 1 or farmer 2, ) so i try to wrote this. if farmer 1, he/she will be put tittled or fakename on his name, PS: i don't know if my title is right if not please do correct ty Your labels where incorrect it seems like mR L fixed them for you. Although your explanation isn't that great so I'm not entirely sure if this script is working the way you want it to. I can only confirm that the script mR L provided will work. Quote Link to comment Share on other sites More sharing options...
Question
Takuyakii
Good day, can someone correct this script
i have npc that giving a farm title System ( Farmer 1, Farmer 2 titled)
i want to make if the player logged in it needs to check if his farmer 1 or farmer 2, )
so i try to wrote this.
if farmer 1, he/she will be put tittled or fakename on his name,
PS: i don't know if my title is right if not please do correct ty
- script testtitles -1,{ OnPCLoginEvent: if( Farm == 0) goto L_name; if (Farm == 1 ) goto L_nfarm; L_name: mes "Your not a farmer!"; end; L_farm: atcommand "@fakename" Farmer1 "+ strcharinfo(0); end; }
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.