Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fayon,90,125,5 script Sample 757,{
- if( getguildname(getcharid(2)) == .Guild$ ){
- getitem .Item,.Amount;
- set .Guild$,"";
- mes "here's your reward.";
- }else{
- mes "Sorry there is nothing you can claim here.";
- }
- close;
- OnWhisperGlobal:
- if( getgmlevel() >= 99 ){
- if( getitemname(atoi(@whispervar1$)) != "null" && atoi(@whispervar1$) > 0 ){
- set .Guild$,@whispervar0$;
- set .Item,atoi(@whispervar1$);
- set .Amount,atoi(@whispervar2$);
- dispbottom "[ Guild Assigned : "+.Guild$+" | Item : "+getitemname(.Item)+" | Amount : "+.Amount+" ]";
- }else{
- dispbottom "[ Invalid Setup ] : GuildName#ItemID#Amount";
- }
- }
- end;
- }
Add Comment
Please, Sign In to add comment