Yasunari Ishibashi Posted January 9, 2012 Posted January 9, 2012 I would like to request a special buffer guild script so its function script a buffer to a certain guild is there a simple example script? thanks. Quote
Emistry Posted January 21, 2012 Posted January 21, 2012 actually....both above if( getcharid(2) != "guild ID" ) goto failed; also wrong....because.. getcharid(2) return an integer...not string....so no need to use any quotation marks here... suppose to be if( getcharid(2) != GuildID ) goto failed; beside using goto command....you can do it like this also if( getcharid(2) != GuildID ){ mes "You cant use this NPC. Because it is not belong to your Guild."; close; } Quote
Emistry Posted January 9, 2012 Posted January 9, 2012 add this line before the buff script is run... if( getcharid(2) != guildID ) end; Quote
Yasunari Ishibashi Posted January 21, 2012 Author Posted January 21, 2012 thanks. II'I try add this line before the buff script is run... if( getcharid(2) != "guild ID" ) end; I tried adding a goto failed; example: if( getcharid(2) != "guild ID" ) failed; failed : npctalk " Your Failed"; but the script does not work properly if there is a solution? Quote
iFoxkun Posted January 21, 2012 Posted January 21, 2012 A Script for this would be like... map,x,y,direction <TAB> script <TAB> NPC Name <TAB> NPC Sprite.{ if(getcharid(2) != "<Guild ID For this>") close; sc_start .... } Quote
Joseph Posted January 21, 2012 Posted January 21, 2012 add this line before the buff script is run... if( getcharid(2) != "guild ID" ) end; I tried adding a goto failed; example: if( getcharid(2) != "guild ID" ) failed; failed : npctalk " Your Failed"; but the script does not work properly if there is a solution? Should be like this.. if( getcharid(2) != "guild ID" ) goto failed; failed : npctalk " Your Failed"; end; Quote
Yasunari Ishibashi Posted June 22, 2012 Author Posted June 22, 2012 actually....both above if( getcharid(2) != "guild ID" ) goto failed; also wrong....because.. getcharid(2) return an integer...not string....so no need to use any quotation marks here... suppose to be if( getcharid(2) != GuildID ) goto failed; beside using goto command....you can do it like this also if( getcharid(2) != GuildID ){ mes "You cant use this NPC. Because it is not belong to your Guild."; close; } thanks emistry what if more than one guild for example there are 5? how to script? Quote
Question
Yasunari Ishibashi
I would like to request a special buffer guild script
so its function script a buffer to a certain guild is there a simple example script?
thanks.
6 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.