Requesting to edit this script.
Script gives permission to level 99 GMs to assign streamers, I just need a script that will give them supply everyday or every week. Pls see script i found.
Thank you in advance
- script STREAMER_SUPPLY FAKE_NPC,{
OnInit:
bindatcmd("registerStreamer", strnpcinfo(3) + "::OnRegisterStreamer", 99);
bindatcmd("unregisterStreamer", strnpcinfo(3) + "::OnUnregisterStreamer", 99);
end;
OnRegisterStreamer:
OnUnregisterStreamer:
if(.@atcmd_numparameters < 1)
dispbottom("Usage: " + .@atcmd_command$ + " <charname>");
.@switch = (.@atcmd_command$ == "@registerStreamer") ? 1 : 0;
charcommand("#set " + .@atcmd_parameters$[0] + " #STREAMER " + .@switch);
}
prontera,124,201,1 script Streamer Supplies 726,{
mes "[ Streamer Supplies ]";
mes "You are " + ((#STREAMER == 0) ? "no" : "an") + " Streamer!";
close;
}